How CanJS Works - Observables and Computes built with Queues and Trees


Details
Doors open at 5:30. I will kickoff presentation at 6:15.
Jimmy John's sandwiches will be provided to everyone by Bitovi.
========= If you'd like to understand how observable-based JavaScript frameworks (like Ember, Knockout, and Vue) work, join us Monday Dec 4th.
Specifically, we'll be building up our understanding of how observables and computed values work. While there are many forms of observables, CanJS's observables allow you to listen to when their value changes with the `.on` function as follows:
https://secure.meetupstatic.com/photos/event/c/8/f/8/600_465771448.jpeg
Computes are observables that combine other source observables. When the source observables change, computes automatically update themselves. In the following example, CanJS's `Compute`s are used to create a `fullName` compute that updates when either `first` or `last` change:
https://secure.meetupstatic.com/photos/event/c/9/e/6/600_465771686.jpeg
To implement observables, CanJS uses queues (https://en.wikipedia.org/wiki/Queue_(abstract_data_type)) and trees (https://en.wikipedia.org/wiki/Tree_(data_structure)), two useful data structures that we'll be exploring in this presentation.
=======
About the sponsors:
Braintree provides the easiest way to pay and get paid across any device. With one integration, merchants can start accepting credit and debit cards, PayPal, Apple Pay, Android Pay, Venmo, and whatever comes next. Thousands of online and mobile companies including Uber, Airbnb, and GithHub use Braintree in more than 45 countries. To learn more, visit braintreepayments.com (https://www.braintreepayments.com/) or@braintree (https://twitter.com/@braintree).
Bitovi provides web and mobile application consulting services. We will build your app, work with you to build it, or teach you how to build it. To learn more visit bitovi.com (http://bitovi.com/) or @bitovi (https://twitter.com/bitovi).

Sponsors
How CanJS Works - Observables and Computes built with Queues and Trees