|
|||
|
Hai all,
I am doing one book management process using ZFwork. I dont understand the full looping of this Framework. Can anyone give me some idea on this to do this application.? I just done the folder structure. Created Book Controllers with different functions(addAction, editAction, deleteAction, updateAction) like that. I dont know whether i am doing this in a proper way or not.? Can anyone tell me where i have to keep the models and whats the content of that model.? Thanks in advance. Mugesh. |
|
||||
|
Model classes extend Zend_DB and all data accessing should be done here.
The Controller will use the methods (functions) you create in your model file to get the data it needs to perform its logic on. The view (html) files will be used to display the result to the user. This is a standard design pattern, so if you are having your trouble getting your head around it, maybe a little background research is needed... start here: Model-view-controller - Wikipedia, the free encyclopedia |
![]() |
| Thread Tools | |
| Display Modes | |
|
|