3 ms·
If only someone built a nice, RESTful module for JavaScript, instead of these crappy (I'm looking at you, primarily, Prototype) AJAX interfaces. Ponder... some
by warfangle 17y ago
If only someone built a nice, RESTful module for JavaScript, instead of these crappy (I'm looking at you, primarily, Prototype) AJAX interfaces.
Ponder... something to include in my in-progress library, perhaps?
- labria 17y agoHere you go: http://www.thoughtbot.com/projects/jester http://www.thoughtbot.com/projects/jester
- warfangle 17y agoUnfortunately, that's fairly heavy - and depends on Prototype for a lot of things (including class creation, etc). Unfortunately, Prototype's handling of object manipulation is extremely slow, especially when calling a base method: http://ajaxian.com/archives/javascript-inheritance-performance http://ajaxian.com/archives/javascript-inheritance-performan... This is why I'm making this independent of other libraries. Implementing a nice interface to the mess that is XMLHttpRequest is not that difficult - and for what should be a tight, lightweight library, requiring something like Prototype is overkill.