by jasongullickson on 12/7/12, 1:13 PM with 4 comments
I've used everything from raw Javascript to jQuery to Dojo to build client-side components against a REST API before, and I'm comfortable with going that direction, but I'm asking the community here if something has come along that supersedes these tools for this sort of application?
In particular we want to develop a modular set of controls that can operate in a stand-alone fashion, composed only of client-side code but can also be combined and hosted in existing Rails-served pages as well as static HTML.
Thoughts?
by justinf on 12/7/12, 1:44 PM
If I were looking to make a portable and semi-futureproof toolkit right now, I'd use jQuery as a base, but limit myself to some big features, like dom queries, events, and ajax. Then I'd make sure I had it sandboxed inside all my code via anonymous functions (function($) { /* my code */ })(jQuery); so I could swap in a lighter replacement later on without a headache.
by tjholowaychuk on 12/7/12, 1:36 PM
by dotborg on 12/7/12, 11:47 PM