Mastering Backbone.js :: design and build scalable web applications using Backbone.js /
Design and build scalable web applications using Backbone.js About 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 appli...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Elektronisch E-Book |
Sprache: | English |
Veröffentlicht: |
Birmingham, UK :
Packt Publishing,
2016.
|
Schriftenreihe: | Community experience distilled.
|
Schlagworte: | |
Online-Zugang: | Volltext |
Zusammenfassung: | Design and build scalable web applications using Backbone.js About 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 applications Who This Book Is For This 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 issues In Detail Backbone.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, y... |
Beschreibung: | Includes index. |
Beschreibung: | 1 online resource (1 volume) : illustrations. |
ISBN: | 9781783288502 1783288507 |
Internformat
MARC
LEADER | 00000cam a2200000 i 4500 | ||
---|---|---|---|
001 | ZDB-4-EBA-ocn936180092 | ||
003 | OCoLC | ||
005 | 20241004212047.0 | ||
006 | m o d | ||
007 | cr cnu---unuuu | ||
008 | 160128s2016 enka o 001 0 eng d | ||
040 | |a UMI |b eng |e rda |e pn |c UMI |d OCLCO |d OCLCF |d DEBBG |d DEBSZ |d COO |d VT2 |d UOK |d CEF |d N$T |d AGLDB |d BTN |d AUW |d INTCL |d MHW |d SNK |d RDF |d QGK |d OCLCO |d OCLCQ |d OCLCO |d OCLCL |d OCLCQ | ||
019 | |a 1259086456 | ||
020 | |a 9781783288502 |q (electronic bk.) | ||
020 | |a 1783288507 |q (electronic bk.) | ||
020 | |z 9781783288496 | ||
020 | |z 1783288493 | ||
035 | |a (OCoLC)936180092 |z (OCoLC)1259086456 | ||
050 | 4 | |a TK5105.875.I6 | |
072 | 7 | |a COM |x 013000 |2 bisacsh | |
072 | 7 | |a COM |x 014000 |2 bisacsh | |
072 | 7 | |a COM |x 018000 |2 bisacsh | |
072 | 7 | |a COM |x 067000 |2 bisacsh | |
072 | 7 | |a COM |x 032000 |2 bisacsh | |
072 | 7 | |a COM |x 037000 |2 bisacsh | |
072 | 7 | |a COM |x 052000 |2 bisacsh | |
082 | 7 | |a 004.682 |2 23 | |
049 | |a MAIN | ||
100 | 1 | |a Echamea, Abiee, |e author. | |
245 | 1 | 0 | |a Mastering Backbone.js : |b design and build scalable web applications using Backbone.js / |c Abiee Echamea. |
264 | 1 | |a Birmingham, UK : |b Packt Publishing, |c 2016. | |
300 | |a 1 online resource (1 volume) : |b illustrations. | ||
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 | ||
490 | 1 | |a Community experience distilled | |
588 | 0 | |a Online resource; title from PDF title page (EBSCO, viewed January 4, 2019) | |
500 | |a Includes index. | ||
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 | |
505 | 8 | |a LayoutPutting 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 | |
505 | 8 | |a Express serverAttaching 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; Database versions; Creating stores; Delete a database | |
505 | 8 | |a Add elements to an object storePerforming 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 | |
505 | 8 | |a Getting started with JasmineExpectations; 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 | |
520 | |a Design and build scalable web applications using Backbone.js About 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 applications Who This Book Is For This 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 issues In Detail Backbone.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, y... | ||
650 | 0 | |a Web applications. |0 http://id.loc.gov/authorities/subjects/sh2012001728 | |
650 | 0 | |a Application software |x Development. |0 http://id.loc.gov/authorities/subjects/sh95009362 | |
650 | 0 | |a JavaScript (Computer program language) |0 http://id.loc.gov/authorities/subjects/sh96004880 | |
650 | 6 | |a Applications Web. | |
650 | 6 | |a Logiciels d'application |x Développement. | |
650 | 6 | |a JavaScript (Langage de programmation) | |
650 | 7 | |a COMPUTERS / Computer Literacy. |2 bisacsh | |
650 | 7 | |a COMPUTERS / Computer Science. |2 bisacsh | |
650 | 7 | |a COMPUTERS / Data Processing. |2 bisacsh | |
650 | 7 | |a COMPUTERS / Hardware / General. |2 bisacsh | |
650 | 7 | |a COMPUTERS / Information Technology. |2 bisacsh | |
650 | 7 | |a COMPUTERS / Machine Theory. |2 bisacsh | |
650 | 7 | |a COMPUTERS / Reference. |2 bisacsh | |
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 | |z 1-78328-849-3 | ||
830 | 0 | |a Community experience distilled. |0 http://id.loc.gov/authorities/names/no2011030603 | |
856 | 4 | 0 | |l FWS01 |p ZDB-4-EBA |q FWS_PDA_EBA |u https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=1157706 |3 Volltext |
938 | |a EBSCOhost |b EBSC |n 1157706 | ||
994 | |a 92 |b GEBAY | ||
912 | |a ZDB-4-EBA | ||
049 | |a DE-863 |
Datensatz im Suchindex
DE-BY-FWS_katkey | ZDB-4-EBA-ocn936180092 |
---|---|
_version_ | 1816882337743372288 |
adam_text | |
any_adam_object | |
author | Echamea, Abiee |
author_facet | Echamea, Abiee |
author_role | aut |
author_sort | Echamea, Abiee |
author_variant | a e ae |
building | Verbundindex |
bvnumber | localFWS |
callnumber-first | T - Technology |
callnumber-label | TK5105 |
callnumber-raw | TK5105.875.I6 |
callnumber-search | TK5105.875.I6 |
callnumber-sort | TK 45105.875 I6 |
callnumber-subject | TK - Electrical and Nuclear Engineering |
collection | ZDB-4-EBA |
contents | 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 LayoutPutting 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 serverAttaching 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; Database versions; Creating stores; Delete a database Add elements to an object storePerforming 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 JasmineExpectations; 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 |
ctrlnum | (OCoLC)936180092 |
dewey-full | 004.682 |
dewey-hundreds | 000 - Computer science, information, general works |
dewey-ones | 004 - Computer science |
dewey-raw | 004.682 |
dewey-search | 004.682 |
dewey-sort | 14.682 |
dewey-tens | 000 - Computer science, information, general works |
discipline | Informatik |
format | Electronic eBook |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>08519cam a2200769 i 4500</leader><controlfield tag="001">ZDB-4-EBA-ocn936180092</controlfield><controlfield tag="003">OCoLC</controlfield><controlfield tag="005">20241004212047.0</controlfield><controlfield tag="006">m o d </controlfield><controlfield tag="007">cr cnu---unuuu</controlfield><controlfield tag="008">160128s2016 enka o 001 0 eng d</controlfield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">UMI</subfield><subfield code="b">eng</subfield><subfield code="e">rda</subfield><subfield code="e">pn</subfield><subfield code="c">UMI</subfield><subfield code="d">OCLCO</subfield><subfield code="d">OCLCF</subfield><subfield code="d">DEBBG</subfield><subfield code="d">DEBSZ</subfield><subfield code="d">COO</subfield><subfield code="d">VT2</subfield><subfield code="d">UOK</subfield><subfield code="d">CEF</subfield><subfield code="d">N$T</subfield><subfield code="d">AGLDB</subfield><subfield code="d">BTN</subfield><subfield code="d">AUW</subfield><subfield code="d">INTCL</subfield><subfield code="d">MHW</subfield><subfield code="d">SNK</subfield><subfield code="d">RDF</subfield><subfield code="d">QGK</subfield><subfield code="d">OCLCO</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">OCLCO</subfield><subfield code="d">OCLCL</subfield><subfield code="d">OCLCQ</subfield></datafield><datafield tag="019" ind1=" " ind2=" "><subfield code="a">1259086456</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781783288502</subfield><subfield code="q">(electronic bk.)</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">1783288507</subfield><subfield code="q">(electronic bk.)</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="z">9781783288496</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="z">1783288493</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)936180092</subfield><subfield code="z">(OCoLC)1259086456</subfield></datafield><datafield tag="050" ind1=" " ind2="4"><subfield code="a">TK5105.875.I6</subfield></datafield><datafield tag="072" ind1=" " ind2="7"><subfield code="a">COM</subfield><subfield code="x">013000</subfield><subfield code="2">bisacsh</subfield></datafield><datafield tag="072" ind1=" " ind2="7"><subfield code="a">COM</subfield><subfield code="x">014000</subfield><subfield code="2">bisacsh</subfield></datafield><datafield tag="072" ind1=" " ind2="7"><subfield code="a">COM</subfield><subfield code="x">018000</subfield><subfield code="2">bisacsh</subfield></datafield><datafield tag="072" ind1=" " ind2="7"><subfield code="a">COM</subfield><subfield code="x">067000</subfield><subfield code="2">bisacsh</subfield></datafield><datafield tag="072" ind1=" " ind2="7"><subfield code="a">COM</subfield><subfield code="x">032000</subfield><subfield code="2">bisacsh</subfield></datafield><datafield tag="072" ind1=" " ind2="7"><subfield code="a">COM</subfield><subfield code="x">037000</subfield><subfield code="2">bisacsh</subfield></datafield><datafield tag="072" ind1=" " ind2="7"><subfield code="a">COM</subfield><subfield code="x">052000</subfield><subfield code="2">bisacsh</subfield></datafield><datafield tag="082" ind1="7" ind2=" "><subfield code="a">004.682</subfield><subfield code="2">23</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">MAIN</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Echamea, Abiee,</subfield><subfield code="e">author.</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Mastering Backbone.js :</subfield><subfield code="b">design and build scalable web applications using Backbone.js /</subfield><subfield code="c">Abiee Echamea.</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Birmingham, UK :</subfield><subfield code="b">Packt Publishing,</subfield><subfield code="c">2016.</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">1 online resource (1 volume) :</subfield><subfield code="b">illustrations.</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="a">text</subfield><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="a">computer</subfield><subfield code="b">c</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="a">online resource</subfield><subfield code="b">cr</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="347" ind1=" " ind2=" "><subfield code="a">text file</subfield></datafield><datafield tag="490" ind1="1" ind2=" "><subfield code="a">Community experience distilled</subfield></datafield><datafield tag="588" ind1="0" ind2=" "><subfield code="a">Online resource; title from PDF title page (EBSCO, viewed January 4, 2019)</subfield></datafield><datafield tag="500" ind1=" " ind2=" "><subfield code="a">Includes index.</subfield></datafield><datafield tag="505" ind1="0" ind2=" "><subfield code="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</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="a">LayoutPutting 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</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="a">Express serverAttaching 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; Database versions; Creating stores; Delete a database</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="a">Add elements to an object storePerforming 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</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="a">Getting started with JasmineExpectations; 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</subfield></datafield><datafield tag="520" ind1=" " ind2=" "><subfield code="a">Design and build scalable web applications using Backbone.js About 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 applications Who This Book Is For This 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 issues In Detail Backbone.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, y...</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Web applications.</subfield><subfield code="0">http://id.loc.gov/authorities/subjects/sh2012001728</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Application software</subfield><subfield code="x">Development.</subfield><subfield code="0">http://id.loc.gov/authorities/subjects/sh95009362</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">JavaScript (Computer program language)</subfield><subfield code="0">http://id.loc.gov/authorities/subjects/sh96004880</subfield></datafield><datafield tag="650" ind1=" " ind2="6"><subfield code="a">Applications Web.</subfield></datafield><datafield tag="650" ind1=" " ind2="6"><subfield code="a">Logiciels d'application</subfield><subfield code="x">Développement.</subfield></datafield><datafield tag="650" ind1=" " ind2="6"><subfield code="a">JavaScript (Langage de programmation)</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">COMPUTERS / Computer Literacy.</subfield><subfield code="2">bisacsh</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">COMPUTERS / Computer Science.</subfield><subfield code="2">bisacsh</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">COMPUTERS / Data Processing.</subfield><subfield code="2">bisacsh</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">COMPUTERS / Hardware / General.</subfield><subfield code="2">bisacsh</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">COMPUTERS / Information Technology.</subfield><subfield code="2">bisacsh</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">COMPUTERS / Machine Theory.</subfield><subfield code="2">bisacsh</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">COMPUTERS / Reference.</subfield><subfield code="2">bisacsh</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Application software</subfield><subfield code="x">Development</subfield><subfield code="2">fast</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">JavaScript (Computer program language)</subfield><subfield code="2">fast</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Web applications</subfield><subfield code="2">fast</subfield></datafield><datafield tag="758" ind1=" " ind2=" "><subfield code="i">has work:</subfield><subfield code="a">Mastering Backbone.js (Text)</subfield><subfield code="1">https://id.oclc.org/worldcat/entity/E39PD37jThg4mjcwkmd8Tjqt4y</subfield><subfield code="4">https://id.oclc.org/worldcat/ontology/hasWork</subfield></datafield><datafield tag="776" ind1=" " ind2=" "><subfield code="z">1-78328-849-3</subfield></datafield><datafield tag="830" ind1=" " ind2="0"><subfield code="a">Community experience distilled.</subfield><subfield code="0">http://id.loc.gov/authorities/names/no2011030603</subfield></datafield><datafield tag="856" ind1="4" ind2="0"><subfield code="l">FWS01</subfield><subfield code="p">ZDB-4-EBA</subfield><subfield code="q">FWS_PDA_EBA</subfield><subfield code="u">https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=1157706</subfield><subfield code="3">Volltext</subfield></datafield><datafield tag="938" ind1=" " ind2=" "><subfield code="a">EBSCOhost</subfield><subfield code="b">EBSC</subfield><subfield code="n">1157706</subfield></datafield><datafield tag="994" ind1=" " ind2=" "><subfield code="a">92</subfield><subfield code="b">GEBAY</subfield></datafield><datafield tag="912" ind1=" " ind2=" "><subfield code="a">ZDB-4-EBA</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-863</subfield></datafield></record></collection> |
id | ZDB-4-EBA-ocn936180092 |
illustrated | Illustrated |
indexdate | 2024-11-27T13:27:01Z |
institution | BVB |
isbn | 9781783288502 1783288507 |
language | English |
oclc_num | 936180092 |
open_access_boolean | |
owner | MAIN DE-863 DE-BY-FWS |
owner_facet | MAIN DE-863 DE-BY-FWS |
physical | 1 online resource (1 volume) : illustrations. |
psigel | ZDB-4-EBA |
publishDate | 2016 |
publishDateSearch | 2016 |
publishDateSort | 2016 |
publisher | Packt Publishing, |
record_format | marc |
series | Community experience distilled. |
series2 | Community experience distilled |
spelling | Echamea, Abiee, author. Mastering Backbone.js : design and build scalable web applications using Backbone.js / Abiee Echamea. Birmingham, UK : Packt Publishing, 2016. 1 online resource (1 volume) : illustrations. text txt rdacontent computer c rdamedia online resource cr rdacarrier text file Community experience distilled Online resource; title from PDF title page (EBSCO, viewed January 4, 2019) Includes index. 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 LayoutPutting 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 serverAttaching 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; Database versions; Creating stores; Delete a database Add elements to an object storePerforming 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 JasmineExpectations; 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 Design and build scalable web applications using Backbone.js About 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 applications Who This Book Is For This 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 issues In Detail Backbone.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, y... Web applications. http://id.loc.gov/authorities/subjects/sh2012001728 Application software Development. http://id.loc.gov/authorities/subjects/sh95009362 JavaScript (Computer program language) http://id.loc.gov/authorities/subjects/sh96004880 Applications Web. Logiciels d'application Développement. JavaScript (Langage de programmation) COMPUTERS / Computer Literacy. bisacsh COMPUTERS / Computer Science. bisacsh COMPUTERS / Data Processing. bisacsh COMPUTERS / Hardware / General. bisacsh COMPUTERS / Information Technology. bisacsh COMPUTERS / Machine Theory. bisacsh COMPUTERS / Reference. bisacsh Application software Development fast JavaScript (Computer program language) fast Web applications fast has work: Mastering Backbone.js (Text) https://id.oclc.org/worldcat/entity/E39PD37jThg4mjcwkmd8Tjqt4y https://id.oclc.org/worldcat/ontology/hasWork 1-78328-849-3 Community experience distilled. http://id.loc.gov/authorities/names/no2011030603 FWS01 ZDB-4-EBA FWS_PDA_EBA https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=1157706 Volltext |
spellingShingle | Echamea, Abiee Mastering Backbone.js : design and build scalable web applications using Backbone.js / Community experience distilled. 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 LayoutPutting 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 serverAttaching 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; Database versions; Creating stores; Delete a database Add elements to an object storePerforming 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 JasmineExpectations; 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 Web applications. http://id.loc.gov/authorities/subjects/sh2012001728 Application software Development. http://id.loc.gov/authorities/subjects/sh95009362 JavaScript (Computer program language) http://id.loc.gov/authorities/subjects/sh96004880 Applications Web. Logiciels d'application Développement. JavaScript (Langage de programmation) COMPUTERS / Computer Literacy. bisacsh COMPUTERS / Computer Science. bisacsh COMPUTERS / Data Processing. bisacsh COMPUTERS / Hardware / General. bisacsh COMPUTERS / Information Technology. bisacsh COMPUTERS / Machine Theory. bisacsh COMPUTERS / Reference. bisacsh Application software Development fast JavaScript (Computer program language) fast Web applications fast |
subject_GND | http://id.loc.gov/authorities/subjects/sh2012001728 http://id.loc.gov/authorities/subjects/sh95009362 http://id.loc.gov/authorities/subjects/sh96004880 |
title | Mastering Backbone.js : design and build scalable web applications using Backbone.js / |
title_auth | Mastering Backbone.js : design and build scalable web applications using Backbone.js / |
title_exact_search | Mastering Backbone.js : design and build scalable web applications using Backbone.js / |
title_full | Mastering Backbone.js : design and build scalable web applications using Backbone.js / Abiee Echamea. |
title_fullStr | Mastering Backbone.js : design and build scalable web applications using Backbone.js / Abiee Echamea. |
title_full_unstemmed | Mastering Backbone.js : design and build scalable web applications using Backbone.js / Abiee Echamea. |
title_short | Mastering Backbone.js : |
title_sort | mastering backbone js design and build scalable web applications using backbone js |
title_sub | design and build scalable web applications using Backbone.js / |
topic | Web applications. http://id.loc.gov/authorities/subjects/sh2012001728 Application software Development. http://id.loc.gov/authorities/subjects/sh95009362 JavaScript (Computer program language) http://id.loc.gov/authorities/subjects/sh96004880 Applications Web. Logiciels d'application Développement. JavaScript (Langage de programmation) COMPUTERS / Computer Literacy. bisacsh COMPUTERS / Computer Science. bisacsh COMPUTERS / Data Processing. bisacsh COMPUTERS / Hardware / General. bisacsh COMPUTERS / Information Technology. bisacsh COMPUTERS / Machine Theory. bisacsh COMPUTERS / Reference. bisacsh Application software Development fast JavaScript (Computer program language) fast Web applications fast |
topic_facet | Web applications. Application software Development. JavaScript (Computer program language) Applications Web. Logiciels d'application Développement. JavaScript (Langage de programmation) COMPUTERS / Computer Literacy. COMPUTERS / Computer Science. COMPUTERS / Data Processing. COMPUTERS / Hardware / General. COMPUTERS / Information Technology. COMPUTERS / Machine Theory. COMPUTERS / Reference. Application software Development Web applications |
url | https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=1157706 |
work_keys_str_mv | AT echameaabiee masteringbackbonejsdesignandbuildscalablewebapplicationsusingbackbonejs |