Re: Obj. creation & portal_factory in AT1.5 & Plone 3 and onwards?

Martin Aspeli <[email protected]> Mon, 04 Dec 2006 21:32:31 +0000
Newsgroups gmane.comp.web.zope.plone.devel,gmane.comp.web.zope.plone.archetypes.devel
Message-ID <[email protected]>
Petri Savolainen wrote:
> (note: cross-posted to both AT- & Plone-dev)
> 
> Hello,
> 
> are there any plans to switch to a "normal" object creation mechanism, 
> ie. one that would not require precreation of objects, whether directly 
> in ZODB or temporarily in REQUEST by portal_factory? I remember reading 
> something about this in the past - does the "Fate" project address the 
> issue?
> 
> Upon superficial check, I did not find any hints of any major changes 
> related to this, neither in Plone trunk (=3.0) nor AT trunk (=1.5) ...?

Not really; it's very incompatible with how CMF and Archetypes work, and 
smart people have tried. Fate does temporary object creation as well, as 
far as I know.

The answer is to adopt Zope 3 content types, which have proper add 
forms, but this evolution is gradual. At present, CMF makes no 
allowances for Zope 3 content types, but it probably will in time.

Martin


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV