View Single Post
  #2 (permalink)  
Old 05-13-2008, 04:31 PM
kuba kuba is offline
Junior Member
 
Join Date: Mar 2008
Posts: 26
Default

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
Reply With Quote