News for hackers. Stuff that matters.
Re:We've Open-sourced Rendr by pbiggar on Friday April 19, 2013 @12:38PM (#5577484)
I'm not sure I fully understand this, is this just for SEO? Why not run the page in phantomJS, which is what we do at https://circleci.com, and what meteor apps do, and any others?
Re:We've Open-sourced Rendr by frontendbeauty on Friday April 19, 2013 @12:51PM (#5577549)
SEO was our first concern, but then we realized performance was the big win. Serving the user a full page of HTML rather than waiting for JS to download before rendering HTML makes a big difference, especially on high-latency or low-bandwidth connections (mobile).

EDIT: We decided against using something like PhantomJS or node-chimera because why deal with a DOM if you don't have to? DOM is complicated and slow, compared to string-based templating. Plus, it's another moving part, another process to keep up and running. The Meteor guys aren't too excited about the PhantomJS approach either, and IIRC they'd like to be able to serve HTML without firing up a DOM.

Re:We've Open-sourced Rendr by msoad on Friday April 19, 2013 @12:56PM (#5577567)
Does this mean Rendrjs applications will run in a JavaScript disabled browser? That would be a big win!
Re:We've Open-sourced Rendr by frontendbeauty on Friday April 19, 2013 @01:02PM (#5577605)
Yep! Because links use full URLs which get intercepted by JavaScript, if JS is disabled, you can still navigate around the app, getting full HTML from the server. Of course, any client-specific code wouldn't run (slideshows, etc).
Re:We've Open-sourced Rendr by jonny_eh on Saturday April 20, 2013 @02:31AM (#5580551)
So far, this is the most convincing argument I've heard for Rendr.
Re:We've Open-sourced Rendr by bilalq on Sunday April 21, 2013 @01:28AM (#5583975)
I'm a little confused here. Maybe I'm just not seeing it, but how does that make Rendr any different from any other server-side framework that responds with HTML?
Re:We've Open-sourced Rendr by WickyNilliams on Sunday April 21, 2013 @01:23PM (#5585509)
Because you're using the same JavaScript code for rendering on either the client or the server.
Re:We've Open-sourced Rendr by aristus on Friday April 19, 2013 @02:18PM (#5577959)
How do you measure performance? I'm interested specifically in where & how you instrument, and how you collect the data.
Re:We've Open-sourced Rendr by pbiggar on Friday April 19, 2013 @01:27PM (#5577739)
Cool stuff, thanks for the response!
Re:We've Open-sourced Rendr by bfirsh on Saturday April 20, 2013 @06:17AM (#5580959)
Or Zombie, which is way faster than PhantomJS: https://github.com/bfirsh/otter