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

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.99p/m after trial
RRP $14.99
Subscription
eBook
Start 30 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
Instant Data Intensive Apps with pandas How-to Book Cover
Instant Data Intensive Apps with pandas How-to
$ 14.99
$ 10.50
Buy 2 for $21.00
Save $8.98
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

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

Read More Reviews

Recommended for You

Mastering Web Application Development with AngularJS Book Cover
Mastering Web Application Development with AngularJS
$ 26.99
$ 5.40
Responsive Web Design with HTML5 and CSS3 Book Cover
Responsive Web Design with HTML5 and CSS3
$ 23.99
$ 4.80
AngularJS Web Application Development Blueprints Book Cover
AngularJS Web Application Development Blueprints
$ 29.99
$ 21.00
Getting Started with Grunt: The JavaScript Task Runner Book Cover
Getting Started with Grunt: The JavaScript Task Runner
$ 20.99
$ 14.70
AngularJS UI Development Book Cover
AngularJS UI Development
$ 26.99
$ 18.90
Twitter Bootstrap Web Development How-To Book Cover
Twitter Bootstrap Web Development How-To
$ 12.99
$ 9.10