Something resembling a final report
... has been put here:
http://xmldad.googlecode.com/svn/files/Report/
I sent out an email about this too. Just take a look and possibly mark down any ideas you have..
Blog for the XML Driven Application Development project. XML Driven Application Development
... has been put here:
I have uploaded two example XML documents using stylesheets to provide a GUI. Notes:
I have been thinking about the RDB generation. If the architecture is only semi-dynamic then its fairly easy to write some code that translates MySQL results to XML and vice-versa. Now obviously this would break if the XSD changed but its not that complicated so is fairly easy to maintain. The following article shows how this can be done:
http://www.kitebird.com/articles/mysql-xml.html
Its in PHP but shows how some simple scripts can convert to/from XML. When writing it assumptions would have to be made (e.g. you expect the "title" element as the first child element of "book" - but even this assumes more than necessary). We can just think about how the XSD we have maps to a RDB table and then look for certain complex types or patters to determine which table they belong to. It’s not nice but it is quick and easy – we can add complexity later if time permits.
Also if we don’t need a fully dynamic architecture then the MySQL schema can be created by us, it doesn’t need to be generated from an XML Schema. I will try and define an XML Schema for requests and responses and then define the database structure, just to get things kicked off.
Its worth taking a look at this:
Something someone might find interesting:
Dingo:
Castor:
REST:
I have made a folder in the svn repository, /files, for documents and binaries, this is as good place as any to put these sorts of files. I've linked to this from the main project page. The URL is:
Regarding Richard's problems with the subversion system I've been investigating this and have got it working using SmartSVN... the settings I used:
After Thursdays meeting its become difficult to determine exactly how the communication which be achieved between client and server, let alone what will actually be communicated (does it even need to be XML).
Again this is a little dated and is just being put here for record keeping. This was the idea that two schemas are build: request.xsd (sent by the client, containing a single book object) and response.xsd (sent by the server, representing search results and referencing multiple book objects from request.xsd).
For record keeping purposes I am posting the first basic prototype of the XML Schema doucments. This was changed last week...