MVC approach in PHP Development
View Single Post
12-10-2009, 01:18 PM
Join Date: Sep 2007
Location: Sweden, Stockholm
Originally Posted by
- Controllers use models to interact with the database
Not really. They don't need to use models to interact with the database. Otherwise you wouldn't be able to access the database from the controllers. Besides, models can be used for a number of other things, not only database handling.
However, models are most often used to interact with the database. It's just not limited to it.
View Public Profile
Send a private message to Tanax
Visit Tanax's homepage!
Find More Posts by Tanax