[Solar-talk] Forseeing Model doubts

Paul M Jones pmjones at ciaweb.net
Wed Jun 20 07:51:50 PDT 2007


On Jun 20, 2007, at 9:05 AM, Rodrigo Moraes wrote:

> 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.

Yeah, saw that come through (yesterday?) and will check up on it.  As  
we've noticed, development on the new Model has stalled; as usual,  
this is because Paying Work demands almost all my attention lately.   
Sorry to be so slow on it, guys.


> 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.

I think this is a wonderful idea; thank you, Rodrigo, for taking the  
initiative to propose this.  :-)




--

Paul M. Jones  <http://paul-m-jones.com>

Solar: Simple Object Library and Application Repository
for PHP5.  <http://solarphp.com>

Join the Solar community wiki!  <http://solarphp.org>

Savant: The simple, elegant, and powerful solution for
templates in PHP.  <http://phpsavant.com>




More information about the solar-talk mailing list