JavaScript has come a long way in few years. As we no longer need to battle DOM differences we can focus on building our applications instead. Now, however, as more and more application logic move from the server to the client our main problem is that we need to unlearn our earlier DOM-centric approach to JavaScript. Tools such as Backbone and Angular help, but before we are able to use the effectively we have to change some of our neural pathways. In this talk I will look at a couple of patterns that will help you move away from jQuery spaghetti and get you started on a foundation for building large-scale JavaScript applications.
In recent years a number of libraries for building large JavaScript applications has appeared. As we no longer need to battle DOM differences between browsers we can finally focus on building highly interactive front-end applications instead. But before we can do a good job with these new libraries we need unlearn our previous DOM-centric approach to building JavaScript applications.
In this presentation will take a look at what that means, and how we can build modular, testable and reusable code. We will also look at some of the key concepts in libraries such as Backbone.js and AngularJS, including two-way binding, dependency injection and templating.
The ultimate goal is, in my mind, that we should treat our Javascript application as we treat our Java application. After this presentation you will have a much better idea of what that means.
Kim Joar Bekkelund
Kim is a senior consultant at Bekk Consulting in Oslo, Norway. He primarily works on large-scale JavaScript applications and he strongly believes that we should treat JavaScript as a real language when we use it to build large applications. In addition to creating Superhero.js and blogging about JavaScript, Kim is a frequent contributor to open source and a semi-frequent speaker at events both in Norway and abroad.