2 ms·
In what ways do you find AJAX brittle? Also, could you explain (I think it's css/ruby/REST/psuedo code for an unordered list comprised of the foos - but how is
by 10ren 16y ago
In what ways do you find AJAX brittle?
Also, could you explain (I think it's css/ruby/REST/psuedo code for an unordered list comprised of the foos - but how is that for a feature?):
%ul#foos // - @foos.each do |foo|
- tptacek 16y agoSorry. I meant // as a line break. %whatever is a Haml tag that generates <whatever>. - @foos.each do |foo| is "foreach foo in @foos". I don't find Ajax brittle, I find my own designs when I set out from the beginning to make everything Ajaxy brittle. Brittle here meaning: * Navigation is always funky * I wind up with tangled messes of jQ callbacks * I wind up with Sinatra methods that are laser-targeted for specific jQ interactions instead of general things I can use in multiple ways Generally, the app just doesn't work as well. I think that's because it's slightly but deceptively harder to get a site driven mostly with JS working as well as a plain-ol-webapp.
- 10ren 16y agothanks!