Exist Teaching examples

Whisky

This is a simple example of semi-structured data

 

http://stocks.cems.uwe.ac.uk:8081/exist/servlet//db/whisky/addressList.xql

http://stocks.cems.uwe.ac.uk:8081/exist/servlet//db/whisky/stickyWhisky.xql

 

The BBC RSS Reader

Listings  doc html

Run  open with Opera

   on demo-exist-db

 

The Family History album

Listings doc html

  on demo-exist-db

 

Medical Dictionary

Some entries in a medical dictionary in browsable format supported by sound and images

 

http://stocks.cems.uwe.ac.uk:8081/exist/servlet//db/ChrisWallace/medical/index.xql

 

ISD3 Coursework

An Excel spreadsheet stored and viewed using XQuery

 

http://stocks.cems.uwe.ac.uk:8081/exist/servlet//db/ChrisWallace/ISD3/index.xql

 

Currency Converter

An example of a simple Calculator

 

http://stocks.cems.uwe.ac.uk:8081/exist/servlet//db/ChrisWallace/calculator/index.xql

 

A generalised Life Automata

Here Xquery provides the interface to a Java Applet (generated by Processing) which implements a generalised Conway Life Automata.  Interesting rule configurations are saved and retrieved in eXist.

 

http://demo.exist-db.org/servlet/db/chriswallace/life/index.xql

 

A state machine simulator

A rework of an existing PHP/MySQL application – just a simple machine at present

 

http://stocks.cems.uwe.ac.uk:8081/exist/servlet//db/ChrisWallace/stateMachine/stm2.xql

 

SQL tutor

This is an example of using XML to describe lessons in an interactive SQL tutor.  Each lesson is an XML document. Lessons are of different kinds, with different structures, but many are requests for the student to write an SQL query which passed to a PHP program to interface with MySQL. The result is compared with the result of the expected query with limited error diagnostics at present.

 

DVD rental

This is a case study being worked on as a result of attending the session on Functional-Relational Programming with Peter Marks and Ben Mosely. The particular focus is on using XQuery in a purely functional manner and on the use of event traces to avoid accidental state (i.e. state dependent on the program, not the problem).

 

Michael Kay's Video example

Michael Kay's 10 Minute intro

Reworked in eXist html