Posts like this makes me think Airbnb is a awesome place to work. Sharing is caring!
It's great to see AirBnb's open sourced work, and tech talks, etc. Kudos to them - I'm sure it helps a lot with recruiting. I used to work for a company in a similar space and looked to AirBnb with deep envy.
We've Open-sourced Rendr
31–40 of 56 posts
Re: We've Open-sourced Rendr
#32Re: We've Open-sourced Rendr
#33I'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
#34This is what GitHub uses between tabs on its Pull Requests page. I love how simple the implementation is.
Your app still needs to follow the convention of having links going to different pages with URLs. I know it's not "single page" and the interaction is not that "rich." But it's nice because all your logic is still on the server, all rendering and templates are on the server and the server responds with either a full page of HTML or a partial page of HTML depending on an HTTP header you set.
Oh yeah, it also works without Javascript, crazy!
Re: We've Open-sourced Rendr
#35Earlier quoted context omitted.
It's great to see AirBnb's open sourced work, and tech talks, etc. Kudos to them - I'm sure it helps a lot with recruiting. I used to work for a company in a similar space and looked to AirBnb with deep envy.
https://www.airbnb.com/jobs :)
Re: We've Open-sourced Rendr
#36Anyone interested in something like this should also check out PJAX. Push State and AJAX. https://github.com/defunkt/jquery-pjax This is what GitHub uses between tabs on its Pull Requests page. I love how simple the implementation is. Your app still needs to follow the convention of having links going to different pages with URLs. I know it's not "single page" and the interaction is not that "rich." But it's nice bec…
Re: We've Open-sourced Rendr
#37Are there any similar efforts to tie the server with the client, reducing duplication, for Angular?
Angular uses DOM templating instead of string-based templating (most current JS templating engines are string-based), so you would definitely need to fire up a headless browser (PhantomJS) or DOM (JSDOM) of some sort to get it working. 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/angul…
Re: We've Open-sourced Rendr
#38IS IT FASTER? I assume Node/JavaScript will render HTML faster than ruby/rails. Do you have benchmarks?
Re: We've Open-sourced Rendr
#39Posts like this makes me think Airbnb is a awesome place to work. Sharing is caring!
Re: We've Open-sourced Rendr
#40Just wondering what's the difference between this post and the last one where Rendr was already open-sourced? I mean, it was already open sourced for a while. Is there a change log or an adapter to better integrate with other systems? Thanks!