[Twisted-Python] Twisted Matrix and PDOM
Hi, I want to implement a Native XML database in Python, so, after having used TM for a little work a pair of months ago, I'm thinking about using Twisted Matrix and implementing it as a plugin. All I need (at this stage) is a persistent DOM for storing XML files on disk instead of keeping them in memory. I need a little help, I don't want to reinvent the weel, I'd like a suggestion about where to look from you Twisted gurus :-] Twisted.persisted ? TIA, nicholas
On 2003.06.15 10:09, N. Wieland wrote:
Hi, I want to implement a Native XML database in Python, so, after
What do you mean by "XML database"?
having used TM for a little work a pair of months ago, I'm thinking about using Twisted Matrix and implementing it as a plugin. All I need (at this stage) is a persistent DOM for storing XML files on disk instead of keeping them in memory. I need a little help, I don't want to reinvent the weel, I'd like a suggestion about where to look from you Twisted gurus :-] Twisted.persisted ?
If you're looking to serialize arbitrary Python objects to XML, check out twisted.persisted.marmalade -- Twisted | Christopher Armstrong: International Man of Twistery Radix | Release Manager, Twisted Project ---------+ http://twistedmatrix.com/users/radix.twistd/
- radix@twistedmatrix.com :
On 2003.06.15 10:09, N. Wieland wrote:
Hi, I want to implement a Native XML database in Python, so, after
What do you mean by "XML database"?
It's a database tailored exactly for storing XML documents. Apache XIndice or SoftwareAG Tamino are two examples. Here is an interesting doc about the topic: http://www.rpbourret.com/xml/XMLAndDatabases.htm
If you're looking to serialize arbitrary Python objects to XML, check out twisted.persisted.marmalade
Not a Python Object, an XML document. Thanks, nicholas
On 2003.06.15 11:46, N. Wieland wrote:
- radix@twistedmatrix.com :
On 2003.06.15 10:09, N. Wieland wrote:
Hi, I want to implement a Native XML database in Python, so, after
What do you mean by "XML database"?
It's a database tailored exactly for storing XML documents. Apache XIndice or SoftwareAG Tamino are two examples. Here is an interesting doc about the topic: http://www.rpbourret.com/xml/XMLAndDatabases.htm
If you're looking to serialize arbitrary Python objects to XML, check out twisted.persisted.marmalade
Not a Python Object, an XML document.
So it sounds like all you need is twisted.web.microdom, the "open" built-in python function, and the "write" method of file objects. Or is there something else I'm missing? :) -- Twisted | Christopher Armstrong: International Man of Twistery Radix | Release Manager, Twisted Project ---------+ http://twistedmatrix.com/users/radix.twistd/
- radix@twistedmatrix.com :
snip >
Not a Python Object, an XML document.
So it sounds like all you need is twisted.web.microdom, the "open" built-in python function, and the "write" method of file objects. Or is there something else I'm missing? :)
I will start experimenting there. Thank you very much, I hope coming out with something useful in a pair of months... nicholas
On Sun, 15 Jun 2003 16:09:02 +0200 "N. Wieland" <nicholas_wieland@yahoo.it> wrote:
I want to implement a Native XML database in Python, so, after
Martijn Faassen wrote one with ZODB, I think: http://cvs.infrae.com/forest/ and maybe it has a homepage somwhere as well. -- Itamar Shtull-Trauring http://itamarst.org/ http://www.zoteca.com -- Python & Twisted consulting
participants (3)
-
Christopher Armstrong
-
Itamar Shtull-Trauring
-
N. Wieland