Beginning Backbone.js

  • 4h 15m
  • James Sugrue
  • Apress
  • 2014

Beginning Backbone.js is your step-by-step guide to learning and using the Backbone.js library in your web projects. Backbone.js is one of the most popular JavaScript libraries among web developers, used to create modular, single-page web apps. This book takes you from downloading Backbone.js and its dependencies all the way to using more advanced libraries to structure your application architecture, and everything in between.

With a real-world, practical approach, you will learn how you can integrate Backbone.js into the center of your JavaScript stack, and create scalable applications. James Sugrue shows you how to implement all aspects of templating, work efficiently with RequireJS, and fully understand Grunt and all its plug-ins. Armed with this knowledge you'll be able to architect a continuous integration system that is key to real-world applications.

With the explosion of JavaScript-based applications on the web, the need for more structured approaches to code management is more important than ever. Backbone.js helps create applications that separate models from views, enabling developers to avoid spaghetti code. Beginning Backbone.js, will gently guide you into this amazingly powerful library, and help you ramp up to building professional applications. Integrate Backbone.js into your work today with this indispensable book.

What you’ll learn

  • Learn the importance of MVC approaches in software development
  • Learn why Backbone.js is so popular and how to integrate it into your JavaScript stack
  • Understand core Backbone.js concepts such as models, views, routers, and events
  • Test your application using the latest JavaScript testing tools
  • Create build scripts using Grunt.js to simplify your build and deployment workflow
  • Use additional libraries to build on the power of Backbone.js
  • Avoid common beginner errors and code using best practices

Who this book is for

Beginning Backbone.js is for the web developer who is already confident with JavaScript, but who is keen to build larger, single-page web apps. If you want to introduce more structure, quality, and process to your web application using Backbone.js, and other leading JavaScript technologies, this is the book for you.

About the Author

James Sugrue has worked in the software development industry for over 13 years. He is currently based in Cork, Ireland, working as Principal Front-End Architect for Carma, a real-time transportation startup. James began his career with a German safety automation company, working his way from graduate to architect, while helping to shape the company's technology roadmap.

Always on the lookout for new and exciting technologies, James lives to code and spends much of his spare time building mobile and web application for fun. He has also been a regular editor at JavaLobby and EclipseZone for over 5 years. This is his first book.

In this Book

  • An Introduction to Backbone.js
  • Getting Object-Oriented
  • Backbone Models and Collections
  • Backbone View and Templating Libraries
  • Routers and Events
  • From Start to Finish: A Complete App Example
  • The Backbone Ecosystem
  • Testing Your Backbone.js Application
  • Using Grunt for Your Build Process
  • Extending Backbone with Marionette and Thorax
  • Best Practices with Backbone
  • Creating a Manageable JavaScript Code Base
SHOW MORE
FREE ACCESS