Spotlight: Advanced JS

2013-12-07 00:00:00 2013-12-08 00:00:00 America/Toronto Spotlight: Advanced JS Next up in our Spotlight event series, we bring you a day dedicated to Advanced JavaScript. We’re lining up professional developers to target the key information, skills and tools you need to push your coding abilities to the next level. What will be covered? AngularJS… Toronto FITC Toronto

Presentation


Overview

How to Manage State in Thick Client Apps
As server side developers build stateless server side applications and start to develop JavaScript applications and frameworks, there are new challenges they face surrounding ‘state’. Users now have long-lived sessions interacting with the same client side runtime, instead of only creating context for the duration of one request on the server. This makes memory leaks, presentation state, and state teardown quite important all of a sudden, and often server side developers (like me) can be caught unaware. The aforementioned problems have been dealt with in the past in other stateful UI frameworks like Cocoa, but lots of JS developers have never been exposed to such things. This talk will show how easy it is to get bitten by long-lived session problems using some real world examples from Shopify and Batman.js, and also suggest some strategies for mitigation.