JSFoo 2012

It’s like kung fu with JavaScript and objects! All about building full size apps in JavaScript.

Real Time Development of a Real Time Application using Meteor

Submitted by Tamillharasan Chandran on Saturday, 25 August 2012

Section: JavaScript Everywhere Technical level: Intermediate Session type: Demo

Abstract

Meteor is a new platform that allows for building web apps just using Javascript alone. Our talk will walk the audience through a series of steps to build a real time chat application. During this walkthrough, we will gradually introduce concepts such as database connections, publish/subscribe model, hot code pushes and latency compensation in Meteor.

Outline

We will build an application from scratch during the course of the talk. And as we do that, we will show live demos of the app being built.

As we build the app, we will introduce the following concepts one after the other:

  • The building blocks of Meteor - Node.js, Handlebars and the plug-in ecosystem
  • Seamless injection of new and updated code to live apps - Users won’t miss a thing, nor do they get disturbed.
  • One Language: Server, Client and I/O code using just Javascript - You are not working on different Languages anymore, just one language to rule them all.
  • Automatic and real time browser side updates on data change.
  • Latency compensation: How meteor creates an impression of a zero-latency connection to the database

To keep things efficient, we will have multiple incremental versions of the code already checked in to a local Git repo. We will check out and deploy new versions while introducing each new concept.

By the end of the talk, we will have a complete working chat application and would also (hopefully) have provided a good introduction to Meteor.

Speaker bio

Tamil has been building Javascript heavy production applications for the last 18 months. Most recently he’s been working on a large single page application using Backbone.js. Tamil was also a speaker at last year’s Droidcon - where he spoke on OpenGL on the Android platform.

Ernest Sankeshwar will accompany Tamil as a co-speaker for this talk. Ernest has been writing production grade web apps for almost 2 years now. His passions include Node.js, Backbone.js and Test Driven Javascript development.

Links

Comments

  • Kamal Govindraj (@gkamal) 6 years ago

    What is your experience with Meteor, have you used it to build any production apps.

    It would be more interesting for me if it was something more non trivial. I guess there is already a chat application and a tutorial on how to do it on the web (http://vimeo.com/40300075). Since there is limited time (and also based on your suggested usage of git) it would work if you use a partially completed app at each phase - just do enough coding to show the key points, instead of starting from a clean slate.

    • Tamillharasan Chandran Proposer 6 years ago

      Apologies for the late reply and thanks for the suggestion Kamal.

      Our plan was also the same as you mentioned, to use different versions of the complete application and do coding as and when required to showcase the features.

      As regards the choice of the app, we’d prefer to stick to the chat application. If this gets accepted, then the session is probably not going to be more than 30min long (including Q&A). So, using an application that the audience needs little introduction to, will allow us to instead focus on demonstrating Meteor itself.

      As regards the production application with meteor, we are still researching on the platform, we haven’t used it in production yet.

Login with Twitter or Google to leave a comment