Re: Mantissa Wiki Tutorial

[email protected] Sat, 23 Feb 2008 18:58:37 -0000
Newsgroups gmane.comp.python.quotient.dev
Message-ID <20080223185837.21558.1984766433.divmod.xquotient.6958@joule.divmod.com>
On 01:58 pm, [email protected] wrote:
>I've already ploughed ahead starting to develop my site in Nevow... =

>The blog sample from the Nevow examples has provided a good  reference. =

>But I'm finding now I'm developing my own  user accounts  (Axiom =

>items), using Nevow guard for login. Since Mantissa provides a  lot of =

>this, am I just reinventing the wheel?

If you're developing your own user accounts, you're doing more than =

reinventing Mantissa, you're reinventing axiom :).  Have you looked at =

the "axiom.userbase" module?
>If I added support for Axiom, then that would provide what I need - =

>users, roles, login, and a base for starting a web-app.

Mantissa does provide all that as well.  It may just be a matter of =

taste which one you'll use.
>I guess for the meantime I could also ignore the users and login =

>aspects... just use plain Nevow and create my Axiom items for site =

>content, populate the database with some sample data, and use =

>that.From here I could move to Mantissa or Starter.

That definitely seems like the best course of action regardless. =

Ideally, Mantissa would provide only the glue between your views and =

your models, and that code should easily migrate to plug in to a =

different framework as long as the basic underlying assumptions (mostly =

an Axiom database) are the same.