Re: [Webware-discuss] Backend Databases for Webware

Top Page
Author: Christoph Zwerschke
Date:  
To: Discussion of Webware for Python including feedback and proposals.
Subject: Re: [Webware-discuss] Backend Databases for Webware
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
> <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.
http://wiki.w4py.org/modelviewcontroller.html
Using templating engines like Cheetah or the PSP or KidKit Webware
plug-ins, you can separate the view even more from the controller.

-- Christoph


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Webware-discuss mailing list
Webware-discuss@???
https://lists.sourceforge.net/lists/listinfo/webware-discuss