RequireJS Training

This training program drives participants through Require.js which is the best tool for loading Javascript files from different modules and managing the dependencies between between different Javascript files

Created by

Stalwart Learning

Category

Date & Time

Price

Duration

2 Days

Location

https://stalwartlearning.com

ENQUIRE NOW


Course Description

Overview of RequireJS

This training program drives participants through Require.js which is the best tool for loading Javascript files from different modules and managing the dependencies between between different Javascript files.

Duration

2 Days

Prerequisite for RequireJS

A good understanding and experience in Javascript is required to attend this training program.

Course Outline for RequireJS

Introduction to RequireJS
  • Getting Started With RequireJS
  • Introduction to the Sample Project
  • Downloading and Including RequireJS
Defining and Requiring Modules
  • Using External Libraries as Dependencies
  • Asynchronous Module Definition
  • Defining AMD Modules
  • The Module Design Pattern
  • Define the Remaining Modules
  • Simplified CommonJS Wrapper
Loading Remote Modules
  • Define Remote Modules
  • Using Subdirectories
  • Performance Implications of Remote Modules
Optimization
  • Build Environment and Running r.js
  • Optimization Result
  • Debugging and Source Maps
  • Build Profiles
Configuration Options
  • Base Url
  • Paths
  • Shim
  • Config
  • WaitSeconds
  • Deps and Callback
  • UrlArgs
Plugins
  • Text Plugin
  • Handlebars Plugin
  • Custom Plugin
Unit Testing RequireJS Modules
  • Jasmine
  • Testing RequireJS Modules
  • Squire

ENQUIRE NOW