ajaximrpg now uses jQuery, no more Prototype/Scriptaculous

38 views
Skip to first unread message

ajaximrpg

unread,
Jul 16, 2013, 6:36:32 PM7/16/13
to ajax...@googlegroups.com
Today, I checked in a new "jslib" folder, a bunch of JavaScript files in the "js" folder, tree.js and window.js in the "scriptaculous" folder, bsheet.js in the "plugins" folder, index.php and popup.html.

The new "jslib" folder contains jQuery 1.10.2, jQuery UI, Backbone.js and Underscore.js.  I've converted all the ajaximrpg code to use jQuery and jQuery UI effects (such as fading) and removed all dependency on Prototype and Scriptaculous.  I've tested a lot of it and it all seems to work.  All that remains is to move a few files around and delete the "scriptaculous" folder.

You can browse the jQuery changes at:


You can look view diffs of some of the actual jQuery changes at:


Prototype and Scriptaculous are good libraries but, with jQuery, ajaximrpg can develop faster by drawing on a much larger universe of jQuery controls, jQuery compatible code and jQuery-friendly libraries such a Backbone.js and Underscore.js.  Since the conversion to jQuery is already finished (it only took 2 weeks), I can return to more ordinary tasks but continue forward with jQuery instead of Prototype/Scriptaculous.

Dan
----------------
Play: http://www.svexpertise.com/ajaximrpg/server 
Code: http://ajaximrpg.sourceforge.net 
Tweet: http://www.twitter.com/ajaximrpg 
Discuss: http://groups.google.com/group/ajaximrpg 
Totally free.  Totally easy.  Totally open.  Play RPGs instantly.

O'Reilly Book: Node.js for PHP Developers: Porting PHP to Node.js by Daniel Howard
http://www.amazon.com/Node-js-PHP-Developers-Porting/dp/1449333605/
Reply all
Reply to author
Forward
0 new messages