so they have completely ditch Rails and Ruby?
We've Open-sourced Rendr
11–20 of 56 posts
Re: We've Open-sourced Rendr
#12These days, there are so many JavaScript frameworks for web development, it's starting to make my head spin a little bit.
Does anyone have a link to a good rundown of where everyone stands?
Re: We've Open-sourced Rendr
#13Fourth link on the page links to http://nerds.airbnb.com/github.com/airbnb/rendr-app-template (which obviously does not work) instead of http://github.com/airbnb/rendr-app-template
Re: We've Open-sourced Rendr
#14so they have completely ditch Rails and Ruby?
I don't work there, but I doubt it. With rendr, both the client- and server-side portions of the Backbone stack still need to consume an upstream API. If I had to guess, I'd say that for projects they're building that use this stack, all the templating/rendering/presentation logic is in JS, but that the database interaction stuff probably isn't; they probably have Rails apps that expose a RESTful API that the rendr a…
Re: We've Open-sourced Rendr
#15I'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?
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
#16I'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?
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, comp…
Re: We've Open-sourced Rendr
#17I assume Node/JavaScript will render HTML faster than ruby/rails. Do you have benchmarks?
Re: We've Open-sourced Rendr
#18Earlier quoted context omitted.
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, comp…
Does this mean Rendrjs applications will run in a JavaScript disabled browser? That would be a big win!
Re: We've Open-sourced Rendr
#19Are there any similar efforts to tie the server with the client, reducing duplication, for Angular?
It would be very slow if you were doing this dynamically so you would probably want to regularly compile and cache your pages.
Some links on this topic: https://github.com/steeve/angular-seo http://www.yearofmoo.com/2012/11/angularjs-and-seo.html
Re: We've Open-sourced Rendr
#20Earlier quoted context omitted.
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, comp…
Does this mean Rendrjs applications will run in a JavaScript disabled browser? That would be a big win!