Instant Dependency Management with RequireJS How-to

Optimize the performance and maintainability of your web applications with RequireJS
Preview in Mapt

Instant Dependency Management with RequireJS How-to

Greg Franko

1 customer reviews
Optimize the performance and maintainability of your web applications with RequireJS
Mapt Subscription
FREE
$29.99/m after trial
eBook
$10.50
RRP $14.99
Save 29%
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$10.50
$29.99 p/m after trial
RRP $14.99
Subscription
eBook
Start 14 Day Trial

Frequently bought together


Instant Dependency Management with RequireJS How-to Book Cover
Instant Dependency Management with RequireJS How-to
$ 14.99
$ 10.50
Modular Programming with JavaScript Book Cover
Modular Programming with JavaScript
$ 35.99
$ 25.20
Buy 2 for $28.00
Save $22.98
Add to Cart

Book Details

ISBN 139781782169062
Paperback42 pages

Book Description

Asynchronous Module Definition (AMD) script loaders are fast becoming one of the most popular tools for improving the performance and maintainability of front-end web applications. RequireJS stands out as the most popular AMD script loader, and comes packed with amazing features.

Instant Dependency Management with RequireJS How-to will guide you on how to improve the performance and maintainability of your JavaScript applications with RequireJS. You will learn simple to advanced techniques for converting your JavaScript application to an AMD workflow.

This hands-on guide will teach you both basic and advanced techniques when using the AMD script loader RequireJS.

It covers how to create AMD modules to make your web application more maintainable, how to use jQuery, jQueryUI, Backbone.js, Lodash.js, Jasmine, and other third-party libraries with RequireJS, how to incorporate RequireJS plugins to dynamically render JavaScript templates and optimize JavaScript files, and how to unit test a RequireJS application.

Table of Contents

Chapter 1: Instant Dependency Management with RequireJS How-to
Using RequireJS (Intermediate)
Setting RequireJS configurations (Intermediate)
Creating AMD modules (Advanced)
Using jQuery and jQueryUI Widget Factory plugins with RequireJS (Advanced)
Using Backbone.js and Lodash.js with RequireJS (Intermediate)
Separating mobile web and desktop logic with RequireJS (Intermediate)
Using JavaScript templates with the RequireJS text plugin (Intermediate)
Creating Jasmine unit tests with RequireJS (Intermediate)
Using the RequireJS optimizer (Advanced)

What You Will Learn

  • Investigate synchronous and asynchronous methods to kick start your application with RequireJS
  • Create application level RequireJS configuration settings
  • Explore reusable and non-reusable AMD modules
  • Use and create jQuery and jQueryUI Widget Factory plugins with RequireJS
  • Discover the best practices for using non-AMD compatible JavaScript files with RequireJS
  • Learn techniques for maintaining one codebase to support a mobile web and desktop application
  • Explore how to dynamically render Lodash templates with the RequireJS text plugin
  • Explore techniques for optimizing an entire JavaScript project with the RequireJS optimizer

Authors

Table of Contents

Chapter 1: Instant Dependency Management with RequireJS How-to
Using RequireJS (Intermediate)
Setting RequireJS configurations (Intermediate)
Creating AMD modules (Advanced)
Using jQuery and jQueryUI Widget Factory plugins with RequireJS (Advanced)
Using Backbone.js and Lodash.js with RequireJS (Intermediate)
Separating mobile web and desktop logic with RequireJS (Intermediate)
Using JavaScript templates with the RequireJS text plugin (Intermediate)
Creating Jasmine unit tests with RequireJS (Intermediate)
Using the RequireJS optimizer (Advanced)

Book Details

ISBN 139781782169062
Paperback42 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Modular Programming with JavaScript Book Cover
Modular Programming with JavaScript
$ 35.99
$ 25.20
Instant VMware View Virtualization How-to Book Cover
Instant VMware View Virtualization How-to
$ 19.99
$ 14.00
Docker: Creating Structured Containers Book Cover
Docker: Creating Structured Containers
$ 59.99
$ 42.00
HTML5 Graphing and Data Visualization Cookbook Book Cover
HTML5 Graphing and Data Visualization Cookbook
$ 29.99
$ 21.00
Complete Bootstrap: Responsive Web Development with Bootstrap 4 Book Cover
Complete Bootstrap: Responsive Web Development with Bootstrap 4
$ 35.99
$ 25.20
Learning ASP.NET Core 2.0 Book Cover
Learning ASP.NET Core 2.0
$ 35.99
$ 25.20