web developer & system programmer

coder . cl

ramblings and thoughts on programming...


pyxser, beta release

published: 15-03-2009 / updated: 15-03-2009
posted in: programming, projects, python, pyxser
by Daniel Molina Wegener

Finally the pyxser has been released as beta release. I’ve requested the SourceForge.net project space and I will upload the project and release the beta when the SourceForge.net staff bring me an approved space for pyxser. Let’s review the project beta release.

pyxser, the serialization model

published: 21-02-2009 / updated: 21-02-2009
posted in: projects, python, pyxser
by Daniel Molina Wegener

pyxser, my python-object to XML serializer, now has a complete serialization model with all the required XML strictness that a serializer needs but with a complete serialization flexibility to allow multiple kinds of objets to be serialized inside the XML document that it generates.

In the present post I will show the serialization model, based on a strict XML DTD to allow the given serialized document to be validated before the deserialization process:

pyxser, serialization redesign and becoming strict

published: 27-01-2009 / updated: 27-01-2009
posted in: projects, python, pyxser
by Daniel Molina Wegener

In my last posts: "pyxser, a work in progress", "pyxser, serializing collections" and "pyxser, a work in progress". I’ve signing that I have finished my python-object to XML serializer. Today I’ve redesigned the serialized, but preserving the O(n) serialization algorithm. Now, I have more strict way to create the XML documents. I’ve created a small XML DTD as follows:

pyxser, a finished serializer

published: 22-01-2009 / updated: 22-01-2009
posted in: projects, python, pyxser
by Daniel Molina Wegener

pyxser, my python-object to XML serializer, it’s now finished. I’ve added support for unicode objects and set the default encoding to utf-8. Also I have added the proper namespace and profiled the resulting serializer. It continues as O(n) serializing algorithm.

pyxser, serializing collections

published: 18-01-2009 / updated: 18-01-2009
posted in: projects, python, pyxser
by Daniel Molina Wegener

Well, the last post was signed with pyxser as finished python-object to xml serializer, but my mistake was to forget the Python collections. Today I have finished the collection serialization, now it support list, tuple and dictionary serialization with the same algorithm basis, an O(n) algorithm that serializes the complete object-tree in one pass. Now the hard part of the job, the deserialization algorithm is comming… ;)

pyxser, a work in progress

published: 10-01-2009 / updated: 10-01-2009
posted in: projects, python, pyxser
by Daniel Molina Wegener

Who knows me and knows my work, is concious about my current projects. One of them is pyxser, an XML serialization/deserialization Python extension written in C. I’ve finally finished the preliminar serialization algorithm, as O(n) algorithm. It’s a recursive one, that serializes the a series of nested Python objects into XML.