Sessions at Open Source Bridge 2010 about JavaScript

Your current filters are…

Tuesday 1st June 2010

  • Node.js and you

    by Mikeal Rogers


    * The problem with threads.
    ** Common design problems w/ blocking by default.
    * Event-driven design.
    ** Browser applications.
    ** Being good at doing nothing.
    * Your first node program.
    ** EventEmitter and the standard callback API.
    ** Example proxy.
    ** Simple optimizations.
    * Why is it so fast?
    ** V8
    ** libev, libio and non-blocking IO

    At 1:30pm to 2:15pm, Tuesday 1st June

Wednesday 2nd June 2010

  • CouchApp Evently Guided Hack with CouchDB

    by J Chris Anderson

    Apache CouchDB can host HTML5 apps natively, serving them over HTTP. Learn how to write JavaScript CouchApps which run on both the client and the server.

    We'll assume you are familiar with jQuery and your command-line shell of choice, and that you have an installed copy of CouchDB (at least version 0.11).

    Update: I did a test-run of this hack in an O'Reilly webcast. If you are interested to see it, "the recording is here":http://jchrisa.net/drl/_design/sofa/_show/post/jQuery-Evently-CouchApps-webcast

    Note: the below is good background still, but doesn't 100% describe what we'll do in the hack. I'm hoping to maximize the interactivity... I want to make sure we have as many people there replicating data around as we can.

    We'll be hacking on Taskr, first I'll show you all how to run it, then we'll collaborate on code. Here's "Taskr":http://github.com/jchris/taskr/

    If you want to hack server side Mustache templates, you should install the "latest version of Sofa":http://github.com/jchris/sofa

    We can hack on this too.

    And hopefully there will be a lot of time for people who've tried writing CouchApps and have questions to work with me and everyone else to learn.

    Another goal of mine with this hack: I want to meet people who can pitch in to help with the replicating p2p CouchDB web applications stuff.

    At 10:00am to 11:45am, Wednesday 2nd June

Thursday 3rd June 2010

  • Professional JavaScript

    by Jesse Hallett

    This talk will examine some of the features that make JavaScript stand out, including its functional roots, its ultra-simple object-oriented implementation, and the details of event-based concurrency. All of these can seem quite alien when coming from a background in a different language. I will talk about how to get the best use out of these features - and I hope to show that the things that make JavaScript different are also its greatest strengths.

    I will also go over common pitfalls in JavaScript development. These are non-obvious traps that unfortunately can put people off of JavaScript when they cause programs to behave in unexpected ways. As Douglas Crockford puts it, these are the "bad parts" that anyone who is working with JavaScript should be aware of.

    Finally I will introduce some techniques for writing well-structured code for the client portion of a web application. Specifically I will talk about my own experiences using a model-view-controller pattern, making the best of JavaScript's object-oriented features, and using events to implement re-usable components.

    There is a lot of ground to cover when it comes to the best practices of an entire language. So I will introduce topics and point you to resources for learning more. I also expect lots of questions. I am most interested in getting people the information that they want; so your questions will help to guide this session so that it is as useful as possible for everybody.

    At 10:00am to 11:45am, Thursday 3rd June

    Coverage note