[Xerte-dev] Re: JS libraries

Pat @ Pgogy xerte at pgogywebstuff.com
Thu May 16 13:35:48 BST 2013


The maths one is harder - because it must vet all content but you could Greg the XML for a string

It's the script loading - a few times it has never loaded and I think the JS gets confused

But this is an argument for minimising the files included - so we're only loading  the js we need - no more, no less

On 16 May 2013, at 11:24, "Smith, John" <J.J.Smith at gcu.ac.uk> wrote:

> It would be relatively easy to do or while parsing the xml at the start we could prefetch the ones that will be needed for all the models...
> 
> Doesn't the maths one do something clever server side... is it significantly slower on localhost?
> 
> Regards,
> 
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
> 
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy
> Sent: Thursday, May 16, 2013 9:59 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] JS libraries
> 
> Hello,
> 
> Would it be possible to add to page models a parameter which could tell the preview and play script which js to load?
> 
> 1) noticed I get a few by default I don't need - media et al
> 
> 2) have noticed on localhost maths Ajax can take ages (over 20 seconds)
> 
> Thoughts?
> _______________________________________________
> 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



More information about the Xerte-dev mailing list