Hello crowd!

I'm relatively new to web2py and being impressed with its feature set
to build our intranet apps I am currently through my way into reading
docs. However some major questions to common functionality we
currently use popped up which I could not find answers to in
documentation, it would be really nice to get those here:

1. How do we configure common settings (mail, auth, sessions, db
connection) and share theme across all apps as per DRY principle?
Basically I want to use the same mail, db, auth (active directory) and
session (not mandatory though) across all apps.
2. How do we use one common layout file for all apps? Is it possible
to define a custom placeholder for templates? This is very important
as we should not repeat ourselves with copying basic common layout,
css and images into all apps. That would result in maintenance
nightmare. I read somewhere it was suggested to use symlinks, but it
kinda breaks the point of compiled templates.
3. What is the best way to create something like front controller? It
should include common functions for all other controllers in all apps.
4. What are the alternatives to scopes (Rails) or custom model
managers (Django) and model callbacks/observers (Rails) or signals
(Django)?
5. What is the best place to define view helpers and how to pass them
to views?

And last, is Py3k compatible version under works or planned?

Thanks a lot!

Reply via email to