Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Track B: Wednesday May 29th, 2013 - 2:00PM Slot #16
Name: Brian Cavalier
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.