Need YOUR votes to put jsxgraph in cdnjs

Need YOUR votes to put jsxgraph in cdnjs

by Marc Grober -
Number of replies: 5

I am trying to gen up support to get jsxgraph included at cdnjs and would appreciate it if all you math types would go to their forum and vote for this:

http://cdnjs.uservoice.com/forums/98277-general/suggestions/2217858-jsxgraph?ref=title

You can cast three votes for this and given all the whiners that are lurking here we should have 150 votes in  no time....

What is this all about? CDN js is a service that allows one to access js libraries via "the cloud",  much as MathJax has done via Amazon. In this way one can download and install the libraries for jsxgraph locally,  or simply include a reference to them in your SEE configuration (and if you don't know what SEE is you need to look in the docs under Advanced Math Tools - lol.)  If we can get these Math libs all in teh cloud,  then we can write plugins to look for the libs in /lib and if they are not there to source them automagically from the appropriate online location. This takes us one more step towards transparency and universality wink 

Average of ratings: -
In reply to Marc Grober

Re: Need YOUR votes to put jsxgraph in cdnjs

by Marc Grober -

Thank you jm and others who voted so far smile

We are half way to our goal.  If you have not voted yet please take a moment to vote for putting this code in the cloud. Ian, Colin, Ravi?

In reply to Marc Grober

Re: Need YOUR votes to put jsxgraph in cdnjs

by Colin Fraser -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Testers

mmOK, I am not wearing my glasses....sad Incredibly busy right now and for the next few weeks... And I want to be under a palm tree, sipping pina colada with a straw, ..where is my fairy godmother when I need her?????

In reply to Marc Grober

jsxgraph now hosted in the cloud! Thank you, all!

by Marc Grober -

From Alfred at Bayreuth:

"Now it is official: JSXGraph is hosted by the CDN (content delivery network) cdnjs. A CDN is a world wide network of servers. If your web browser requests a file from this network, that file will be delivered to your computer from the nearest server of this network. This should speed up web pages containing JSXGraph considerably. If you are using JSXGraph in your web project we encourage you to include JSXGraph by following these two simple steps: Include JSXGraph in your web pages always with this URL: http://cdnjs.cloudflare.com/ajax/libs/jsxgraph/0.91/jsxgraphcore.js Include the content of http://jsxgraph.uni-bayreuth.de/distrib/jsxgraph.css directly in your web page inside atag instead of using a tag. Alternatively, you can include the content of http://jsxgraph.uni-bayreuth.de/distrib/jsxgraph.css in one of your own css files. That's it! Of course, you still can include the two files jsxgraphcore.js and jsxgraph.css by using the old address http://jsxgraph.uni-bayreuth.de/distrib/ . In the case that http://cdnjs.cloudflare.com/ajax/libs/jsxgraph/0.91/jsxgraphcore.js is too long for you, Marc Grober has generated a shortened version: instead of http://cdnjs.cloudflare.com/ajax/libs/jsxgraph/0.91/jsxgraphcore.js you can use http://bit.ly/jsxgraph.

Happy JSXGraphing,

Alfred

In reply to Marc Grober

Re: jsxgraph now hosted in the cloud! Thank you, all!

by Marc Grober -

Alfred has pointed out that the use of the bit.ly shortcut, may impact load times and may result in some eventual confusion as to where the code is sourced. Please note hat the bit.ly link is experimental, that you need to include both the js ref AND the css ref, AND that there is no shortcut for the latest jsxgraph code. If you experiment with the bit.ly link,  please post as to your experience. Also, remember that when jsxgraph is updated, you will have to change the URLs for the CDN. If at some point ALfred et al decide to provide shortened URLs for the latest js and css, we will be sure to post that info here as well.

In the meantime, this means that you can access both MathJax and jsxgraph from CDN. This offers a range of fallback preferences that can be explored/exploited (for example there are arguments to be made for sourcing the CDN and falling back to local libs, and then falling back to a third source, as well as sourcing local libs first, then falling back to CDN, then a third option.)  And, of course, there are other options to be considered besides MathJax and jsxgraph.

In reply to Marc Grober

Re: jsxgraph now hosted in the cloud! Thank you, all!

by Ravi Vare -

Hi Marc,

Honestly,

I am trying to understand very basic of 'JSXGRAPH'.

'Links' given by you may be useful.

My today's Knowledge about Jsgraph is- 'By it we can create Graphs'approve

Hope i will make progress rapidly.

You may provide more 'Links/Materials'.

Best Regards,

Ravi