jsconf / jsconfus2013

7 stars 7 forks source link

Track B: Wednesday May 29th, 2013 - 2:00PM Slot #16

Closed voodootikigod closed 11 years ago

briancavalier commented 11 years ago

Name: Brian Cavalier Title: Connecting your shiz.js with AOP Description: Loose coupling. You've got that, right? You're using pubsub, event emitters, and message buses! Guess again, you can do better.

Aspect Oriented Programming (AOP) is a technique for augmenting the behavior of objects, methods, and functions non-invasively. AOP adds new behaviors and modifies existing behaviors "from the outside". Using AOP, it's possible to create connections between components without either having any knowledge of the other and without any extra library dependencies in your code.

In this talk, we'll explore AOP. We'll introduce simple techniques for applying AOP in pure JS using no additional libraries, and then look at meld.js (https://github.com/cujojs/meld), the AOP library that powers cujoJS (http://cujojs.com). We'll work from simple examples of making connections between components to more sophisticated examples that integrate pubsub, message buses, etc. in a truly loosely coupled way.

Image: https://dl.dropboxusercontent.com/u/259524/me.jpg I agree to release any and all audio and video recording and broadcast rights to JSConf for publication

voodootikigod commented 11 years ago

Track B Slot awarded to @briancavalier