Re: [Zope3-Users] Some hint needed.

2005-06-08 Thread Sakesun Roykiattisak
I find hard time to fit OLE DB connection string to the spec. The param's value is not allowed to be quoted so that I value can be in form of nesting "param=value". The "parseDSN" is too preliminary. I decided to use this standard. It was designed by Java people I think. I have never hea

Re: [Zope3-Users] Some hint needed.

2005-06-05 Thread Stephan Richter
On Friday 03 June 2005 23:17, Sakesun Roykiattisak wrote: > By the way, I just wonder who design the zope "dsn" spec ?  I find hard > time to fit > OLE DB connection string to the spec. The param's value is not allowed > to be quoted > so that I value can be in form of nesting "param=value". The "p

Re: [Zope3-Users] Some hint needed.

2005-06-03 Thread Sakesun Roykiattisak
You might want to have a look at SQLOS. See http://codespeak.net/z3/sqlos Nahh. I've seen sqlobject before. I just don't like it. In *my* object-oriented definition, any OR mapping is highly "un-object-oriented". 1. How can I get the "dbconection" ? My database is Microsoft SQL Server

Re: [Zope3-Users] Some hint needed.

2005-06-03 Thread Stephan Richter
On Monday 30 May 2005 23:00, Sakesun Roykiattisak wrote: > I have a large set of database logics in python. All of them are in > similar forms like this: > >  >>> inven = Inventory(dbconnection) >  >>> inven.getBillOfMaterial(itemId='10020') > [('1134', 12), ('23522', 32)] > > I'm now investigating

[Zope3-Users] Some hint needed.

2005-05-30 Thread Sakesun Roykiattisak
I have a large set of database logics in python. All of them are in similar forms like this: >>> inven = Inventory(dbconnection) >>> inven.getBillOfMaterial(itemId='10020') [('1134', 12), ('23522', 32)] I'm now investigating the best way to to publish them via zope3. I need some suggestion on