Hi

I am new to web development but have been trying my hands at various python 
frameworks and web2py looks very good. Now my problem is that there is an 
existing web application based on CakePHP and MySQL. While that application is 
complete in itself, the plan is to write an android application that will also 
interact with the same DB through an exposed API using JSON as the protocol 
medium. Since I am not a PHP developer, I will like to use Python for doing 
that API interface and Web2py seems like a good choice to do it. But before I 
dive in there are some questions I have in mind:

1. Can I use web2py to connect to the existing DB? Is there any automated way 
of creating the model classes from existing DB tables? Any specific things to 
keep in mind?

2. Will it create any problems with a CakePHP based web application and an 
android application using a web2py based API to do CRUD on the same Mysql DB? 

3. Can both be hosted on the same apache server? Is the built-in rocket based 
webserver in web2py good for production deployment or only for internal 
development and testing? Since the Web2py app will only be exposing a JSON 
based API I can always have it served on a different port.


---
Take care,
Pankaj

Reply via email to