JSFoo 2012

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

About JSFoo

JSFoo is India’s only national JavaScript conference series, with editions in Bangalore, Pune and Chennai. This year’s Bangalore edition is a flagship two day event.

Event theme

The theme for this second edition in Bangalore is JavaScript everywhere. Tell us how you’re pushing the limits of what can be done with JavaScript on the server, in embedded devices, and in its original home in the browser. If you have built something that is popular (even if proprietary), tell us the story of how you did it. Got graying hair? Help us younger folk attain the zen of JS. Tell us about best practices in code and in working style, of how to organize our files and how to assemble crack JS teams.

Commitment to open source

HasGeek believes in open source as the binding force of our community. If you are describing a piece of technology, we’d like it to be available under a permissive open source license.

If your software is commercially licensed or available under a combination of commercial and restrictive open source licenses (such as the various forms of the GPL), please consider picking up a sponsorship. We recognize that there are valid reasons for commercial licensing, but ask that you support us in return for giving you an audience. Your session will be marked on the schedule as a sponsored session.

Speaking submissions

You can submit a proposal to speak at JSFoo via the submission funnel below. Please describe your proposal in as much detail as possible. Detail is important if you’d like to be voted up into the schedule. In particular, we want to hear why you are the best person to be delivering a talk on your proposed topic.

Your submission will be up for public voting for up to a month before the event. For the final tally, we will only consider votes from ticket holders, as a way to ensure participants get exactly what they pay for.

This event also has a Program Committee of selected individuals from the community whose votes have additional weight, and whose charge is to help you refine your proposal and prepare it for the event. The Program Committee is responsible for ensuring that the final schedule meets the high quality standards that participants expect.

Making a funnel submission does not guarantee final selection. Selected speakers will get a free ticket to both days of the event (limited to one speaker per proposal). Proposers whose talks are not on the final schedule will be able to purchase tickets at the prevailing rate for the day on which they made their proposal.

Tickets: To attend JSFoo 2012, you can purchase tickets from http://jsfoo-2012.doattend.com

Hosted by

JSFoo is a forum for discussing UI engineering; fullstack development; web applications engineering, performance, security and design; accessibility; and latest developments in #JavaScript. Follow JSFoo on Twitter more

Yuvi Panda

@yuvipanda

Escape from Callback Hell with Deferreds

Submitted Aug 19, 2012

  • To explain fundamentals of deferreds, using jQuery’s implementation for demonstration
  • Show how hard-to-understand callback based code can be converted to clearer Deferreds based code

Outline

Tired of writing JS with so many nested callbacks that it looks like the Gaza Pyramid turned sideways? Thought you’ll never have to write synchronization code again but suddenly find yourself wanting to wait on 5 callbacks to return before you want to execute something? Hate having to add ugly boilerplate everywhere if you ever want to chain callbacks? Miss the return statement? Think your code looks ugly because it has way too many levels of indentation?

Start using Deferreds and fix all these! Deferreds are a way of managing callbacks that is painless, elegant and powerful. Using deferreds makes your code cleaner, easier to understand and less error prone. And free ponies too!

Requirements

Intermediate level of Javascript knowledge would be sufficient.

Speaker bio

Yuvi Panda is a 21 year old open source geek who chases shiny new things way too often. He wrote major parts of the Wikipedia Android/iOS app (JS/Phonegap), and the upcoming Wiki Loves Monument app (also JS/PhoneGap). He was yearning for a threaded model in Javascript until he found Deferreds. Amongst his hobbies is screaming ‘USE DEFERREDS!’ at anyone claiming to use Javascript. He’s currently a student at KCG College of Technology.

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

JSFoo is a forum for discussing UI engineering; fullstack development; web applications engineering, performance, security and design; accessibility; and latest developments in #JavaScript. Follow JSFoo on Twitter more