Hi, Am Donnerstag, den 24.01.2008, 17:30 -0800 schrieb Ralph Schindler: [...] > I have a +1 on making _Abstract a coding standard (as well as _Interface > ;) )
I think it should at least be partially considered that PHP 5.3
introduces real namespacing. Hopefully ZF will switch to namespaces
sometimes, which would require changing all the ::Abstract
and ::Interface-bits to something completely different. "Interface" and
"Abstract" are reserved keywords and therefore "class Abstract {}" does
not work. But with namespaces it would be "namespace Zend::Controller;
class Abstract {}" which just throws an syntax error (I know, there is a
patch flying around but there are some performance concerns regarding
parser speed when allowing "Abstract" and "Interface" as a class name).
So I would propose to find a scheme which will be easily portable to
native namespaces. Something like Zend_Controller_AbstractAction is much
nicer anyway and will then - someday - easily work as
Zend::Controller::AbstractAction :-)
cu, Lars
--
»Die Glorifizierung der prächtigen underdogs läuft auf
die des prächtigen Systems heraus, das sie dazu macht.«
-- Theodor W. Adorno, »Minima Moralia«: They, the people
Lars Strojny
Nießenstr. 36
51103 Cologne
Jabber/Mail: [EMAIL PROTECTED]
Weblog: http://usrportage.de
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
