Front-End Modules

Once a program gets past a certain size, it’s no longer practical to store everything in a single file. So what do you do when your code outgrows your editor? How can you create maintainable, modular front-end code in JavaScript? In this episode, we take a look at three options: namespaces, AMD, and CommonJS.

  1. LL16JavaScript Workflow 2015

    Fri, 6 Feb ’15
  2. E102AMD vs. CommonJS

    Wed, 29 May ’13
  3. E103Browserify

    Mon, 3 June ’13
  4. E104The Build Step

    Wed, 5 June ’13
  5. E105Bundled Code

    Mon, 10 June ’13
  6. E106Testing with Browserify

    Wed, 12 June ’13
  7. E107Require() All the Code

    Mon, 17 June ’13
  8. E108Eliminating the Global Namespace

    Wed, 19 June ’13
  9. E109Light the Test-Signal!

    Mon, 24 June ’13
  10. E16Modular Tests

    Fri, 18 Sep ’15
  11. E17Modules in Production

    Fri, 25 Sep ’15
  12. E18The Build Step

    Fri, 2 Oct ’15
  13. E19Third-Party Modules

    Fri, 9 Oct ’15