Instant Dependency Management with RequireJS How-to [Instant]


This title is available as an eBook only
Instant Dependency Management with RequireJS How-to [Instant]
eBook: $14.99
Formats: PDF, PacktLib, ePub and Mobi formats
$12.74
save 15%!
Print & eBook also available on:
Learn in an Instant - Short, Fast, Focused
Overview
Table of Contents
Author
Reviews
Support
Sample Chapters
  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results
  • Filled with useful tips to improve the performance and maintainability of web applications
  • Contains valuable guidance to integrate popular third-party libraries, such as jQuery, the jQueryUI Widget Factory, and Backbone.js, with RequireJS
  • Includes extensive RequireJS plugin examples for dynamically rendering JavaScript templates, optimizing JavaScript files, and more

Book Details

Language : English
eBook : 42 pages
Release Date : May 2013
ISBN : 1782169067
ISBN 13 : 9781782169062
Author(s) : Greg Franko
Topics and Technologies : All Books, Instant, Web Development, Web Development, Web Development, Java, Open Source, Web Development

Table of Contents

Preface
Instant Dependency Management with RequireJS How-to
  • 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)

Greg Franko

Greg Franko is a 24-year-old JavaScript engineer at AddThis and the maintainer of several popular open source JavaScript projects. He is also a technical writer who blogs regularly at http://gregfranko.com and has contributed to the open source book, Backbone.js Fundamentals, O'Reilly Media.

He is currently a lead JavaScript developer for AddThis.com and the popular AddThis third-party tool suite. He has also worked as a software engineer at AOL where he created the mobile web registration apps for AOL.com, AOL Mail, MapQuest, Aim, and The Huffington Post.

Code Downloads

Download the code and support files for this book.


Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

Sorry, there are currently no downloads available for this title.

Frequently bought together

Instant Dependency Management with RequireJS How-to [Instant] +    Mastering Web Application Development with AngularJS =
50% Off
the second eBook
Price for both: $30.45

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

  • 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

In Detail

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.

Approach

Filled with practical, step-by-step instructions and clear explanations for the most important and useful tasks.A concise guide that delivers immediate results with practical recipes on customizing your projects.

Who this book is for

This book is for intermediate to advanced JavaScript developers who are interested in learning more about AMD specification and RequireJS.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software