Re: Mantissa Wiki Tutorial

Robert Gravina <[email protected]> Sun, 24 Feb 2008 13:46:54 +0900
Newsgroups gmane.comp.python.quotient.dev
Message-ID <[email protected]>
On Feb 24, 2008, at 3:58 AM, [email protected] wrote:

>
> 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?

Wow.. I had no idea that that was there. I assume this is what  
axiomatic uses. Looks great, the tests show how to use it, so I'll  
use those for reference.

>> 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.

Great. I'll probably have it at that stage about the same time as the  
Mantissa Community Release :).

Robert