News for hackers. Stuff that matters.
Re:The Sun is Setting on Rails-style MVC Frameworks by stock_toaster on Friday February 24, 2012 @07:19PM (#3631696)
Don't you still have to render server side for crawlers and screen readers (accessibility)?
Re:The Sun is Setting on Rails-style MVC Frameworks by jashkenas on Friday February 24, 2012 @07:46PM (#3631754)
Many of these client-side JS-heavy apps are private "workspace"-like pages ... nothing that would ever need to be indexed by the Googlebot.

If you want to serve screen readers, then yes, you need to make sure you're serving only reader-compatible HTML and JavaScript.

Re:The Sun is Setting on Rails-style MVC Frameworks by stock_toaster on Friday February 24, 2012 @08:01PM (#3631782)
Yeah, that makes sense.
Re:The Sun is Setting on Rails-style MVC Frameworks by bill-nordwall on Friday February 24, 2012 @07:30PM (#3631723)
Nope. Screen readers have been able to handle javascript-generated content for years. According to WebAIM's most recent screen-reader survey, 98.4% of screen reader users have javascript enabled: http://webaim.org/projects/screenreadersurvey3/#javascript
Re:The Sun is Setting on Rails-style MVC Frameworks by mmahemoff on Friday February 24, 2012 @07:48PM (#3631764)
Crawlers, less so. The major search engines are getting smarter about it, but for now, you still need some kind of HTML output from the server if you really want to be indexed properly.

It doesn't rule out a pure client-side app at all, but you do have some extra work involved to output HTML from the server. Which is why NodeJS will ride on the coat-tails of this approach; less redundancy.

Re:The Sun is Setting on Rails-style MVC Frameworks by techwraith on Friday February 24, 2012 @08:00PM (#3631781)
Hah! "The major search engines" - you mean Google, right? ;)
Re:The Sun is Setting on Rails-style MVC Frameworks by eropple on Saturday February 25, 2012 @05:23AM (#3632652)
How effective is Javascript with screen readers, though? It's been a while since I played with a screen reader (late 2009 or so), but when I did even really simple things like a pop-up div confused it. It didn't inform the user that something new was being rendered or anything.
Re:The Sun is Setting on Rails-style MVC Frameworks by bill-nordwall on Monday February 27, 2012 @12:13AM (#3637864)
Surprisingly effective. A colleague of mine published some techniques to add consistency to Javascript events across screen readers: https://github.com/ryanfitzer/Accessibility