Live data from Hacker News

Our First Node.js App: Backbone on the Client and Server

nerds.airbnb.com

1–10 of 69 posts

Re: Our First Node.js App: Backbone on the Client and Server

#3
The span !important font-family css rule is overriding the gist monospace css though. Reading code snippets in proxima-nova is .. a little tricky.

That said, very interesting article.

I wonder.. Has anyone tried rendering a page, and then bootstraping your initial Backbone models pulling data from the HTML?

Re: Our First Node.js App: Backbone on the Client and Server

#5
I was lucky to be able to catch a preview presentation of this "Holy Grail" project at SpainJS, last summer. It's very interesting stuff. I think that one of the more important caveats to mention is that to the extent that your application is composed of rich interactions, visualizations and interactivity, and logged-in-user-only content, that stuff tends to remain on the client-side alone ... but for your basic rendering of JavaScript models to a flat HTML page, this is a great project to keep a close watch on. In particular:

* Caching of shared static HTML for fast-as-possible page loads.

* Google indexing and searchability.

* Backbone apps that feel more like a series of pages and less like a single-page app.

... are all things that are addressed quite neatly by Rendr.

Re: Our First Node.js App: Backbone on the Client and Server

#6
Fantastic. This kind of thing, and Meteor, is really what Node is made for. Till recently, Node web frameworks mostly been "let's do RoR or Sinatra, but look it's in JS! #Neat". Sure, there's some benefit in terms of developer skill set and avoiding schizophrenic context-switching; but still, the great promise of SSJS is running the same actual code on both sides.

Re: Our First Node.js App: Backbone on the Client and Server

#7

Fantastic. This kind of thing, and Meteor, is really what Node is made for. Till recently, Node web frameworks mostly been "let's do RoR or Sinatra, but look it's in JS! #Neat". Sure, there's some benefit in terms of developer skill set and avoiding schizophrenic context-switching; but still, the great promise of SSJS is running the same actual code on both sides.

To be honest, Meteor is nice and a very ambitious project but the fact that you are writing an application with it means you are probably wedded to it.

That's why I've been using Express for my middleware, npm modules as needed, and mongoose as my db wrapper (or if I want to switch it out for redis, I can do so easily). Not sure how easily I can port my "meteor app" to a different framework that comes along.

Re: Our First Node.js App: Backbone on the Client and Server

#8
Congrats, this is awesome and also great news for Node. The new mobile site feels responsive and Rendr sounds promising. Thanks to Airbnb for sharing and pushing the Node ecosystem to the max.

I have to hijack this thread for a shameless plug since we love Node too:

We are looking for a

NODE.JS GROWTH HACKER FOR A HIGH TRAFFIC SITE (FULLTIME) and a

LEAD SOFTWARE ENGINEER NODE.JS (FULLTIME)

both positions in Berlin/Germany, right in the city center in Berlin-Mitte, in The Factory on the same campus with Mozilla, Soundcloud, Google and Wunderlist/6Wunderkinder!

more infos on: http://urge.io/jobs

=> Berlin is calling and getting the new tech hub of Europe! If you are passionate about building great software, we’d love to talk with you. If you don't live in Berlin yet, we could help to fix that. Shoot us a mail to career (at) urge (dot) io

=> Top 5 Reasons why you should relocate to Berlin now: http://news.ycombinator.com/item?id=4466352

=> Link to The Factory where we are located: http://factoryberlin.com/

Re: Our First Node.js App: Backbone on the Client and Server

#9
post #8

Congrats, this is awesome and also great news for Node. The new mobile site feels responsive and Rendr sounds promising. Thanks to Airbnb for sharing and pushing the Node ecosystem to the max. I have to hijack this thread for a shameless plug since we love Node too: We are looking for a NODE.JS GROWTH HACKER FOR A HIGH TRAFFIC SITE (FULLTIME) and a LEAD SOFTWARE ENGINEER NODE.JS (FULLTIME) both positions in Berlin/Ge…

[deleted]

Re: Our First Node.js App: Backbone on the Client and Server

#10
I was just thinking about this today. The web devs I'm working with are talking about ditching Rails entirely in favor of in-browser template rendering by JS. With a backend also in JS, it seems to clearly be a winning development environment for new projects today. Just the diminished learning curve would be enough for me to look closely at this. This is coming from a very non-front end guy, though, so I might be a little starry-eyed.
Post reply on HN