I am developing a C++ application, which is basically a trading engine. The trading engine will have two front-ends, a Qt C++ based application running on a desktop and a web application.
Architecturally, I think it makes sense to have a layer REST API built on the top of a C++ engine, and then Qt C++ application and web application accessing this common API. I am looking for a Python web framework which can do the following:
- Create REST APIs
- Handle Authentication
- Make lookups from the database and occasional UPDATE/INSERTs (I’m not sure if I need an ORM)
- Low learning curve (and has good documentation)
- Can call C++ code (I’m hoping it would be simple to do this with Boost::python)
- Can scale horizontally
Updated: added scaling and documentation part
This isn’t documented in the online book yet, but web2py has recently added some functionality for creating RESTful APIs. web2py is also very easy to learn, and should be able to meet your other requirements as well. If you need help/advice, ask on the mailing list.