Deviation from object-relational mapping (pySQLFace)

sulyokpeti at gmail.com sulyokpeti at gmail.com
Tue Oct 28 18:54:53 EDT 2008


On okt. 22, 06:27, huy <contactm... at gmail.com> wrote:
> On Oct 12, 11:19 am, sulyokp... at gmail.com wrote:
>
> > I have made a simple python module to handle SQL databases:https://fedorahosted.org/pySQLFace/wiki
> > Its goal to separate relational database stuff (SQL) from algorythmic
> > code (python). A SQLFace is a facade initialized with a configuration
> > file (XML). It provides callable command objects for each sql query.
> > The call substitutes template variables with its parameters, and
> > returns the result of the query.
> > I would like to get some opinions on this approach.
> > Thanks.
>
> Best use of XML for SQL generation/use I have seen is Ibatis SQLMAPS.
>
> This focuses on the right things i.e queries and mapping values to/
> from objects.
>
> It would be great if python had such a tool.
>
> Huy

I have looked into Ibatis SQLMAPS. It claims that its biggest
advantage is simplicity over other frameworks and ORMs. If you look
into my examples, you will see what simplicity is.




More information about the Python-list mailing list