[Solar-talk] Where to save the models and where is the Model documentation?
Stuardo -StR- Rodríguez
str at strgt.cjb.net
Tue Jul 4 15:27:43 PDT 2006
Ok, I understand that in a MVC system, the Model is the Data-Layer, right?
It should abstract the database communication, am I right?
Ok, I'm trying to write a DevelSystems_App_CMS to start learning Solar
I understand that the DevelSystem/App/CMS.php is the controller in the MVC,
the Views are inside DevelSystems/App/CMS/View, but where are the models for
this app?
My DB is only 1 single table
pages (id, parent, en_name, en_body, es_name, es_body) So, I would like a
Model to access the pages and create a menu wit all childs... but I do not
undersand where to create it and how to start it (what class should it extend
from)
Thanks for the help
More information about the solar-talk
mailing list