Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore various approaches to structuring and modularizing JavaScript codebases in this conference talk from the International PHP Conference. Learn about closures, IIFEs, nested scopes, loose and tight augmentation, and debugging techniques. Discover module systems like AMD and gain insights into solving structural problems in large-scale JavaScript projects for both browser and server environments.
Syllabus
Introduction
Agenda
Structure JavaScript
Closures
Iffy
More examples
Calculator example
Nested scopes
Loose augmentation
Tight augmentation
Additional internal state
Debugging
Debugging with Node Inspector
Module Systems
loader
module
AMD defined function
AMD module loader
Taught by
International PHP Conference