+ 1. This is something I would like to have - makes it easier to create custom layouts. The separate "layout components" are defined the way you mention, with the out-of-the-box layout.html being a good example that combines all of them to good effect.

________________________________________
Kiran Subbaraman
http://subbaraman.wordpress.com/about/

On 11/10/2013 12:22 AM, JoeCodeswell wrote:
Dear web2py Forum,

Often i find myself making View pages that are NOT derived from layout.html and yet wanting to include *some *aspects of its capabilities.

I thought the web2py "Component" concept might help to deliver a modular approach.

My initial thoughts would be to pair small CSS files and HTML *Component definitions* for the following:

  * menu
  * login/register
  * left sidebar
  * right sidebar
  * footer
  * ajax
  * flash response
  * mobile
  * responsive

while maintaining a *list of dependencies *among them.

Has anyone thought about this granular approach before?

I would *not *want to use *a Wizard* for this, because in my experience, the generated code is unfamiliar to me and difficult to customize.

Thanks for a GREAT framework.

Love and peace,

Joe

--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- You received this message because you are subscribed to the Google Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to