durusmail: quixote-users: User Account/Session Management
User Account/Session Management
User Account/Session Management
Neil Schemenauer
2003-07-15
On Mon, Jul 14, 2003 at 09:52:23PM -0500, Nathan R. Yergler wrote:
> I'm concurrently working on two applications both of which will need
> the ability for users to create accounts and log in to those accounts.
> Has anyone developed some boilerplate code for this sort of pattern?

You might look at the Dulcinea package on the MEMS Exchange.  It
includes a User and UserDatabase class as well as an implementation of
persistent sessions.  Dulcinea is meant to be used with ZODB but even if
you are using another DB the code may be instructive.  Unfortunately
Dulcinea does not yet contain any UI code for registration and sign in.

> Is this planned for future versions?

I'm not sure if Quixote is the right place for that functionality.  It
would probably be better in an add-on library like Dulcinea.  Eg,
someone might want to write something like Dulcinea for relational
databases.

  Neil

reply