Tutorials, blog posts and example sites jashkenasbackbone wiki. Documentcloud is built entirely on open source software, and is the originator of several notable open source projects, including backbone. This isnt by any means a replacement for the official documentation, selection from developing backbone. Backbonejs is a javascript library, built by jeremy ashkenas and maintained by a team of contributors. Sign in sign up instantly share code, notes, and snippets. This book is suitable for javascript developers who want to learn. This article will be appearing in my forthcoming book on backbone. Marionette and thorax, two extension frameworks which add features to backbone. We previously looked at jasmine and will now look at qunit and sinonjs. Click download or read online button to get backbone js pdf book now.
Backbone basics in this section, youll learn the essentials of backbone s models, views, collections, events, and routers. Backbone is known for being lightweight, as its only hard dependency is on one javascript library, underscore. His book starts with an indepth discussion of the mvc pattern, and continues to a number of different backbone examples, such as an editor of todo lists and a small library editor. Give your js app some backbone with models, views, collections, and events. Usa today the new website also makes heavy use of the backbone router to control the page for. Along with a slew of tweaks and bug fixes, the most notable new feature is html5 pushstate support, which you can see in action by trying a search in documentcloud s public archive. Backbone js slides free download as powerpoint presentation. Since then, it has undergone tremendous growth and adoption in the developer community. If models tend to represent a single row of data, a backbone collection is more analogous to a table full of data or a small slice or page of that table, or a collection of rows that belong together for a particular reason all of the messages in this particular folder, all of the documents belonging to this particular author, and so on. If you want to build your sites frontend with the singlepage application spa model, this handson book shows you how to get the job done with backbone. Today i decided to take a quick look at the backbone. The setup in this chapter we will be going over how to download our sample project and setup a development environment so you can get started writing code.
Backbone supplies structure to javascriptheavy applications by providing models with keyvalue binding and custom events, collections with a rich api of enumerable functions, views with declarative event handling, and connects it all to your existing application over a restful json interface. Documentcloud is an opensource software as a service platform that allows users to upload, analyze, annotate, collaborate on and publish primary source documents. I dont think that one book or tutorial would be enough to learn backbone. This is a mirrored collection of documents from document cloud. Its possible to update the information on backbone. Based on the traditional modelviewcontroller mvc design pattern, it ensures that the communication between a server and a client is done entirely through a restful json api. Net mvc gives you a powerful, patternsbased way to build dynamic websites that enables a clean separation of concerns and that gives you full control over markup for enjoyable, agile development.
Download backbone js pdf or read backbone js pdf online books in pdf, epub and mobi format. Backbone is the javascript library that documentcloud uses to build out the workspace where reporters can upload, edit and organize their primary source documents. Documentcloud is a platform founded on the belief that if journalists were more open about their sourcing, the public would be more inclined to trust their reporting. Note if the content not found, you must refresh this page manually. The platform is a tool to help journalists share, analyze, annotate and, ultimately, publish source documents to the open web. It made it easier for me to wrap my head around the concepts. To avoid confusion, the backbone developers changed the name to router. Another little piece of documentcloud is now available. Its a decent book, and a great next step for anyone thats a budding backbone developer that has got the basics down and wants to take their skills to the next level. However there are a ton more resources out there since this was first published over a year and a half ago.
A collection of strategies to accelerate development with backbone. Chapter 6, backbone extensions, describes backbone. If youre already comfortable with git, jquery, underscore. Backbone is an opensource component of documentcloud. Since its launch in 2009, it has been used primarily by journalists to find information in the documents they. Interactive application architecture patterns if you dont already have an idea of how application architecture patterns mvc, mvp, etc. Still, the book would have been better if it had done a linebyline explanation instead of just summarizing. To get started with backbone, simply download these three libraries minified versions are available and add the scripts to your index. Jeremy ashkenas is a graphics editor on the investigations desk. Give your js app some backbone with models, views, collections, and. Views allow you to take advantage of reusable components and provide a more modular infrastructure. He joined the times in 2011 and previously worked in interactive news.
434 1136 610 1219 792 288 1447 739 877 677 504 927 174 439 141 494 655 1163 498 1087 926 93 1300 742 21 715 1316 1251 3 1002