Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

CodeSnipers.com:
Stupidly Easy MVC - Group Membership Application (Part 2)
Mar 08, 2006 @ 13:00:10

On CodeSnipers.com, part two of their "stupidly easy MVC" series, this time focusing on the creation of a group membership application building on the previous "club site" creation.

This is part two of an example of using my Stupid Easy MVC framework in PHP. In this example we will talk about the how to use the Model. Originally I thought I might make the Directory a separate controller, but at this point I decided not to. I have some more ideas that I haven't quite worked out yet for extending this even to be more like the Rails framework for Ruby (again I do not expect to totally implement RoR, spare the language wars please!).

They start this part with building out the controller to handle the member requests. Following that, a model is created to get the Directory information (the people in the group). There's not much more than that to this part, but the source for the application is provided to give you more details on the SQL structure and the like.

tagged: easy mvc model view controller group membership easy mvc model view controller group membership

Link:


Trending Topics: