JSFoo 2013

All about being creative with JavaScript

Effective JavaScript Module Loading

Submitted by kashyapa (@kashyapa) on Jul 20, 2013

Section: Full talk Technical level: Intermediate Status: Submitted


Understand how to effectively load JS modules/files on demand


Web Pages are incomplete without the JavaScript files. And you will certainly not have 1 JavaScript file to load in your apps. So what do you do, you will have <script> tags loading all the JS files required for your page whether you need it or not. Usually this is because you have a layout page where you add all your JS file references.
There is a better way to do this. Gone are the days where you have to put all pages in one place. In this session we will understand how you can load the JS files or modules on demand. We will look at a JS library called Require.js which helps us in modular loading of JS files.


JavaScript knowledge

Speaker bio





  • AA

    Ashwin Acharya


    7 years ago

    Will you be covering anything besides an intro to RequireJS?

  • SV

    Sreekanth Vadagiri


    6 years ago

    I wonder if there is enough material for for 30-40 minutes?
    Also looking at alternatives like webpack/browserify might give a good perspective.

  • b



    a year ago

    great post thank you https://surveyportal.xyz/panda-express-feedback/

Login to leave a comment