[Solar-talk] Move Solar.php to Solar/Solar.php ?

Travis Swicegood development at domain51.com
Thu Sep 6 07:45:58 CDT 2007


On Sep 5, 2007, at 6:50 PM, Clay Loveless wrote:

>
> On Sep 5, 2007, at 4:21 PM, Paul M Jones wrote:
>
>> On initial consideration, I'm not sure that we *can* get rid of  
>> it.  Solar::factory() and Solar::dependency() and Solar::registry 
>> (), for example, are key underpinnings.  Having to type a longer  
>> prefix class-name would be a bit  of a hassle.  (Yes, I know that  
>> "more to type" is not a good reason, but still.)
>
> Yeah, that would be a bit irritating ... but the benefits of being  
> able to more easily unit test a base class that didn't rely on  
> static methods might outweigh the burden of extra typing.

That sounds like something I might have said... ;-)


As far as typing Solar_Framework::factory(), would you actually be  
doing that if you're relying on autoload code?

-Travis


More information about the Solar-talk mailing list