El vie, 16-03-2007 a las 13:48 -0500, Justizin escribió:
> > >  from Products.CMFCore.utils import getToolByName
> > >
> > >  def __init__(self, request, base_url, view_url, items, ...):
> > >     self.request = request
> > >     self.context = None
> >
> > This specific usage is
> >
> 
> (apparently boring to complete a sentence about)
> 
> ehm, this specific usage is deprecated, though notes wrt. request
> object and others are important.  The new usage which looks up tools
> as z3 utilities by interface could potentially be portable to another
> environment.  In Zope we have persistent tool objects with utility
> code, but in another environment you could replace
> 
> You need to understand that Zope is a paradigm shift, and that that
> "context" is specifically what makes it worlds different from J2EE.
> It's like .. J2EE .. NG .. or something.  With a Z instead of a J and
> a 3 instead of a 2 and no E's and like.. a silent "NG". ;)
> 
> To say that you don't like Zope beause it is based on the same Design
> Patterns as J2EE is sort of like saying that, say, GNU/Linux is no
> better than Windows because they both contain binary executable code.
> ;)

There is a "pattern" over the rest: simplicity and legibility of systems

J2EE and Zope 3 are not simples ;-)

To have to read 6 or 7 ZCML for finding the answer is not the way.


-- 
Manuel Saelices
[EMAIL PROTECTED]

ICS Yaco S.L.
http://www.yaco.es/
C/ Sierpes 48, 41004 Sevilla
Teléfono +34 954 50 00 57
Fax      +34 954 50 09 29




_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to