Зарегистрироваться
Восстановить пароль
FAQ по входу

Sulc D. Structuring Backbone Code with RequireJS and Marionette Modules: Learn to use javascript AMD in your apps the easy way

  • Файл формата pdf
  • размером 1,77 МБ
  • Добавлен пользователем
  • Отредактирован
Sulc D. Structuring Backbone Code with RequireJS and Marionette Modules: Learn to use javascript AMD in your apps the easy way
Leanpub, 2013. — 122 p. — ISBN: n/a.
На англ. языке.

Due to popular demand from well-received previous book on Marionette (Backbone.Marionette.js: A Gentle Introduction), author have taken the Contact Manager application developed in that book and rebuilt it using RequireJS to load dependencies.
Who This Book is For:
Essentially, this book is written as a sequel of sorts to first book. If you want to learn about using RequireJS and AMD (Asynchronous Module Definition) to use in your own applications, you should be fine following along provided you're comfortable with Marionette and its modules, as well as the Contact Manager application (see its source code). In other words, this book does not cover how to develop a Marionette application, only how to use RequireJS to manage dependencies and optimization/minification. If you want to learn how to create a Marionette application, refer to Backbone.Marionette.js: A Gentle Introduction book.
What You'll Learn:
Rebuilding the existing Contact Manager application, but using RequireJS to load all dependencies (other modules, libraries, templates, etc.). Common errors and their likely cause will be discussed, so you can debug your own projects more easily. Running the r.js optimizer to generate a single, minified js file will be demonstrated. In addition, you will actually understand and learn how to "think AMD" and how to apply that mindset to your own projects.
Starting/stopping sub-applications to improve performance will be demonstrated, as well as loading libraries from a CDN, with a local fallback.
  • Чтобы скачать этот файл зарегистрируйтесь и/или войдите на сайт используя форму сверху.
  • Регистрация