Category Archives: JavaScript

Synchronous Execution in JavaScript

Complex front-end web applications generally consist of many components which are initialized and configured at load time. What I’ve come to find out quite recently is that some browsers simply can’t handle too many things going on at once (eg: … Continue reading

Posted in Code, Design Patterns, JavaScript | Leave a comment

Upcoming Talk: Object Oriented JavaScript

I will be presenting Object Oriented JavaScript at AjaxWorld this year. You can find the talk’s abstract below. I’m still working on the slides so if there is anything you would like me to touch on, I’m open to suggestions. … Continue reading

Posted in JavaScript, Talks | Leave a comment

Review: Learning Dojo by Peter Svensson

… or How to Write a Good JavaScript Book It’s widely known that the vast majority of JavaScript books that exist are bad. Unfortunately, I have another one to add to the list: Learning Dojo by Peter Svensson. I fought … Continue reading

Posted in Code, JavaScript, Opinion, Reviews | Tagged , , | 2 Comments

Teaser: Learning Dojo by Peter Svensson

Yesterday I received a review copy of Learning Dojo by Peter Svensson (via Packt Publishing). Over the next week or two, I’ll be reading it and taking some notes on the book’s content. When I’m done, I’ll follow up with … Continue reading

Posted in JavaScript, Opinion, Reviews | Leave a comment

A Week in JavaScript Patterns: Lazy Function Definition

Lazy Function Definition is a pattern of functional JavaScript programming, similar to Load Time Configuration. The key difference is that the final function value isn’t configured at load time, but rather upon the first invocation of the function. The Lazy … Continue reading

Posted in Code, Design Patterns, JavaScript | Tagged , | 8 Comments

A Week in JavaScript Patterns: The Module

The Module is a brilliant design pattern which demonstrates the elegance of the JavaScript language by exploiting closure (one of JavaScript’s most powerful features) to create private members. The Module makes use of Self-invocation making it useful as an application … Continue reading

Posted in Code, Design Patterns, JavaScript | Leave a comment

A Week in JavaScript Patterns: Load Time Configuration

Load time configuration is the process where a JavaScript application configures itself as it is being loaded. This pattern is most commonly found in libraries in which they configure themselves at load time to be optimized for a particular browser. … Continue reading

Posted in Code, Design Patterns, JavaScript | Tagged , | 1 Comment

A Week in JavaScript Patterns: Self-invocation

I would like to begin this series of posts with one of the most useful and commonplace patterns in my code. Arguably, this can be considered a feature of the JavaScript language rather than a design pattern; however, when considering … Continue reading

Posted in Code, Design Patterns, JavaScript | Tagged , | 5 Comments

Ajax for PHP Developers

Earlier this week I gave an Ajax presentation for NYPHP. It felt a little strange presenting a JavaScript topic to a bunch of PHP developers, but I made it come back to PHP by demonstrating a the latest Panda PHP … Continue reading

Posted in Code, JavaScript, PHP, Talks | 1 Comment

JavaScript from Scratch: Parts Three and Four

I’ve uploaded two additional talks which I recently gave covering the basics of events and application development in JavaScript. This continues on with the talks I added earlier this month. Part Three: Events | View | Upload your own Part … Continue reading

Posted in Code, JavaScript, Talks | Tagged , , | 2 Comments