Re: Deviation from object-relational mapping (pySQLFace)

2008-10-29 Thread Bruno Desthuilliers
[EMAIL PROTECTED] a écrit : On okt. 22, 06:27, huy <[EMAIL PROTECTED]> wrote: (snip) 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. I have lo

Re: Deviation from object-relational mapping (pySQLFace)

2008-10-28 Thread sulyokpeti
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)

Re: Deviation from object-relational mapping (pySQLFace)

2008-10-21 Thread huy
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 > fil

Re: Deviation from object-relational mapping (pySQLFace)

2008-10-15 Thread sulyokpeti
On okt. 15, 09:04, J Peyret <[EMAIL PROTECTED]> wrote: > On Oct 12, 8:19 am, [EMAIL PROTECTED] wrote: > > > I would like to get some opinions on this approach. > > Thanks. > > I realize I will be minority here, but... > > I've never quite understood why folks want to repeat the database's > metadat

Re: Deviation from object-relational mapping (pySQLFace)

2008-10-15 Thread Bruno Desthuilliers
J Peyret a écrit : On Oct 12, 8:19 am, [EMAIL PROTECTED] wrote: I would like to get some opinions on this approach. Thanks. I realize I will be minority here, but... Then count me in - as long as all SQL stuff is cleanly encapsulated in it's own module and called via appropriate functions

Re: Deviation from object-relational mapping (pySQLFace)

2008-10-15 Thread J Peyret
On Oct 12, 8:19 am, [EMAIL PROTECTED] wrote: > I would like to get some opinions on this approach. > Thanks. I realize I will be minority here, but... I've never quite understood why folks want to repeat the database's metadata in XML files. I've gotten much better results just using plain ol'

Re: Deviation from object-relational mapping (pySQLFace)

2008-10-14 Thread sulyokpeti
On okt. 14, 10:09, Bruno Desthuilliers wrote: > [EMAIL PROTECTED] a écrit : > (snip) > > > It is not convincing to look at an XML file alone. Let me give you an > > example. Glade is a GTK+ application for creating GTK+ GUI. It > > generates an XML file, that can be loaded in every programming > >

Re: Deviation from object-relational mapping (pySQLFace)

2008-10-14 Thread sulyokpeti
On okt. 14, 13:26, Paul Boddie <[EMAIL PROTECTED]> wrote: > On 14 Okt, 00:43, [EMAIL PROTECTED] wrote: > > > > > It is not convincing to look at an XML file alone. Let me give you an > > example. Glade is a GTK+ application for creating GTK+ GUI. It > > generates an XML file, that can be loaded in

Re: Deviation from object-relational mapping (pySQLFace)

2008-10-14 Thread Paul Boddie
On 14 Okt, 00:43, [EMAIL PROTECTED] wrote: > > It is not convincing to look at an XML file alone. Let me give you an > example. Glade is a GTK+ application for creating GTK+ GUI. It > generates an XML file, that can be loaded in every programming > language that has libglade binding. Similarly, the

Re: Deviation from object-relational mapping (pySQLFace)

2008-10-14 Thread Bruno Desthuilliers
[EMAIL PROTECTED] a écrit : (snip) It is not convincing to look at an XML file alone. Let me give you an example. Glade is a GTK+ application for creating GTK+ GUI. It generates an XML file, that can be loaded in every programming language that has libglade binding. Similarly, there could be a da

Re: Deviation from object-relational mapping (pySQLFace)

2008-10-13 Thread sulyokpeti
On okt. 13, 10:33, Bruno Desthuilliers wrote: > [EMAIL PROTECTED] a écrit : > > > 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 facad

Re: Deviation from object-relational mapping (pySQLFace)

2008-10-13 Thread sulyokpeti
On okt. 12, 19:54, Paul Boddie <[EMAIL PROTECTED]> wrote: > On 12 Okt, 17:19, [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 (pyt

Re: Deviation from object-relational mapping (pySQLFace)

2008-10-13 Thread Bruno Desthuilliers
[EMAIL PROTECTED] a écrit : 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 calla

Re: Deviation from object-relational mapping (pySQLFace)

2008-10-13 Thread Bruno Desthuilliers
[EMAIL PROTECTED] a écrit : 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 s/algorythmic/algorithmic !-) code (python). A SQLFace is a facade initialized with a configur

Re: Deviation from object-relational mapping (pySQLFace)

2008-10-12 Thread Paul Boddie
On 12 Okt, 17:19, [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 (

Deviation from object-relational mapping (pySQLFace)

2008-10-12 Thread sulyokpeti
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 s