[web2py] Re: auto compiled like in django

2013-11-18 Thread 黄祥
very straight to the point, it's make me clear now, thank you so much for detail explaination, anthony. best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list

[web2py] Re: auto compiled like in django

2013-11-17 Thread Anthony
On Sunday, November 17, 2013 8:24:56 PM UTC-5, 黄祥 wrote: > > On Sunday, November 17, 2013 9:37:31 PM UTC+7, Anthony wrote: >> >> Python will create a .pyc file for any module (same for modules in >> web2py). However, unlike in Django, web2py model and controller files are >> not Python modules. >

[web2py] Re: auto compiled like in django

2013-11-17 Thread 黄祥
On Sunday, November 17, 2013 9:37:31 PM UTC+7, Anthony wrote: > > Python will create a .pyc file for any module (same for modules in > web2py). However, unlike in Django, web2py model and controller files are > not Python modules. > so that's the reason, why only in modules folder, web2py autom

[web2py] Re: auto compiled like in django

2013-11-17 Thread Anthony
Python will create a .pyc file for any module (same for modules in web2py). However, unlike in Django, web2py model and controller files are not Python modules. Instead, they are executed by the framework. The advantage is that changes are active immediately, without needing to restart the web s