When developing HTML5 applications, your code is bound to get more complex over time. Employing design patterns like MVC are important for separating concerns and creating more modular and reusable code. Backbone.js is one of the more popular JavaScript frameworks to help you do this. Unfortunately, like most open source, the documentation is a work in progress. Continue reading
Introduction to JavaScript and HTML5 Canvas
This video presents the JavaScript and HTML5 Canvas. Topics covered include fundamentals of the JavaScript language, creating an HTML5 page with a Canvas on it, drawing rectangles to the Canvas and animation. Continue reading
JavaScript: Advanced Scoping & Other Puzzles
Learn the fundamentals of JavaScript variable scope and common “execution context” (scope) challenges associated with early/late binding of event handlers, specifically within complex Ext JS layouts. We’ll also bring several patterns (namespaced references, Function closures, inline references, ref/refOwner, and the “Poor-man’s message bus”) to bear on the bowl of soup we call “scope. Continue reading
Nashorn: Optimizing JavaScript on the JVM
There are many implementations of JavaScript, meant to run either on the JVM or standalone as native code. Both approaches have their respective pros and cons. The soon-to-be open sourced Oracle Nashorn JavaScript project is based on the former approach. Continue reading
JavaScript APIs You Have Never Heard Of
The number of JavaScript APIs has exploded over the years, with a small subset of those APIs getting all the attention. While developers feverishly work on Web sockets and canvas, it’s easy to overlook some smaller and quite useful APIs. This talk uncovers the “uncool” JavaScript APIs that most people have never heard of and yet are widely supported by today’s browsers. You’ll learn tips and tricks for working with the DOM and other types of data that you can use today. Continue reading
Pure JavaScript
Are you comfortable passing functions around, returning them from other functions, and generally enjoy the pleasures of higher-order functions? Join in on an hour implementing ideas from functional programming in JavaScript. I will show you how you can significantly up your game by leaving loops behind and embracing functions as the primary unit of abstraction. Continue reading
Tooling for the JavaScript Era
More and more applications are being built with JavaScript, and not only for the client side but also utilising JavaScript server side. As the complexity of JavaScript applications increases there is a need for the tools to improve and textmate isn’t necessarily the answer! Continue reading
Eliminating Smells in Your JavaScript Code Base
Maybe you’ve inherited some smelly code, or maybe you’ve written some yourself, rushing to get a feature out the door knowing that you’re leaving yourself a mess to clean up later. Continue reading
Concurrent Server-side JavaScript on the JVM
This is a short presentation of RingoJS, a Node.js-like CommonJS environment, which supports threaded JavaScript on the server. RingoJS is a CommonJS-based JavaScript runtime written in Java and based on the Mozilla Rhino JavaScript engine. It takes a pragmatical and non-dogmatic stance on things like I/O paradigms. Blocking and asynchronous I/O both have their strengths and weaknesses in different areas. Continue reading
CreateJS: Rich Interactive Experiences for HTML5
CreateJS is a suite of JavaScript libraries for building expressive content that targets HTML5 Canvas. Learn how to use libraries that let you easily manipulate content on top of HTML5 Canvas, manipulate sound, animate content and manage loading of assets. Continue reading