Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how stable is AirBnB node.js rendr?

I wanted to know if anyone has been using AirBnB Rendr and is it stable and ok to use in commercial projects or is it still changing a lot?

I'm developing a website which can run both client and server based, this mean I need to be able to render pages and widgets server and client based.

The server is running Node.js, dust.js and has custom server based code to render the pages and widgets on the server side. I need to pick how to handle it on the client side. Naturally I want to try and not repeat code, but obviously the client is different I can:

  1. Keep my current page based server rendering and develop custom client side code.
  2. Use backbone.js on client side and keep my server based code the same.
  3. Use AirBnB rendr that is based on Node.js and backbone to use the same code on client and o server. AirBnB Rendr Library

I like the 3rd idea very much, but I'm looking for some input from you guys. Has anyone used it? any experience with it in terms of stability and/or how often their api changes etc?

like image 288
Dory Zidon Avatar asked Jun 16 '13 07:06

Dory Zidon


2 Answers

I've just started playing around with Rendr. If I ignore the learning curve and oboarding friction, I like it a lot and I plan to write my next large production app using Rendr.

Unfortunately, as bababa listed above, the documentation needs a lot of work. There is an explanation of how Rendr works in its README and the example app's README but beyond that you'll need to source dive in order to figure out how the gears are turning. Currently, there is no forum for questions (other than stack overflow :D) and I've had a hard time figuring out its idioms on my own.

Despite all the struggles, I finally see the light and I'm starting to understand why Rendr is so powerful.

tl;dr - If you're willing to source dive and figure out your own workflow, I would suggest using Rendr. Otherwise, I would recommend going old school by writing a traditional client app with a more mature library. (is it too early to say that? =X)

like image 84
muffs Avatar answered Oct 16 '22 19:10

muffs


Well given AirBnb is a successful commercial enterprise, there's some validation that the library works well enough for them. This question is probably best answered by watching their github commit log for breaking changes. Given backbone is 1.0 and essentially stable at this point, rendr will probably quickly stabilize, but honestly your fear of instability is probably unjustified. I think rendr looks compelling and although my current project is using a very similar home-grown solution, I would consider using rendr in a future project or even porting our code to rendr. "Stability" per say is much less important to the web development community compared to other situations like packaged or embedded software.

like image 41
Peter Lyons Avatar answered Oct 16 '22 18:10

Peter Lyons