On okt. 22, 06:27, huy <[EMAIL PROTECTED]> wrote: > On Oct 12, 11:19 am, [EMAIL PROTECTED] 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. -- http://mail.python.org/mailman/listinfo/python-list