I don't know rails at all, and actually I don't even like to compare frameworks, but with flexible and easier I meant something like (rails): "render layout: false". In a talk I attended I remember that symfony has something very similar as well. Given that, I know they are completely different frameworks but personally I don't know how to simply solve the example proposed in a cleaner way.
Paolo 2013/8/27 Anthony <abasta...@gmail.com> > > The first approach is difficult to maintain, the example is very simple, >> the chain can be arbitrary long. The second one doesn't compile, and >> empty.html is very ugly. I am wondering if could be possible to have extend >> and include more flexible and easier. >> > > What exactly do you envision? What do you mean by "more flexible and > easier"? > > Note, rather than nesting lots of separate views, you might consider using > Python logic within a given view. You could also have relatively simple > request return rendered results directly rather than passing data to a view > (if you return a string or HTML helper object, you don't need a view). > > Anthony > > -- > > --- > You received this message because you are subscribed to a topic in the > Google Groups "web2py-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/web2py/NhgqZlbu8L8/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > -- --- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.