I too did a double-take when I first saw this concept when learning web2py 
some time ago.  I came from a TurboGears environment and the 
self-submission was new to me.  I didn't like it at first, but now couldn't 
image being required to do anything differently.  Really simplifies/lessens 
the coding and has a cleaner thought process.  ...at least in my opinion.

-Jim

On Thursday, June 19, 2014 8:30:15 AM UTC-5, Graham Ranson wrote:
>
> I'm new to python and web2py...I have a small, but non-trivial, web 
> application and was looking at the various python web frameworks and 
> decided 
> to look more closely at web2py and a couple of others and to write a 
> couple 
> of small example applications to see how they work... 
>
> I've had a quick read of the web2py book but I was a little surprised by 
> the 
> emphasis on self-submission/postbacks, it's not a technique that I would 
> choose myself. I was wondering whether there was anything in python or 
> web2py that make this technique particularly appropriate ? Being new to 
> python etc. I thought it worthwhile asking. 
>
> The application that I have in mind has a number of one to many and a few 
> many to many relationships and in a number of cases I will want to use a 
> combined form with both the 'one' and one or some of the 'many' (perhaps 
> on 
> a tabbed layout, or scrollable perhaps) almost certainly using Ajax to 
> deal 
> with the different parts of the page. 
>
> It is interesting to look at the different frameworks and see the 
> different 
> emphasis that each one has, and to see if that does have far-reaching 
> consequences, it's worthwhile spending a little time to try to make the 
> right choice. 
>
> thanks 
>
> graham 
>
>
>

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to