Intro to Backbone.js

Come learn about one of the most popular MVC frameworks in JavaScript!

Here's a brief intro from the Backbone.js documentation.

"Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions,views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.

When working on a web application that involves a lot of JavaScript, one of the first things you learn is to stop tying your data to the DOM. It's all too easy to create JavaScript applications that end up as tangled piles of jQuery selectors and callbacks, all trying frantically to keep data in sync between the HTML UI, your JavaScript logic, and the database on your server. For rich client-side applications, a more structured approach is often helpful.

With Backbone, you represent your data as Models, which can be created, validated, destroyed, and saved to the server. Whenever a UI action causes an attribute of a model to change, the model triggers a "change" event; all the Views that display the model's state can be notified of the change, so that they are able to respond accordingly, re-rendering themselves with the new information. In a finished Backbone app, you don't have to write the glue code that looks into the DOM to find an element with a specific id, and update the HTML manually — when the model changes, the views simply update themselves.

Thanks to CSUA for hosting the event! UC Berkeley students are always welcome. Come share the projects you've been working on with some of the most talented programmers in the East Bay.

Join or login to comment.

  • A former member
    A former member

    It assumed a bit much for an intro, and we needed power strips! The speaker was really helpful afterwards, though. I almost wish I could go back to the same meetup again now that I do have the most basic 5 minute overview.

    June 22, 2012

  • Mike M.

    Thanks for the reminder Shekhar!­

    June 22, 2012

  • Shekhar K.

    Mike, can you share your prezi for a reference?

    June 22, 2012

  • Dan

    The event is tomorrow and the waiting list is growing!
    If you don't think you're going to make it and you're a YES (or you have some pluses that won't be used), please update your status so others can come.
    Doors open at 6:30PM. We'll be doing intros around 6:45PM and I'll start the presentation around 7PM.
    See you tomorrow!

    June 20, 2012

  • Dan

    It will be similar to a master class

    June 20, 2012

  • A former member
    A former member

    Is it going to be a hands on session or more similar to a master class?

    June 20, 2012

People in this
Meetup are also in:

Sometimes the best Meetup Group is the one you start

Get started Learn more

I started the group because there wasn't any other type of group like this. I've met some great folks in the group who have become close friends and have also met some amazing business owners.

Bill, started New York City Gay Craft Beer Lovers

Start your Meetup today

Act now and get 50% off.
Until February 1.

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy