TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 10-29-2008, 08:47 PM   #1 (permalink)
The Prestige
Upcoming Programmer Inquisitive 
 
Tanax's Avatar
 
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
Tanax is on a distinguished road
Default Image gallery

Hi!

I'm interested in coding an image gallery. The features I haven't really decided yet, if you should be able to have like a calendar and put in pictures on dates(and ppl can register on your site and have their own "imagediary"), or have albums you put pictures in(either ppl can register and do the same, or.. it's an imagegallery just for the admin, for instance to display their artwork, or w.e).

But whatever. My question is, how can I start this project, to get a good core, and also how to create a nice permission system that allows me to let the admin decide first of all if users should be able to register and such. And then also have the users decide their permissions on their album/diary. For instance:
- Who can view your album
- Who can post comments on images
- Who can view your profile presentation / profile picture / contact information / etc...
- Who can post comments on your profile
- Who can send private message

ETC.

How would I achieve this in the best way?
If it's any useful information, I'm planning on using this as a MySQL based gallery.

Thanks in advance
Tanax
__________________
Tanax is offline  
Reply With Quote
Old 10-30-2008, 02:19 PM   #2 (permalink)
Wizard
Top Contributor 
 
Village Idiot's Avatar
 
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
Village Idiot is on a distinguished road
Default

My first step for projects is always to make a detailed list of features. After that I go though and look for the challenging ones, try to figure those out before you even start. After that, use your list as a guide to go by for what to do.

As for where to start, start with the lowest level features. What do most of the other, more complicated features require? I would guess that would be the basic DB design, user system and basic image storing methods.
__________________

Village Idiot is offline  
Reply With Quote
The Following 2 Users Say Thank You to Village Idiot For This Useful Post:
codefreek (10-30-2008), Tanax (10-30-2008)
Old 10-30-2008, 06:19 PM   #3 (permalink)
The Prestige
Upcoming Programmer Inquisitive 
 
Tanax's Avatar
 
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
Tanax is on a distinguished road
Default

Thanks! Yes, I know.. and I've created a list of features. Though I have no idea how to create a permission system that would allow the things I listed in my previous post(and some other features that I've though out since yesterday, but nevermind those ;P)
__________________
Tanax is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 09:47 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design