Subscribe to Dr. Macro's XML Rants

NOTE TO TOOL OWNERS: In this blog I will occasionally make statements about products that you will take exception to. My intent is to always be factual and accurate. If I have made a statement that you consider to be incorrect or innaccurate, please bring it to my attention and, once I have verified my error, I will post the appropriate correction.

And before you get too exercised, please read the post, date 9 Feb 2006, titled "All Tools Suck".

Sunday, August 20, 2006

XIRUSS-T Update: New Release On SourceForge

I have finally gotten the client/server code sufficiently complete and functional to make it worth formally releasing: Xiruss-t-build_20060820

This code provides two jars, xiruss-t-client.jar and xiruss-t-server.jar, as well as all the source code (including unit tests). I've also included a very simple but very handy Python script (python/xiruss_client.py) for use with Jython that makes it easy to import a file into the running repository. See the release nodes for the release on SourceForge for details.

I still need to create a little GUI for doing importing of files and directories and for navigating the repository, as well as restoring the currently broken Web-based end-user interface.

But what's released should be sufficient for anyone who is interested in looking under the hood to easily play around with a working system. And by "working" I mean "all the unit tests pass but beyond that I make no guarantees and a number of client-side methods are not yet implemented".

So I'm going to put this code down for a while (or at least not work on it quite so obsessively--my wife has been starting to give me rather dirty looks the last few days) and return to the main discussion of XML content management.

And here's a little side question: does anyone know of a quick way to translate a bunch of POJO code into the equivalent Python? I have a Web site for xiruss.org but my cut-rate hosting service only supports Python and Perl [And I'd eat a gun before I'd ever write another line of Perl]. I'd like to set up a demonstration server that people can use to put their own stuff into but I'd need a Python implementation of the server. My quick research suggests there's no such animal. I know I could do most of it with either reflection or just search and replace but I thought maybe somebody out there would have some ideas.

Labels:

Friday, August 18, 2006

XIRUSS-T Update: Can store and retrieve XML compound documents

I have finally completed the minimal implementation of support for importing and getting back XML compound documents. This means that from the client you can use the provided XML importer to import an XML compound document (any document using XInclude, an XSD schema, or an XSLT style sheet) and, on the client, request the imported versions and get a DOM from it.

This is the core functionality needed to make XIRUSS-T a useful XML-aware content management system.

I still have more testing to do and more client-side methods to implement but the system is now minimally usable for realistic XML management use cases.

My next tasks, in addition to further testing and method implementation, is to get things packaged up nicely, hack a little client GUI, and start documenting the API and code design in more detail.

Labels:

Thursday, August 10, 2006

XIRUSS-T Update: Can Write To Storage Object Via HTTP API

I've been working feverishly on getting the XIRUSS HTTP API implemented. It's been more work than I anticipated, mostly because doing the API has revealed a number of weaknesses in my original code (not surprisingly since it was hacked at top speed). Extracting interfaces took more time than I thought (Eclipse didn't do everything it should have--not sure if it is a limitation or user error). I also reorganized the code packages to make the distinction between client and server code components clearer and to make a cleaner distinction between core implementations and repository-specific code. Finally, I had to seriously rework my storage manager implementation. But now I have all that in place and I just got the test case that demonstrates that I can create a StorageObject version and put data into it and get it back out via the HTTP API. This is a major milestone. Now all I have to do is refactor the existing Importer code to use the new API and code patterns and implement any remaining client-side proxy methods that the importers require and it should all just work. Once I get that done I can get back to the discussion of versioned hyperdocument lifecycle management.

Labels: