Going (Mostly) Server-less with Backbone.js

I have been having a lot of fun with Backbone.js and CoffeeScript lately.  It is my new programming obsession.  They go together like chocolate and coffee.  Along with this work, I have had the fantasy of going server-less and pushing all of my data stores to a back-end that I don’t have to code or manage myself.  I mean, how cool would that be?  To develop a browser-based application complete with data storage without a server is boss if you ask me.

For my data store, I have been playing with a new (currently in Beta) service called Parse.com.  Parse.com gives you a schema-less data store — a place to put your stuff with a REST API.  They are focusing on being the persistence layer for mobile apps when you don’t want to mess with a server.  Is there any reason why we can’t use a service like this in an HTML5/Javascript single-paged app?  It turns out that the answer is more complicated than “no” but it is something that we can certainly get around. 

This series will be broken into several parts:

  1. Introduction (this page)
  2. A Proxy Server for Parse.com
  3. Making Backbone.js Work with Parse.com
  4. Working with Backbone.js and the Parse.com Proxy
  5. Building an Application with Parse.com Models
  6. Hosting the Todos example on Heroku (Bonus)

All of the code (front-end and back-end) in these examples will be written in CoffeeScript but there is no reason you can’t do the same thing with Javascript.  Let me know if you find this short series useful. 

Disclaimer:  I am really just hacking and documenting my work.  I have no idea how this will perform in a real-world scenario.  It is a thought experiment.  If anything, this is really just a place for me to document my work.

Tags: , , , , , , ,

7 Responses to “Going (Mostly) Server-less with Backbone.js”

  1. [...] « Going (Mostly) Server-less with Backbone.js [...]

  2. [...] Series Overview << A Proxy Server for Parse.com                  Working with Backbone.js and the Parse.com proxy >> [...]

  1. Wow this is awesome. Love this series of posts Brian! Email me anytime if you have any questions — my name at parse.com.

  2. Awesome! Thanks Brian, I’m just about to get started!

Leave a Reply