Re:Asynchronous UIs - the future of web user interfaces
by marknutter on Thursday November 17, 2011 @08:25AM
(#3247528)
And then some young-gun will come along and create Ruby on Rails for the client side and all these frustrations will be abstracted away. Something being hard to do doesn't mean it shouldn't be pursued.
Re:Asynchronous UIs - the future of web user interfaces
by hello_moto on Thursday November 17, 2011 @12:10PM
(#3248319)
It's kind of hard to agree with your statement albeit it has some merits.
Rails is a glue of a bunch of things. It's not like it doesn't exist in other environment.
Meanwhile, the state of JS testing is still far behind. Like really really far behind.
Once you get that sorted out, you still left with common set of libraries. Still a long way to go really.
Not to mention that the whole client-side thing is ripe for a change (depending on whom you talk to).
Re:Asynchronous UIs - the future of web user interfaces
by retro212 on Thursday November 17, 2011 @05:00AM
(#3247110)
Did you try http://www.funcunit.com/ for JavaScript testing?
Re:Asynchronous UIs - the future of web user interfaces
by hello_moto on Thursday November 17, 2011 @12:12PM
(#3248332)
Is there a better JS unit test framework where I can run it from the console without having to open the browser?
A few CI tools don't work well with the "requires browser to run test" paradigm.
I understand that means there might be class of errors that the no-browser test would not be able to catch but it's still a huge win.
The whole toolchain for reasoning about stuff happening in the browser is still laging a few years behind what we have on the server, which is a related but larger problem. We have Firebug, which gets us truly revolutionary features like "output log messages... in a browser!" and "inspect the internal state of objects in memory... in a browser!" But many of the rest of the cutting edge developments from the 60s and 70s haven't quite made it to the browser yet, or they're not yet at the point where they can be used by mortals. (Selenium: I want to love you, and yet I can't actually use you for anything because you break my brain.)