Re: Schema-by-interface options
"Kapil Thangavelu" <k_vertigo-5YxZ1of64+Pk/[email protected]> Wed, 20 Sep 2006 15:18:23 -0700
| Newsgroups | gmane.comp.web.zope.plone.archetypes.devel |
|---|---|
| Organization | ObjectRealms, LLC |
| Message-ID | <[email protected]> |
i had a need for this and a bit more functionality for a client today and whipped up a ContentFlavors product. whats it do .. readme excerpt.. What are flavors? ----------------- are bits of behavior and schema that we can add to content at runtime. we can gain additional access to icons, actions, views, adapters, and at schemas via adding a flavor to a piece of content. A flavor is composed of a number of optional parts, typically an archetypes schemas to compose, marker interfaces to apply, some ui metadata and an icon. see the readme, zcml section, for complete definition. http://svn.objectrealms.net/view/public/Products.ContentFlavors/trunk/readme.txt?rev=1670&view=auto repo url https://svn.objectrealms.net/svn/public/Products.ContentFlavors/trunk/ cheers, kapil On Wed, 20 Sep 2006 11:15:51 -0700, Martin Aspeli <[email protected]> wrote: > Daniel Nouri wrote: >> George Lee wrote: >>> Daniel Nouri <daniel.nouri@...> writes: >>> >>>> Let's wait two more days to see if someone else comes up with good >>>> arguments against this. Otherwise I'd say it goes in. >>> Hi -- so is this going in? =) >> >> Sure > > I've got a first pass at it, which mostly works. I'm having trouble with > getting the tests to play nice (AT tests aren't very CA-aware, and I'm > doing something wrong with tear-down, I think), but whit already did > most of the heavy lifting (and me the rampant copying), so hopefully I > just need to revisit after some sleep. > > My time's been cut short this week, but I'll try to pick it up again at > the weekend. I'll check in what I have now, with failing tests. > > 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 > _______________________________________________ > Archetypes-devel mailing list > Archetypes-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/archetypes-devel ------------------------------------------------------------------------- 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