> > 2. the web2py modules is like python modules, it automatically compile it, > so you will got *pyc for every module you create in here, and i think it > will increaase the performance in byte compile rather in script. >
Note, if you use admin to compile the application, you get the same benefit for models, controllers, and views as you do for bytecode compiled modules. > just a suggestion if you want to create function that can't be execute or > retrieve via browser (people can't see the return value) i think, it's > better to put the __ in the function name. > e.g. > def __check_purchase_status(): > Yes, this is true. Also, any function in a controller that takes arguments will not be accessible via URL, for example: def foo(bar): ... Anthony -- 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.