> > Now I really like the RealPython book because the author explains it to me
and I 'just get it' but when it comes to reading the web2py manual.. I just > don't get it > for example why does everything always get defined with a return dict() > after it.. > Have you gone through the Introduction and Overview chapters and the first few sections of The Core chapter? In particular, look at the sections on MVC<http://web2py.com/books/default/chapter/29/01#Model-View-Controller>and Workflow <http://web2py.com/books/default/chapter/29/04#Workflow>. When a function returns a dictionary, web2py will then look for an associated view file and execute the view in an environment with the items in the dictionary available as global variables. Returning an empty dict() is just a way to get web2py to execute the associated view, even if you don't want to return any items to add to that global environment. You might also check out http://killer-web-development.com and http://www.youtube.com/playlist?list=PL5E2E223FE3777851. Anthony -- --- 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.

