apt-portal-devs team mailing list archive
-
apt-portal-devs team
-
Mailing list archive
-
Message #00003
Re: Evaluating web2py for the apt-portal development
Hello,
I have found some major limitations on web2py's database abstraction layer,
a blocking limitation is it's lack of support for composed unique keys,
something that we really need.
I have run yet another batch of tests with multiple python web frameworks,
below is the set of components that I found to be the best according to our
needs, please note that I am keeping the Model-View-Controller as an
architectural requirement .
CherryPy - http://www.cherrypy.org/ - (Controller)
This is a simple but powerful python web server, it only provides the web
server with core functions like session handling, additional features like
templating and db moddeling need to be provided with additional packages.
Mako Template - http://www.makotemplates.org/ - (View)
To be honest this was the hardest choice. I am very used to Smarty and I
didn't found any of the python template engines as simple and powerful as
smarty. Anyway I was able to easily develop a translation support function
for it, so it should be sufficiente.
Python Elixir - http://elixir.ematia.de/trac/wiki - (Model)
Elixir is a declarative layer on top of SQL alchermy, a very complete Object
Relation Mapper, so far I have been able to test most of our db model
query/updates cases without using SQL .
--
João Luís Marques Pinto
GetDeb Team Leader
http://www.getdeb.net
http://blog.getdeb.net
References