PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Sun Dec 08, 2019 7:56 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed Feb 22, 2012 2:06 pm 
Offline
Forum Commoner

Joined: Wed Dec 14, 2011 1:17 pm
Posts: 36
To learn PHP I have chosen to develop a Cricket League website. The main functions of the website will be
Add/Modify/Delete
Season
Teams
Players for each team
Schedule of Games
Scores for each game

Statistics
Team level (Total scores, wickets for each team per game)
Player level (Bowling, Batting, Fielding)

Permissions
League Admins (Add/Modify/Delete seasons and teams)
Team Admins (Add/Modify/Delete players and scores for respective teams)
Players (Each player will be able to modify only his personal profile)

I plan to use few tables like users and roles with a reference table like UserRoles to manage permissions. Should I be implementing the permissions piece in the end after all the other pieces are done?

I started half way but then go confused as to if I should do all the "add" modules first or start from a hierarchical level, eg. Seasons (add/modify/delete), Teams (add/modify/delete), etc.

What would be the best approach from a beginner's point of view to start this?

Please advise.


Top
 Profile  
 
PostPosted: Sun Mar 11, 2012 4:40 pm 
Offline
DevNet Master
User avatar

Joined: Sun Feb 15, 2009 12:08 pm
Posts: 2794
Location: .za

_________________
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering


Top
 Profile  
 
PostPosted: Mon Mar 12, 2012 9:40 am 
Offline
Forum Commoner

Joined: Wed Dec 14, 2011 1:17 pm
Posts: 36
Thanks social_experiment. I have created the users and roles tables but was going to add the code later. I won't need to be very granular and have permissions setup. Too much for my need right now so the access will be at page level.. Eg. League Admin will only be able to CRUD Seasons and Teams. Team Admin will only RU Teams and CRUD players, but not CRUD Seasons or CD Teams.. etc.

I have been taking time and planning as much as I can.. but again once I start coding.. it will be agile way ;)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group