Redhorse, Olivia J. (WSTF-RD)[JTI] schrieb:
> I have been searching for Python web frameworks and ran across Webware
> for Python. I have a couple of questions.
> Does Webware for Python work with Oracle Rdb (
> <http://www.oracle.com/technology/products/rdb/index.html> )?
> Can I use Webware for Python to create a Python web application in the
> Model-View-Controller design?
(I already answered personally, but just for the record.)
Webware provides an ORM-like plug-in called "MiddleKit" that supports
MySQL, SQL Server and PostgreSQL, but not Oracle. But you can use SQL
directly via the cxOracle module and the "DBUtils" plugin which provides
a robust database connection pooling for Webware. You can also use
Webware with other ORMs such as SQLAlchemy which support Oracle, but
there is no special support for these in Webware.
The core Webware component (WebKit) has View and Controller somewhat
mixed, so it does not really enforce MVC architecture, but it's quite
possible to write applications based on these patterns, see e.g.
Using templating engines like Cheetah or the PSP or KidKit Webware
plug-ins, you can separate the view even more from the controller.