Tuts+ Premium – Writing Modular JavaScript
English | .MP4 | Audio: aac, 44100 Hz, stereo | Video: h264, yuv420p, 1280×720, 30 fps(r) | 427Mb
Genre: E-learning
When writing an entire web application in JavaScript, it’s very important to have it well-organized; maintaining a spaghetti-coded project with only cause you headaches and nightmares. In this tutorial, I’ll show you how to modularize your code to make it easier to manage large JavaScript projects.
Introduction
Recently, I re-watched one of my favourite JavaScript presentations: Scalable JavaScript Application Architecture, by Nicolas C. Zakas. I found the modular JavaScript patterns he recommended particularly fascinating, so I decided to give it a try. I took the theoretical snippets of code from his slides, expanded and customized them, and came up with what I’ll show you today. I can hardly claim to be an expert at this: I’ve only been thinking about this method of writing JavaScript for just over a week. But hopefully I can show you how you might put what Zakas was promoting into practice, and get you thinking about coding this way.
A Word About the Accompanying Screencast
There’s a screencast that goes along with this tutorial; it’s rather long (almost 2 and a half hours, actually), so here’s table of content to help you navigate it; I’ve given each section a title “slide” to make it easier to find the beginning of each section.
Download iiiup
http://www.iiiup.com/4cc/TP.Wri.Mod.Jav.rar
Download 百度云