thank you so much for your detail explaination massimo.
top level in the module is it define (request = current.request) as a 
global variable on the module?
another question, is i read in the book :

Bytecode compile your app using admin.
even better - define functions in modules, import them and use those 
functions as needed.

i realize that the module i created they created module_name.pyc, is it 
same if i don't create the module, and then just compile my apps (so that i 
got the python compiled version file)? 
the funny things, if i use web2py source in linux i can see *.pyc in my 
compiled apps (in models, controllers), but in windows, it goes empty (in 
models, controllers). where did my file goes when i compile in windows? 
yet it still running after i compiled in windows (without python compiled 
*.pyc files in my models and controllers)

ref:
http://web2py.com/books/default/chapter/29/13/deployment-recipes#Efficiency-tricks

thanks and 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 (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/groups/opt_out.

Reply via email to