Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-19-2008, 02:57 PM
Member
 
Join Date: Feb 2008
Posts: 48
Question ZendFramework Functionality?

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 08:14 PM
xentek's Avatar
Senior Member
 
Join Date: Feb 2008
Posts: 112
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 12:14 PM.