[Solar-talk] The new model class discussion, some questions

Paul M Jones pmjones at ciaweb.net
Tue Feb 20 12:54:38 PST 2007


On Feb 20, 2007, at 3:55 AM, Rodrigo Moraes wrote:

>> Again, I am willing to revisit my design decisions so far and
>> converting to a record-based (not table based) model system based on
>> examples and discussion. Solar_Sql_Model is not set in stone just
>> yet.  :-)
>
> Thanks, Paul. You're very kind to hear us, even when it makes no
> sense. It's not the case, of course (I'm kidding, maybe it is). :)

Rodrigo, Andreas ... I haaate it when you're right.

I have been looking at how I *actually use* the Model class, and most  
of the time it's as an interface to a single record, or a collection  
of records, not as a table interface.  The only time it's table-like  
is when I'm going a fetch or count.

So I am going to attempt a new underlying design that takes into  
account the context-switching that Antti and I dislike so much and  
see if I can come up with something that has the best of both worlds.

Thanks so much for taking the time to work though it with me.  :-)


--

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