[Xerte-dev] Re: 1.9 properties

Smith, John J.J.Smith at gcu.ac.uk
Tue Oct 30 18:24:34 GMT 2012


Hi

Just need to get my head around:

how the overall size of the box that is rendered is determined (is it calculated simply from the highest used x and y cords??) - the data needs to be parsed prior to using the canvas tag as any resize forces a wipe so need to know dimensions in advance of starting drawing,

what to expect from every possible <shape> data set since each different object type has a different subset of parameters (a few samples of each data type to run through my model should be sufficient for testing),

whether its even worth maintaining an html4 equivalent for some of the shape types (in cases of no <canvas> tag support) As i said the screenshot that i sent  of the freehand path down the mountain is actually rendered using <div>s as I've not got my head around section 1 yet... It can support images, boxes, text and lines to some extent but drawing circles,stars,gears etc would make the dom extremely slow i suspect, bloated with pixel wide divs

Happy to carry on with this one for a bit though :-)

Anyone have any thoughts on the above?

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:


Re: the textDrawing one, do you mean you need to know the full extent of the xml that describes the drawing? I think it will convert to <canvas> but haven't checked, I can figure out the xml for you from the code in the engine,

-----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: 29 October 2012 16:49
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 properties
Importance: High

Hi,

I know I'm new here but personally I think that JSON export would at least be as useful if not more useful as XML, especially when working in a JavaScript environment like the HTML5 engine. (see next part)

Incidentally, not sure if I only have commit access to XOT since XERTE desktop is being treated as almost dead in the water but the Xenith code i'm working on is part of the XERTE trunk, not XOT. My interest is just now is getting the HTML5 engine mature enough to use in anger. Over the weekend i've done the following HTML5 engine models:

     delicious (95% ready) - had to use JSONP request because of same origin policy
     youtuberss (95% ready) - have use new JSONC request
     textDrawing (<50%) - don't have a sufficient test file for this model and the XOT Jisc site won't save the image or let me add pictures just now... need to get XOT installed locally or use usb version temporarily (anyone help out with a test XML stub for this model??) Oh and the screenshot shows the freehand done using pixel <divs> for non canvas compatibility
     youtube (~80% ready) - just a guess as only a few sizing issues

Attached some screenshots for those who want to see.

I'ml definitely interested in working on the connector pages soon though and tying this altogether as we want a "mobile" compatible (read iPad) RLO repository of some fashion by the end of the academic year.

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 Pat Lockley [patrick.lockley at googlemail.com]
Sent: 29 October 2012 13:25
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 properties

Also, would JSON export be more useful / as useful as XML export?

On Mon, Oct 29, 2012 at 1:24 PM, Pat Lockley <patrick.lockley at googlemail.com> wrote:
> WordPress has a theme supports function, so I am thinking of having a
> list to indicate the tabs per template, or something similar
>
> On Mon, Oct 29, 2012 at 1:15 PM, Ron Mitchell <ronm at mitchellmedia.co.uk> wrote:
>> 1, 2 & 3
>> Personally I don't think it's a necessity that the same tabs exist
>> for all templates but I suspect it's easier to just display a message
>> like 'This property is not relevant to this template' than it is to
>> change the code to dynamically change tabs based on the template in use.
>>
>> 4
>> Increase the properties window size and display 'This property is not
>> relevant to this template' for Xerte templates?
>>
>> Just my quick thoughts...
>> Ron
>>
>> -----Original Message-----
>> From: xerte-dev-bounces at lists.nottingham.ac.uk
>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat
>> Lockley
>> Sent: 29 October 2012 12:48
>> To: For Xerte technical developers
>> Subject: [Xerte-dev] 1.9 properties
>>
>> Hello,
>>
>> On the properties panel there are several options which are sort of
>> xerte specific - XML and media and quota for example.
>>
>> Some of the new templates aren't XML, so XML makes no sense - and the
>> media and quota code is very xerte specific.
>>
>> Would people think
>>
>> 1) all off these options should exist for all templates?
>> 2) should tabs exist even if the functionality doesn't?
>> 3) what sort of message should it say
>> 4) what if I have scope for an extra tab?
>> _______________________________________________
>> 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.
>>
>>
>>
>> _______________________________________________
>> 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
_______________________________________________
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