[Solar-talk] Proposal: Remove namespace to Solar::loadClass()/factory()
Matt M.
goodieboy at gmail.com
Tue Nov 7 09:45:08 PST 2006
I thought about that too. There could be a static $_loaded_classes var?
- matt
On 11/7/06, Rodrigo Moraes <rodrigo.moraes at gmail.com> wrote:
>
> Indeed, I think class namespaces would be nice. My 'classes' config
> idea only makes sense to minimize changes in the existing code.
> Namespaces would work without requiring configuration for each class
> you want to override.
>
> I wonder, however, if namespaces would have a big performance impact
> in loadClass()? For example, I add 'Tipos' as my primary namespace but
> I really have just one class to be overriden - then every loadClass()
> call would check its existence before checking the Solar namespace.
> What do you think?
>
> rodrigo
> _______________________________________________
> solar-talk mailing list
> solar-talk at lists.solarphp.com
> http://mail.killersoft.com/mailman/listinfo/solar-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.killersoft.com/pipermail/solar-talk/attachments/20061107/52504967/attachment.htm
More information about the solar-talk
mailing list