[web2py] Re: Remote Interfacing with Web2Py

2011-06-27 Thread Arnon Marcus
Hi Massimo, 10x for replying so fast! BTW, I agree with Jason, you ARE awesome! :) Web2Py is a god-sent... However, I did't understand some of the options you suggested. Mainly I need a more accurate definition of them term "your code". My classifications is three-fold: 1. The web2py-application 2

Re: [web2py] Re: Remote Interfacing with Web2Py

2011-06-26 Thread Jason Brower
Massimo is right and I support him. No exec unless ABSOLUTELY needed, and I mean it. :P Running the web2py as a service does a good job. From what you say, you could do as massimo says and create a service to handle that special communication. Basically, I am just seconding Massimo cause he is

[web2py] Re: Remote Interfacing with Web2Py

2011-06-26 Thread Massimo Di Pierro
Please do not use exec_environment. Can you tell us more what kind of interface you need? What is the purpose? There are various way to interface and which one you use depend on the purpose: 1) web2py.py -S app -M -N -R yourcode.py 2) >From your code db = DAL(...,path='/path/to/db',auto_import=T