Hello my friends,

   In the last month, I have studied the wonderful web.py, really its
simplicity and ease is fascinating. I have to confess: I'm in love
with it.

   Well, in my company we make many websites with 'admin module' and
so far we have used Django for this. The power and simplicity of this
feature is amazing. Then this thread is for exchange ideas on how to
implement an 'admin' style Django/Turbogears.

   My real objective is create a generic/pluggable admin app, where
this application would make an introspection into a model.py file(this
is the start point of my admin app) and generate a controller and the
forms from this model.py, like Django/Turbogears.

  As the first step I think is separate my app in a real MVC style,
where I can have this structure:

[appadmin]
code.py (Controller)
    view.py (View)
    form.py (View)
        model.py (Model)

 As the second step I think is auto-generate(by introspection in the
model.py) the form.py, view.py and code.py. Really, I don't know how
to do this, but I see a view.py as this example.

[view.py]
class mytable:
     def create(self, myform):
     def update(self,myform):
     def delete(self, id):
     def get(self,**kwargs):

Two inevitable question:
   1. anyone here the group has done something similar? If not, there
is interest in developing this app?
   2. this could not be a feature of web.py?

Well, any suggestions, criticism or hint/tip will be very important,
because I think this might be useful for others web.py users.

thanks for any help.

best regards,
-- Leandro.





-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to