Cargando…

Mastering Backbone.js.

Annotation

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Echamea, Abiee
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Packt Publishing, 2016.
Temas:
Acceso en línea:Texto completo

MARC

LEADER 00000cam a22000007a 4500
001 EBOOKCENTRAL_ocn935641310
003 OCoLC
005 20240329122006.0
006 m o d
007 cr |n|||||||||
008 160122s2016 xx o 000 0 eng d
040 |a IDEBK  |b eng  |e pn  |c IDEBK  |d YDXCP  |d VT2  |d COO  |d EBLCP  |d DEBSZ  |d NLE  |d OCLCO  |d OCLCF  |d OCLCQ  |d DEBBG  |d FEM  |d IDB  |d OCLCQ  |d MERUC  |d OCLCQ  |d WYU  |d LVT  |d AGLDB  |d G3B  |d IGB  |d UKAHL  |d UKMGB  |d OCLCQ  |d OCLCO  |d K6U  |d OCLCQ  |d OCLCO  |d OCLCL 
015 |a GBB619152  |2 bnb 
016 7 |a 017728815  |2 Uk 
019 |a 935988929  |a 968017690  |a 969034981 
020 |a 1783288507  |q (ebk) 
020 |a 9781783288502  |q (ebk) 
020 |a 9781783288496 
020 |a 1783288493 
020 |z 1783288493 
024 3 |a 9781783288496 
029 1 |a AU@  |b 000062539969 
029 1 |a AU@  |b 000066232179 
029 1 |a AU@  |b 000067114539 
029 1 |a DEBBG  |b BV043893468 
029 1 |a DEBSZ  |b 473885417 
029 1 |a UKMGB  |b 017728815 
035 |a (OCoLC)935641310  |z (OCoLC)935988929  |z (OCoLC)968017690  |z (OCoLC)969034981 
037 |a 888760  |b MIL 
050 4 |a T55.4-60.8 
082 0 4 |a 006.76  |2 23 
049 |a UAMI 
100 1 |a Echamea, Abiee. 
245 1 0 |a Mastering Backbone.js. 
260 |b Packt Publishing,  |c 2016. 
300 |a 1 online resource 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
347 |a text file 
588 0 |a Print version record. 
520 8 |a Annotation  |b Design and build scalable web applications using Backbone.jsAbout This Book Level up your Backbone.js skills and create professional web applications with the best practices Use the Backbone.js components in the right way and avoid maintenance nightmares Improve your development workflow from application design to deployment Apply the best practices given in this tutorial to solve day-to-day problems in your applicationsWho This Book Is ForThis book is for those developers who know the basic concepts of Backbone.js and want to build scalable applications with it. If you are looking for the best practices of using Backbone.js applied to real work applications, this book is for you. You will be able to apply architectural principles to create amazing web applications easily. What You Will Learn Build web applications that scale with Backbone.js Design a powerful architecture that eliminates maintenance nightmares Use common patterns and best practices in Backbone.js web applications developments Pack your applications to be deployed to production environments Clean up your code organization to a simple and maintainable architecture Test your components and get confidence with your code Deal with common scenarios like file uploading and login issuesIn DetailBackbone.js is a popular library to build single page applications used by many start-ups around the world because of its flexibility, robustness and simplicity. It allows you to bring your own tools and libraries to make amazing webapps with your own rules. However, due to its flexibility it is not always easy to create scalable applications with it. By learning the best practices and project organization you will be able to create maintainable and scalable web applications with Backbone.js. With this book you will start right from organizing your Backbone.js application to learn where to put each module and how to wire them. From organizing your code in a logical and physical way, you will go on to delimit view responsibilities and work with complex layouts. Synchronizing models in a two-way binding can be difficult and with sub resources attached it can be even worse. The next chapter will explain strategies for how to deal with these models. The following chapters will help you to manage module dependencies on your projects, explore strategies to upload files to a RESTful API and store information directly in the browser for using it with Backbone.js. After testing your application, you are ready to deploy it to your production environment. The final chapter will cover different flavors of authorization. The Backbone.js library can be difficult to master, but in this book you will get the necessary skill set to create applications with it, and you will be able to use any other library you want in your stack. Style and approachThis book takes a tutorial approach to help you scale your Backbone.js applications. It builds a web application using the best practices and applies architectural design principles to develop maintainable web-apps. Each chapter explains the design decisions and improves the project that is used as an example alongside the book. 
505 0 |a Cover -- Copyright -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Table of Contents -- Preface -- Chapter 1: Architecture of a Backbone application -- Subapplications based architecture -- Subapplication anatomy -- Responsibilities of Backbone objects -- Views -- Models -- Collections -- Routers -- Objects not provided by Backbone -- Subapplication façade -- Subapplication controller -- Contacts application -- File organization -- Summary -- Chapter 2: Managing Views -- Identifying view types -- ModelView -- CollectionView -- Adding new models -- Deleting models -- Destroying views -- Resetting the collection -- Region -- Layout -- Putting it all together -- Showing a list -- Showing the details -- Editing information -- Rendering third-party plugins -- Conclusions -- Chapter 3: Model Bindings -- Manual binding -- Two-way binding -- References -- Data binding with plugins -- Binding embedded data -- Binding an embedded list -- Validating model data -- Manual validation -- Validating with the Backbone. Validation plugin -- Summary -- Chapter 4: Modular Code -- CommonJS modules -- NPM and package.json -- Browserify -- Application dependency -- Using Browserify in the app -- Solving cyclic dependency -- Modularizing templates -- Summary -- Chapter 5: Dealing with Files -- Express server -- Attaching a file into a resource -- Uploading the avatar photo to contacts -- Showing the avatar -- Uploading images from Backbone -- Uploading a file with AJAX -- Uploading the avatar image at creation time -- Encoding the upload file -- Summary -- Chapter 6: Store data in the Browser -- The localStorage -- Starting with localStorage -- Backbone and localStorage -- Store models in localStorage -- Store Backbone models in localStorage -- Backbone.sync -- Using localStorage as cache -- IndexedDB -- Getting started with IndexedDB. 
505 8 |a Database versions -- Creating stores -- Delete a database -- Add elements to an object store -- Performing queries -- Delete objects in the store -- IndexedDB in Backbone -- Summary -- Chapter 7: Build Like a Pro -- Development workflow -- What's a task runner? -- How Gulp works -- Getting started with Gulp -- Creating a development workflow -- Bundling the JavaScript files with Browserify -- Sourcemaps -- Re-bundle automatically -- BrowserSync -- Run server with Express -- Creating a production workflow -- Gulp useref -- Image Optimization -- Fonts -- Bundle JavaScript files for production -- Putting it all together -- Summary -- Chapter 8: Testing Backbone Applications -- Testing tools -- Getting started with Jasmine -- Expectations -- Testing asynchronous code -- Karma test runner -- What and how to test Backbone applications -- Testing models and collections -- Testing views -- Testing controllers -- Mocking dependencies -- Fake objects -- Testing ContactEditor -- Testing the subapplication Façade -- Summary -- Chapter 9: Deploying to Production -- Heroku -- Dynos -- Getting started with Heroku -- Production environment -- The HTTP Server -- Do not run as root -- Process Management -- Summary -- Chapter 10: Authentication -- Stateless API authentication -- HTTP Basic authentication -- The OAuth2 authentication -- Service applications -- OAuth2 grant types -- Authorization code grant -- Implicit Grant -- Resource Owner Password Credentials Grant -- Client credentials grant -- Resume -- Implementing HTTP Basic Authentication -- Implementing OAuth authentication -- Summary -- Index. 
590 |a ProQuest Ebook Central  |b Ebook Central Academic Complete 
650 0 |a Web applications. 
650 0 |a Application software  |x Development. 
650 0 |a JavaScript (Computer program language) 
650 6 |a Applications Web. 
650 6 |a Logiciels d'application  |x Développement. 
650 6 |a JavaScript (Langage de programmation) 
650 7 |a Application software  |x Development  |2 fast 
650 7 |a JavaScript (Computer program language)  |2 fast 
650 7 |a Web applications  |2 fast 
758 |i has work:  |a Mastering Backbone.js (Text)  |1 https://id.oclc.org/worldcat/entity/E39PD37jThg4mjcwkmd8Tjqt4y  |4 https://id.oclc.org/worldcat/ontology/hasWork 
776 0 8 |i Erscheint auch als:  |n Druck-Ausgabe  |t Echamea, Abiee. Mastering Backbone.js 
856 4 0 |u https://ebookcentral.uam.elogim.com/lib/uam-ebooks/detail.action?docID=4520708  |z Texto completo 
936 |a BATCHLOAD 
938 |a Askews and Holts Library Services  |b ASKH  |n AH29981684 
938 |a EBL - Ebook Library  |b EBLB  |n EBL4520708 
938 |a ProQuest MyiLibrary Digital eBook Collection  |b IDEB  |n cis33551918 
938 |a YBP Library Services  |b YANK  |n 12814488 
994 |a 92  |b IZTAP