[Solar-talk] Forseeing Model doubts

Rodrigo Moraes rodrigo.moraes at gmail.com
Wed Jun 20 07:05:09 PDT 2007


Hi,
Antti discovered yesterday an intriguing Solar_Sql_Model problem:

    http://solarphp.com/trac/ticket/81

Basically it's a method which needs a 'record' focus called within a
'master' focus. I haven't noticed it before because I never used eager
loading of related data.

Anyway, I commented with him that there will be probably two main
sources of doubts related to the new model, when it arrives:

   1. setup relationships
   2. deal with focus

For the first, we can help dropping on the wiki some examples of how
to setup common database schemas.

The later also deserves a page with some tricks to get the best from
the model: methods that can be used by records or not and others that
are exclusive; when and how you can save and when/why you can't
sometimes, etc.

So everybody is invited since now to drop an small example in the wiki
when the first model doubts have been solved. :)

Thanks!

-- rodrigo


More information about the solar-talk mailing list