JavaScript & AJAX

The Essentials of AMD and RequireJS


In this screencast, we'll review RequireJS, an asynchronous module loader and dependency manager, and AMD, which defines the mechanism and guidelines for declaring and importing modules.



There's no denying that wrapping your brain around this new method for handling dependency management can take some time. But once you "get" it, you'll love it!

Related Posts
  • Code
    Familiar With Magento or OpenCart? Write for Us!Writeforus 400
    During the first quarter of this year, we had an amazing group of authors join our team, and we began to expand our frequency of posting regarding WordPress development. We've also transitioned over to a new design, but we're not done. We're looking to add a few more authors, but we're widening our scope. Work with Magento or OpenCart and want to join the author team? Read on!Read More…
  • Code
    SOLID: Part 4 - The Dependency Inversion Principle4 dip retina
    The Single Responsibility (SRP), Open/Closed (OCP), Liskov Substitution, Interface Segregation, and Dependency Inversion. Five agile principles that should guide you every time you write code.Read More…
  • Game Development
    Bake Your Own 3D Dungeons With Procedural RecipesProcedural content generation 3d dungeon maps 400px
    In this tutorial, you will learn how to build complex dungeons from prefabricated parts, unconstrained to 2D or 3D grids. Your players will never run out of dungeons to explore, your artists will appreciate the creative freedom, and your game will have better replayability.Read More…
  • Web Design
    Applications and Tools
    Working With Gumby's Parallax ExtensionGumby parallax retina
    Having covered how to install the Gumby framework and how to work with its semantic grids (plus Sass and Compass), it's now time to dive into some of Gumby's extensions. The first extension we're going to play with is the parallax module.Read More…
  • Web Design
    How to Install GhostInstall ghost retina
    This quick screencast will take you through the process of installing Ghost on your local system. Simple as that!Read More…
  • Code
    JavaScript & AJAX
    Organizing Testable Backbone and Require.js ApplicationsCode
    So you've learned a bit about JavaScript testing, and are now ready to begin testing your Backbone apps. The only problem is that your team uses Require.js to organize and load your scripts. This can make your modules considerably more difficult to test. In this screencast, I'll break everything down. In addition to Backbone and Require.js, we'll be using Jam to load our dependencies, and Testem, which provides an easy interface to perform automated tests (using Jasmine). Finally, we'll create a minimal build script.Read More…