On Feb 21, 4:33 pm, "Jean M." <[email protected]> wrote: > Hello, > > I am a PHP developer interested in understanding the fundamentals of web2py > framework and after reading the book and the documentation, I have some > questions which I would very much appreciate to have answered. > > 1) Why (or "is") a VPS is necessary to host web2py Python web-apps? Can it > not run under any Linux shared web-host which has python installed?
web2py can run under shared hosts. The only issue is that each shared hosting is a little different therefore how depends on details. What web server do they provide? Do they provide mod_wsgi? Do they assign you a port? Do they allow long running processes? If they allow long running processes I'd suggest running web2py under your own account and configure their web server to act as proxy. > 2) Is web2py restrictive in any way? How broad is the freedom to define > custom routes, naming controllers, models and views? Can this happen > without sharing the same name? Not sure I understand the question. web2py does not impose any restriction on the number of apps. The models and controller must be valid python file names but you can use routes to map them into arbitrary URI paths. > > 3) What is web2py approach to configuration, settings and programming? CoC? > What do you think about it? What is CoC? Web2py has no configuration files except for the optional routes.py You use it when you do not want to use the default URLs. > 4) Is it possible to get web2py like PHP frameworks without installations? Web2py does not require installation. PHP does. Python does. Most system come with PHP and Python pre-installed but no web2py. You do not need to install it, you just need to download it somewhere. No need for root permission. > Do an unzip and have the folder structure to develop on without admin > interfaces and such? Again, I do not understanding the question. Anyway on any shared host you can do: wget http://web2py.com/examples/static/web2py_src.zip unzip web2py_src.zip cd web2py mkdir applications/myapp cp -r applications/welcome/* applications/myapp/ python web2py.py -a somepassword -i 0.0.0.0 -p 8888 & open http://yourhostname/myapp > 5) What would be deemed as good read for people from PHP background to > understand web2py's ways? try the above commands. Read chapter 3 of the book. Ask questions here. > Thank you

