[web2py] Re: Question about basic concept of controllers

2013-09-13 Thread Andreas Wienes
Okay good to know. Thanks! Am Freitag, 13. September 2013 14:34:33 UTC+2 schrieb Anthony: > > Also, note that one advantage of having a "default" controller (which > doesn't necessarily have to be named default.py) is that you can use the > URL rewrite system to exclude that controller name from

[web2py] Re: Question about basic concept of controllers

2013-09-13 Thread Anthony
Also, note that one advantage of having a "default" controller (which doesn't necessarily have to be named default.py) is that you can use the URL rewrite system to exclude that controller name from URLs, making your URLs a little shorter/cleaner. You can also exclude a default function within

[web2py] Re: Question about basic concept of controllers

2013-09-13 Thread Andreas Wienes
Thanks, that answers my question. Am Freitag, 13. September 2013 14:14:17 UTC+2 schrieb Niphlod: > > a controller is just a file. That file holds every function that > "generate" a page. > That being said, it's just how you lay out your url-scheme that usually > decides what controller to use: >

[web2py] Re: Question about basic concept of controllers

2013-09-13 Thread Niphlod
a controller is just a file. That file holds every function that "generate" a page. That being said, it's just how you lay out your url-scheme that usually decides what controller to use: /appname/controllername/functioname in the end is the url where to retrieve the infos. On Friday, Septembe