Show notes
JavaScript module loading has traditionally been difficult due to diverse module formats and difficult configuration. With so many competing standards it is hard to get everything to work well together.Guy has come forward with a solution which simplifies loading and management of JS packages. This is a full workflow solution including both dynamic loading and capability to build bundles for production.Episode InfoEpisode NotesSimple example of SystemJS in browserLinksVideosOther podcastsEpisode InfoEpisode: CW 008Published: July 2nd, 2014Tags: nodejs, js,es6,commonjs,amd,es6,packages,modules,jsconfDuration: Episode Notes03:00 - es6-module-loader05:10 - SystemJS - loads ES6 modules, AMD, CommonJS and global scripts. Designed in spec itself, IE8+, suitable for production, runs in browser and Node.js, promises API14:30 - jspm - JavaScript Package Manager - CDN for SystemJS, require by name.Simple example of SystemJS in browser<script src="system.js"></script><script> System.import('app/app') .catch(function(e) { // we add this since promises suppress all errors setTimeout(function() { throw e; }); });</script>Linkses6-module-loader - ES6 module loader polyfillSystemJS - Spec-compliant universal module loader - loads ES6 modules, AMD, CommonJS and global scripts.SystemJS-Build-Tool - Build tool for SystemJS which can bundle for productionjspm - Package manager for the SystemJS universal module loader, built on top of the dynamic ES6 module loader. Load any module format (ES6, AMD, CommonJS and globals) directly from endpoints such as npm and github with flat versioned dependency management. For production, use the jspm CLI tool to download packages locally, lock down versions and build into a bundle. In development, load modules directly from CDN for frictionless experimentation, switching into production on the same code with a single configuration change. Supports SPDY with server push.jspm-es6-demo - jspm ES6 module loading workflow demo - write ES6 modules, load external from CDN, install locally using CDN versions, bundle into single file for productionjspm Google Group - Discussion forum for JSPMGuy Bedford’s TwitterGuy Bedford’s GitHub repositoriesJeff Barczewski, Founder, CodeWinds twitterCodeWinds twitterVideosFluent Conf 2014 - Guy Bedford on ES6 modules, jspm, SystemJSMountain West JS 2014 - Guy Bedford on the genesis of jspm, SystemJSJSConf 2014 videos - Videos from the JSConf 2014 sessions (videos are in progress of being posted)Other podcastsJSJabber 115

