[DB-SIG] Python with Rails?

Ilia Iourovitski iiourov at yahoo.com
Wed Jan 26 05:16:52 CET 2005


It is not a problem in Jython land.
Use JPublish as web framework. Next any decent web
framework such as Tapestry or Webwork allow to create
controller in Jython. The only thing which Jython is
missing is continuations to compete Javascript in
Cocoon. It seems the continuations is the next big
thing in Web Development.
About persistence. Hibernate is good.
Hibernate 3.0 supports dynamic components as Map. So
user can access hierarchy of tables as Map of Map. It
would be nice to add support to saving Python objects
and add ZODB style adapter in order to run Plone on
Weblogic.

Thx,

Ilia
--- Ian Bicking <ianb at colorstudy.com> wrote:

> Benjamin Scherrey wrote:
> >    Anyone checked out the 'Ruby with Rails' (
> http://www.rubyonrails.com 
> > ) project? I've not yet played around with it but
> their mechanism of 
> > definging a seemingly seemless object-relational
> mapping (the Active 
> > Record aspect of the project) from within the
> language is really 
> > promising. From what I've seen, their use of
> reflection to implement 
> > this doesn't seem outside of good python
> programming practice and, I 
> > believe, python should be fully capable of
> supporting a similar 
> > construct without modifying the existing language.
> 
> Someone's working on it:
> http://subway.python-hosting.com/
> 
> SQLObject, which is what Subway is using, is fairly
> similar to 
> ActiveRecord.  This is what you do to create a class
> with attributes 
> read from the database:
> 
> from sqlobject import SQLObject
> class MyTable(SQLObject):
>      _connection = 'mysql://user:passwd@host/dbname'
>      _fromDatabase = True
> 
> -- 
> Ian Bicking  /  ianb at colorstudy.com  / 
> http://blog.ianbicking.org
> _______________________________________________
> DB-SIG maillist  -  DB-SIG at python.org
> http://mail.python.org/mailman/listinfo/db-sig
> 


More information about the DB-SIG mailing list