
05-13-2008, 04:31 PM
|
|
Junior Member
|
|
Join Date: Mar 2008
Posts: 26
|
|
Quote:
The Model part, in a PHP app, would usually be a class (or multiple classes). Fairly often, the class is a representation of a table you store in the database — member variables are the data columns, and member methods are operations that can be done. As an example, you might have a User class, having variables such as username, password, email address, and other things. Some of its methods might be a new user creation function, a login function, an authentication function, and a logout function.
(...) The Model, in essence, tells you what methods are available — what can you do to the data in the database.
|
from: agum MVC architecture in PHP development
In ZF component "responsible" for Model is Zend_Db_Table. 
Read more on manual :P
|