Mastering Backbone.js(Paperback)

Abiee Echamea

  • 出版商: Packt Publishing
  • 出版日期: 2016-01-15
  • 售價: $2,130
  • 貴賓價: 9.5$2,024
  • 語言: 英文
  • 頁數: 278
  • 裝訂: Paperback
  • ISBN: 1783288493
  • ISBN-13: 9781783288496
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

商品描述

Key Features

  • 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

Book Description

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, 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.

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

About the Author

Abiee Echamea is a passionate technology software engineer; he fell in love with computers at the age of 8 and wrote his first program at 12. He has written applications in many technologies, from Visual Basic to full stack web applications. Now, Abiee is a software architect involved in the full development cycle, creating many Backbone applications successfully and designing the architecture and development process. He has founded a company to work with cutting-edge technology as a CTO. He has developed the skills to master the JavaScript and Backbone libraries to build maintainable projects for his company. Abiee loves to share his knowledge with the community and is looking for ways to improve his engineering skills.

Table of Contents

  1. Architecture of a Backbone application
  2. Managing Views
  3. Model Bindings
  4. Modular Code
  5. Dealing with Files
  6. Store data in the Browser
  7. Build Like a Pro
  8. Testing Backbone Applications
  9. Deploying to Production
  10. Authentication

商品描述(中文翻譯)

主要特點



  • 提升您的Backbone.js技能,並使用最佳實踐創建專業的網絡應用程序

  • 正確使用Backbone.js組件,避免維護困擾

  • 從應用程序設計到部署,改進您的開發工作流程

  • 應用本教程中提供的最佳實踐解決應用程序中的日常問題

書籍描述


Backbone.js是一個流行的庫,用於構建單頁應用程序,由許多初創公司在全球范圍內使用,因其靈活性、強大性和簡單性而受到青睞。它允許您自由選擇工具和庫,根據自己的規則創建令人驚嘆的Web應用程序。然而,由於其靈活性,使用它創建可擴展的應用程序並不總是容易的。通過學習最佳實踐和項目組織,您將能夠使用Backbone.js創建可維護和可擴展的Web應用程序。


通過本書,您將從組織Backbone.js應用程序開始,了解在哪裡放置每個模塊以及如何連接它們。從以邏輯和物理方式組織代碼,您將進一步界定視圖的責任並處理複雜的佈局。


在雙向綁定中同步模型可能很困難,而附加子資源可能更糟糕。下一章將解釋如何處理這些模型的策略。接下來的章節將幫助您管理項目中的模塊依賴性,探索將文件上傳到RESTful API並直接在瀏覽器中存儲信息以供Backbone.js使用的策略。在測試應用程序後,您準備將其部署到生產環境中。最後一章將涵蓋不同類型的授權。


Backbone.js庫可能很難掌握,但通過本書,您將獲得創建使用它的應用程序所需的技能,並且可以在堆棧中使用任何其他庫。

您將學到什麼



  • 使用Backbone.js構建可擴展的Web應用程序

  • 設計強大的架構,消除維護困擾

  • 在Backbone.js Web應用程序開發中使用常見模式和最佳實踐

  • 打包應用程序以部署到生產環境

  • 整理代碼組織,實現簡單且易於維護的架構

  • 測試組件並對代碼充滿信心

  • 處理常見情景,如文件上傳和登錄問題

關於作者


Abiee Echamea是一位熱情的技術軟件工程師;他在8歲時就迷上了計算機,12歲時寫下了他的第一個程序。他使用多種技術編寫應用程序,從Visual Basic到全棧Web應用程序。現在,Abiee是一位軟件架構師,參與完整的開發周期,成功創建了許多Backbone應用程序,並設計了架構和開發流程。他創辦了一家公司,作為首席技術官與尖端技術合作。他已經掌握了JavaScript和Backbone庫的技能,為公司建立可維護的項目。Abiee喜歡與社區分享他的知識,並尋找提高自己工程技能的方法。

目錄



  1. Backbone應用程序的架構

  2. 管理視圖

  3. 模型綁定

  4. 模塊化代碼

  5. 處理文件

  6. 在瀏覽器中存儲數據

  7. 像專業人士一樣構建

  8. 測試Backbone應用程序

  9. 部署到生產環境

  10. 身份驗證