Friends,

   Looking in the cookbook, exits a sample code with the SQLAlchemy (
http://webpy.org/cookbook/sqlalchemy).

   What's the real advantage of using sqlachemy instead of db module ?

   Today, I'm organizing my codes in this way:
   
   code.py ->         Start point to my apps.
   controller.py ->  Here, I call the specifics render methods.
   render.py ->      Here, I have the memcached logic to get my objects 
from memory(cache) or get from model.py
   model.py ->       Here, I have the db.select(), db.insert() and etc.
   forms.py  ->       Forms used in my apps.

-- Leandro
   

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/webpy/-/gujEMZfQNKUJ.
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