On 08/10/2006, at 3:05 AM, Christopher Thompson wrote:
I agree with the premise, but I fail to see how Zend_Loader::load
('Class') or Zend_Registry::getInstanceOf('Class', $args) would not
do the same thing, but be a better separation of concerns.
This is where it gets totally subjective :)
Despite identical functionality, to me the name Zend_Loader seems a
bit awkward and implies less of a 'core' component, whereas simply
'Zend' does seem to be core and more naturally related to all
components within the framework. I would imagine that
Zend_Registry::getInstanceOf would call Zend::load to retrieve the
class, so they're not mutually exclusive.
--
Simon Mundy | Director | PEPTOLAB
""" " "" """""" "" "" """"""" " "" """"" " """"" " """""" "" "
202/258 Flinders Lane | Melbourne | Victoria | Australia | 3000
Voice +61 (0) 3 9654 4324 | Mobile 0438 046 061 | Fax +61 (0) 3 9654
4124
http://www.peptolab.com