Except that it is not for the framework to use -- it is for userland and separate specific classes would be better to use for that.

I disagree - Zend.php should be used as part of the coding standards for the sake of consistency and reusability.

A lot of the components use 'require_once' which would be better replaced with Zend::load(). Say - for example - in the distant future it was decided that the PEAR standard of underscores replacing directory separators was not such a good idea and a new scheme was chosen. We'd have to completely pull apart the framework to replace hardcoded require_once() calls with the new paths. But if we use Zend::load('Class') then there's only 1 place it needs updating. To my mind it follows the DRY principle very well and helps to create more readable, reliable code.

--

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


Reply via email to