[Xerte-dev] Re: jsTree

Smith, John J.J.Smith at gcu.ac.uk
Wed May 1 10:13:57 BST 2013


We'll need to transform the data - you'll never get that lucky!! For one you are using a kind of non standard xml node structure <pagetype vs <page type=pagetype

I think jstree is the way to go though. I've been playing around with some possible editor code but have loads of questions and think we should be careful not to code ourselves into a corner with the editor that will be labour intensive to get out of.

Also, are you fixed on staying with xml data format? I know we need to be able to handle it to cater for old LOs but should we save out new ones in JSON also? Most of xeniths load time is probably parsing the xml. JSON would be ready once loaded.

Anyway there array lots of things to consider going forward. Should we start a v2.1 ideas list and then we can pick what we think we can achieve by summer? Html5 editing might be 2 or 3 versions away yet...

Regards

John Smith
Learning Technologist
School of Health and Life Sciences

Sent from Samsung Galaxy SII



Julian Tenney <Julian.Tenney at nottingham.ac.uk> wrote:


Ah, that's right: some of them use an html list as the data provider and I couldn't see how that would work for us without a lot of transformation. The other problem, if I recall, was that the ones that used XML needed the nodes to be a named a certain way, and again if I remember right, there wasn't one that could take *any* xml as a data provider.

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 30 April 2013 17:07
To: For Xerte technical developers
Subject: [Xerte-dev] Re: jsTree

Take your pick...

http://www.programmingsolution.net/useful-js/jquery-treeview.php

Regards,

John Smith | Learning Technologist
Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________
From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney [Julian.Tenney at nottingham.ac.uk]
Sent: 30 April 2013 16:38
To: For Xerte technical developers
Subject: [Xerte-dev] Re: jsTree

I think that was the one that looked closest. There were three candidates if I recall, but I can't remember which ones they were. I didn't have time to explore some of the details, like events and how dataProviders work, but it looks like a good candidate for some more exploration.

I know you're thinking about the wizard - there's quite a lot of detail in the code in there, but essentially it's not a complex thing.

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 30 April 2013 16:30
To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk)
Subject: [Xerte-dev] jsTree

Julian,

You mentioned that you have been looking at javascript tree views to use in future work.

By chance I encountered this one: http://www.jstree.com/

Packaged as a jQuery plugin. Is that one suitable? If not, why not (it will enable me to look for a more appropriate one).

Tom



--
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196


_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.

Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education’s Widening Participation Initiative of the Year 2009 and Herald Society’s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education’s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education’s Widening Participation Initiative of the Year 2009 and Herald Society’s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education’s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html


More information about the Xerte-dev mailing list