[Solar-talk] new to solar

Travis Swicegood development at domain51.com
Thu Nov 2 07:48:53 PST 2006


Rodrigo Moraes wrote:
> On 11/2/06, s_m_t at libero.it wrote:
>   
>> I'm new to solar, and love it by the first sight,
>> but I'm missing how the M in MVC is implemented and how it works... can you give me a little clue and point me to the right docs?
>> a simple application to inspect is also useful.
>>     
>
> Hi,
> I'm afraid there are not specific docs for this subject, but here are
> some clues:
> - Solar has a generic set of database tables (areas, nodes, tags) to
> be used by models. A working example is in the Bookmarks app bundled
> with Solar.
> - 'Models' are, in this implementation, an object that carries the
> table scheme definition and helper methods to manipulate the tables -
> Solar_Model_Areas, Solar_Model_Nodes, Solar_Model_Tags.
> - Solar_Content_Abstract deals with these specific models.
> Solar_Content_Bookmarks is a example.
>
> It's very "table-centric", but ready for use.
>   

To quote Paul, they would be called Table Modules and the logic that 
you'd see in a lot of Models happens in the Solar_Content classes which 
are Domain Models.


> I observe some users working to add some flexibility to the model
> scheme. 
>   

Look for one that includes a new take on Controllers and Models in the 
next week or so (hopefully) :-) 

-T


More information about the solar-talk mailing list