Archivo de la etiqueta: backbone.js
In this post we are going to add a key-value store called Redis and Socket.io (a Websocket implementation to Node.js). Although Redis is often known as a NoSQL database, the fact is that we cannot include it as one. The same concept can apply to Socket.io. Commonly, it is mistaken with Websocket, Socket.io is an Websocket API that gives us some extra features over it.
In the previous post, Basic Node.js and Backbone.js application I and Basic Node.js and Backbone.js application II, about how to build an easy Node.js and Backbone.js application we discuss about which technologies we were going to use and after that we built a simple web application along with some REST API such as Twitter and the Yahoo Geoplanet API.
In this third post we speak about how to deploy our recent Backbone.js application to the cloud. I decided to use third of the most used PaaS (Platform as a Service) nowadays: Heroku, Cloud Foundry and AWS. Yes, I know that AWSis considered for many people an IaaS (Infrastructure as a Service).
I was also interested in giving a try to nodejitsu a specific platform to Node.js environment that belongs to Joyent. Unfortunately, they are currently in Beta and it seems imposible to get a invitation in the last couple of weeks. I’d like to upload the application to Windows Azure that is growing fast lately. I might update this post as long as I deploy the application to other PaaS. Meanwhile, we’re going to deploy to the three platform already commented.
In the previous post I defined the frameworks and libraries that I’m going to use in order to build a simple web application with Node.js and Backbone.js. This application will have a text field where we’ll introduce a word and we get back the lastest tweets regarding with that word. Besides that, it’ll show the places in the world where that tweets were sent. But first, take a look at application’s home page.