[Zope-CMF] DBMS back-end for CMF?
Tres Seaver
tseaver@zope.com
17 Apr 2002 18:45:03 -0400
On Wed, 2002-04-17 at 15:13, Tim Lavoie wrote:
> Hi there,
>
> I've been using Zope for a while, but am quite new to CMF. We're
> hoping to make some use of it for a client, but would like to keep
> quite a bit of their data in a PostgreSQL database.
>
> I have an exUserFolder set to use the database for authentication, and
> can sign up within CMF to create a new entry there. However, what I'd
> like to do is to have CMF properties for a member stored there as
> well. While CMF would probably do fine in its normal usage, we want to
> be able to use other back-end tools to process client data later, so
> would prefer to have it outside of ZODB for the most part.
>
> Is this a reasonable thing for CMF?
Yes. The CMF's "tools" are intended to be replaceable; in your case,
you want to replace the 'portal_memberdata' tool with one which reads
and writes member properties via SQL. The interface for the tool is
defined in:
http://cvs.zope.org/CMF/CMFCore/interfaces/portal_memberdata.py
Tres.
--
===============================================================
Tres Seaver tseaver@zope.com
Zope Corporation "Zope Dealers" http://www.zope.com