[Solar-talk] Solar_View questions

Paul M Jones pmjones at solarphp.com
Sun Jul 16 18:22:19 PDT 2006


(Catching up on back-email.)

> Right after I've sent the other email, I've moved to Savant and
> minutes before I've moved back to Solar_View, because of the helpers
> and the integration with other Solar parts I want to use (User, Auth,
> Role, Locales). Also the adherence to the Pear naming convention makes
> a big difference and is more consistent to me since I'm also using
> Pear, besides Solar and ZF. ;)

This sounds like a good mix.  :-)


>> <promotion class="shameless self">Solar has a lot more of what you
>> need to get off the ground in a web app than Zend does at this point:
>> authentication, roles, access control, form builder, etc.  The
>> Solar_View form helper, for example, lets you take a Solar_Form
>> object and output a form in one step:  echo $this->form
>> ($solar_form_object). The integration of the classes helps with this
>> a great deal.</promotion>
>
> You are right, clearly Solar is more well structured as a system and
> it teachs a lot about how to organize a base that can be shared by
> many different apps. What interest me most in ZF are the
> controller/router and the database layer,

(Side note: the Zend_Db class started as a direct port of Solar_Sql;  
it has since been modified a great deal, but anything you like about  
Zend_Db is sure to be there in Solar_Sql, perhaps in a more-pure  
implementation.)

> and of course the "pick what
> you want idea" that makes easy to get started, but the way Solar is
> well tied is more what I am looking for. Here is my challenge, to pick
> the best of both. Right now I have a MyLibrary_Auth_Adapter_ZendDb to
> use with Solar_Auth and this framework mix is starting to become
> funny. :)

Ha!

Still, it's good to know that the adapter system is working as  
intended, so that you can tie in new sources for authentication as  
needed.



--

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