Re: [Zope-CMF] Re: Member tools refactoring (Was: Better MemberData search
Miles Waller wrote:
AFAICS, CMFMember covers two sets of requirements:
- put members through a workflow
Very useful.
- use archetypes to configure member objects which behave like normal > zope objects
I'm not familiar enough with archetypes to tell what the actual benefits of this is. Could someone summarize?
On Mon, Nov 03, 2003 at 01:38:12PM +0100, Lennart Regebro wrote: | Miles Waller wrote: | > AFAICS, CMFMember covers two sets of requirements: | > | > - put members through a workflow | | Very useful. | | > - use archetypes to configure member objects which behave like | normal > zope objects | | I'm not familiar enough with archetypes to tell what the actual benefits | of this is. Could someone summarize? One of the benefits is to be able to plug your own storage layer. There is a SQLStorage layer provided by default. There are other benefits as well. Read: http://zopemag.com/Issue006/Section_Articles/article_IntroToArchteypes.html -- Sidnei da Silva <sidnei@awkly.org> dreamcatching :: making your dreams come true http://awkly.org Those who don't understand Linux are doomed to reinvent it, poorly. -- unidentified source
Sidnei da Silva wrote:
One of the benefits is to be able to plug your own storage layer. There is a SQLStorage layer provided by default.
As I understand it, this would be useful if you want one field from an SQL server and one from LAP, for example, but not if you want one user from LDAP and one from SQL, right? Or could this be done with Archetypes too, somehow?
On Mon, Nov 03, 2003 at 02:21:51PM +0100, Lennart Regebro wrote: | Sidnei da Silva wrote: | > One of the benefits is to be able to plug your own storage | > layer. There is a SQLStorage layer provided by default. | | As I understand it, this would be useful if you want one field from an | SQL server and one from LAP, for example, but not if you want one user | from LDAP and one from SQL, right? Right. | Or could this be done with Archetypes too, somehow? Well, if you can have two different User classes, then yes. -- Sidnei da Silva <sidnei@awkly.org> dreamcatching :: making your dreams come true http://awkly.org Don't compare floating point numbers solely for equality.
Sidnei da Silva wrote:
On Mon, Nov 03, 2003 at 02:21:51PM +0100, Lennart Regebro wrote: | Or could this be done with Archetypes too, somehow?
Well, if you can have two different User classes, then yes.
Well, I guess that in conjunction with a "property computing" functionality as the one I mentioned before that might be enough. Setting up several different "directories" each with it's own user type might work... But I have a headache today, so I'm not gonna ponder this any longer. :)
participants (2)
-
Lennart Regebro -
Sidnei da Silva