Mastering Backbone.js(Paperback)
暫譯: 精通 Backbone.js(平裝本)

Abiee Echamea

  • 出版商: Packt Publishing
  • 出版日期: 2016-01-15
  • 售價: $2,220
  • 貴賓價: 9.5$2,109
  • 語言: 英文
  • 頁數: 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 是一個流行的庫,用於構建單頁應用程式,因其靈活性、穩健性和簡單性而被全球許多初創公司使用。它允許您帶入自己的工具和庫,以自己的規則創建驚人的網頁應用程式。然而,由於其靈活性,使用它創建可擴展的應用程式並不總是容易。通過學習最佳實踐和項目組織,您將能夠使用 Backbone.js 創建可維護和可擴展的網頁應用程式。


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


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


掌握 Backbone.js 庫可能會很困難,但在這本書中,您將獲得創建應用程式所需的技能,並能夠在您的技術棧中使用任何其他庫。


您將學到什麼



  • 使用 Backbone.js 構建可擴展的網頁應用程式

  • 設計一個強大的架構,消除維護上的噩夢

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

  • 打包您的應用程式以部署到生產環境

  • 清理您的代碼組織,形成簡單且可維護的架構

  • 測試您的組件,增強對代碼的信心

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


關於作者


Abiee Echamea 是一位熱愛技術的軟體工程師;他在 8 歲時愛上了電腦,並在 12 歲時寫下了他的第一個程式。他使用多種技術編寫應用程式,從 Visual Basic 到全棧網頁應用程式。現在,Abiee 是一位軟體架構師,參與完整的開發週期,成功創建了許多 Backbone 應用程式,並設計架構和開發流程。他創立了一家公司,作為 CTO 與尖端技術合作。他已經發展出掌握 JavaScript 和 Backbone 庫的技能,以為他的公司構建可維護的項目。Abiee 喜歡與社群分享他的知識,並尋找提高他工程技能的方法。


目錄



  1. Backbone 應用程式的架構

  2. 管理視圖

  3. 模型綁定

  4. 模組化代碼

  5. 處理文件

  6. 在瀏覽器中存儲數據

  7. 像專業人士一樣構建

  8. 測試 Backbone 應用程式

  9. 部署到生產環境

  10. 身份驗證