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.