[Solar-talk] Solar_Struct
Paul M Jones
pmjones at solarphp.com
Thu Jul 20 09:00:03 PDT 2006
Hi Rodrigo,
On Jul 19, 2006, at 7:51 PM, Rodrigo Moraes wrote:
> A comment related to Solar_Strut - when I was working with
> Zend_Db_Table I've extended it and created methods to transform their
> results into arrays.
I wrote those original Zend classes; this is actually my second try
at a Row/Rowset implementation. I didn't like the Zend work myself
that much, but the feedback at the time was good, so we left them
alone. Now that I've quit, I don't expect Zend to change that code
too much, which is unfortunate.
In truth, Struct is a refactoring of array/object notation code in
Solar_Sql_Row/Rowset to a generic class. Its original use was only
for Row/Rowset; while not a complete replacement for arrays, I think
Struct serves its limited purposes quite well.
> Great new release (fast, and a lot of new code!). Thanks.
Ah, thank you. Please let me know if you have any problems.
--
Paul M. Jones <http://paul-m-jones.com>
Solar: Simple Object Library and Application Repository
for PHP5. <http://solarphp.com>
Savant: The simple, elegant, and powerful solution for
templates in PHP. <http://phpsavant.com>
More information about the solar-talk
mailing list