What's new? | Help | Directory | Sign in
Google
jangle
Just another generic library environment
  
  
  
  
    
Search
for
Updated Nov 15, 2007 by townxelliot
FirstJangleConnectorDataSource  
Discussion around whether to use flat XML or RDBMS for Jangle back-end

We talked a couple of days ago about writing a flat XML file connector for Jangle as the first demo to go out. I (townxelliot) think that an XML connector isn't the way to go. Here are the different options for types of connector we could go with, and my thoughts on them:

1. XML connector

Scenario:

We write an connector which accepts some generic XML; a P-dev can write an export script to write an XML file in the same format, push it to Jangle, and see their LMS data via REST services.

Imagine we do this for borrower info. first. We create an XML reader for that, which reads from the XML file and presents it via REST. Easy.

Pros:

Cons:

2. Relational database connector

Scenario:

We write an adapter which works with a generic back-end database; a P-dev can write an export script to write SQL statements into that database, and see their LMS data via REST services.

Imagine we do this for borrower info. first. The P-dev just has to work out how to translate their ILS to our generic database schema.

Pros:

Cons:

3. Existing ILS database connector

Scenario:

We write an connector which works with an existing open source ILS (e.g. Koha); a P-dev with that ILS can connect Jangle onto the front of it with a few configuration switches.

We could even write this in collaboration with LibLime from the word go.

Pros:

Cons:

We would have to learn the ILS pretty thoroughly.

4. Open source Talis ILS

Scenario:

Talis ILS database is open sourced, and ported to something like MySQL (I think some of this work is already done).

(This one is pie in the sky, but I thought it was worth mentioning.)

Pros:

Cons:

Making the choice

So, the choice of XML or database boils down to: what do we want the Jangle demonstrator to do?

Developers who want to pump data into Jangle would either be writing exports from their ILS data to XML or SQL. It doesn't make much difference to them. But it could make a significant difference to us, and to the flexibility and performance of a Jangle demonstrator.

(townxelliot): We should start with (b): write a connector for a generic ILS database back-end which P-devs export their data into. This would provide the capability to do more than just read from a single source (e.g. we could eventually do reservations and link tables together). It would scale. It would be easy to deploy and get up and running.


Sign in to add a comment