use of Base* classes

0 views
Skip to first unread message

pingooo

unread,
Nov 11, 2010, 11:26:14 AM11/11/10
to Google App Engine Oil
Hi,

I'm converting an existing App Engine application to GAEO because it
is getting too complicated to manage without a MVC framework or such.
Since I'm a newbie to GAEO, I'd appreciate any hints that you may give
me.

To start, I see that the gaeogen.py is dropped in the latest source
tree. Does that mean I don't need to inherit BaseModel and
BaseController classes?

Another question is, what functionalities do
Base{Model,Controller,View} classes provide? I failed to find them in
the online documents.

Thanks,
pingooo

Eric Shangkuan

unread,
Nov 11, 2010, 1:28:51 PM11/11/10
to google-app...@googlegroups.com
The newer version of GAEO uses 'gaeo.controller.Controller' as the base controller class. The gaeogen.py hasn't been updated yet. I'll update it soon.

Sent from my iPhone

> --
> You received this message because you are subscribed to the Google Groups "Google App Engine Oil" group.
> To post to this group, send email to google-app...@googlegroups.com.
> To unsubscribe from this group, send email to google-app-engin...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-app-engine-oil?hl=en.
>

pingooo

unread,
Nov 12, 2010, 10:08:10 AM11/12/10
to google-app...@googlegroups.com
I see. That sounds like the source codes that I've written based on the skeleton generated with gaeogen.py of 0.3 needs to be migrated to the new architecture. Any advises on the best way of doing that? Thanks!

2010/11/12 Eric Shangkuan <eri...@gmail.com>

Eric Shangkuan

unread,
Nov 15, 2010, 7:48:25 AM11/15/10
to google-app...@googlegroups.com
I think that all you have to do is to modify the name of parent class
(and view/template directory)

--
Eric Shangkuan (上官林傑)
http://ericsk.org/

Reply all
Reply to author
Forward
0 new messages