I've been pondering the best way to create sites with rich pages that
contain lots of "applets" or "tasklets".  It seems limiting to have
the entire page tied to a single Python function.  Maintaining the
site could be problematic if everything funnels through one
"controller" function.

Then I wondered about the structure of the layout files.  I like the
"extend" and "include" functionality.  I imagine I could create a tree
of html files --- one for each applet div, for example, with
layout.html at the root.  Perhaps a "news" area and a "calandar" area
in addition to the main body, for example.

Each functional block could be represented by a file such as
"news.html" and "calandar.html" included into layout.html.  The
controller for each would then extend its own html file instead of the
top-level "layout.html" file.

Is there a still better way to organize a busy site?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to