Pro Ember Data: Getting Ember Data to Work with Your API
暫譯: Pro Ember Data:讓 Ember Data 與您的 API 協同工作
Tang, David
- 出版商: Apress
- 出版日期: 2020-12-13
- 售價: $1,510
- 貴賓價: 9.5 折 $1,435
- 語言: 英文
- 頁數: 190
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1484265602
- ISBN-13: 9781484265604
海外代購書籍(需單獨結帳)
商品描述
Learn how to work with Ember Data efficiently, from APIs, adapters, and serializers to polymorphic relationships, using your existing JavaScript and Ember knowledge. This book will teach you how to adapt Ember Data to fit your custom API.
Have a custom API that you aren't sure how to use with Ember Data? Interested in writing your own adapter or serializer? Want to just know more about how Ember Data works? This is the Ember Data book you have been waiting for.
Lots of books and tutorials start off teaching Ember with Ember Data. This is great, especially if you are in control of your API, but what if you aren't? You do a little research and start seeing terminology like adapters, serializers, transforms, and snapshots, and quickly become overwhelmed. Maybe you've thought to yourself that Ember isn't for you. Well, if this sounds familiar, then this book is for you.
What You'll Learn
- Review the differences between normalization and serialization
- Understand how the built-in adapters and serializers in Ember Data work
- Customize adapters and serializers to consume any API and write them from scratch
- Handle API errors in Ember Data
- Work with the Reddit API using Ember Data
- Learn how to use polymorphic relationships
Who This Book Is For
Anyone with an interest in learning more about Ember Data and how to adapt it to any API. People who read this book should be familiar with the basics of Ember and JavaScript.
商品描述(中文翻譯)
學習如何有效地使用 Ember Data,從 API、適配器和序列化器到多型關係,利用您現有的 JavaScript 和 Ember 知識。本書將教您如何調整 Ember Data 以適應您的自定義 API。
有一個自定義 API,但您不確定如何與 Ember Data 一起使用?有興趣編寫自己的適配器或序列化器?想要了解更多有關 Ember Data 的運作方式?這就是您一直在等待的 Ember Data 書籍。
許多書籍和教程都是從教 Ember 和 Ember Data 開始的。這很好,特別是當您能控制自己的 API 時,但如果您無法控制呢?您進行了一些研究,開始看到像適配器、序列化器、轉換和快照等術語,並迅速感到不知所措。也許您曾經想過 Ember 不適合您。如果這聽起來很熟悉,那麼這本書就是為您而寫的。
您將學到什麼
- 回顧標準化和序列化之間的差異
- 了解 Ember Data 中內建的適配器和序列化器如何運作
- 自定義適配器和序列化器以消耗任何 API 並從頭開始編寫它們
- 在 Ember Data 中處理 API 錯誤
- 使用 Ember Data 與 Reddit API 進行互動
- 學習如何使用多型關係
本書適合誰
對學習更多有關 Ember Data 及如何將其調整為任何 API 感興趣的任何人。閱讀本書的人應該熟悉 Ember 和 JavaScript 的基本知識。
作者簡介
David Tang is a Software Engineer from Los Angeles with over 10 years of working experience in web development. His software career has led him to work with companies of all sizes and use many different technologies on both the back-end and front-end for building web applications. Ultimately he found his passion on the front-end in building applications with rich user experiences. He has worked with several JavaScript frameworks, but was drawn to Ember because of the community's values in convention over configuration, developer testing, and the commitment to providing an upgrade path for new major releases. He values the framework's opinionated way of working with APIs and managing data in a client-side JavaScript application with its companion library Ember Data. Since David was introduced to Ember, he has spent a lot of time blogging, teaching, and building applications with Ember and Ember Data. David is also an adjunct faculty member at the University of Southern California, teaching web development courses.
作者簡介(中文翻譯)
David Tang 是來自洛杉磯的軟體工程師,擁有超過 10 年的網頁開發工作經驗。他的軟體生涯使他能夠與各種規模的公司合作,並使用許多不同的技術來構建網頁應用程式,涵蓋後端和前端。最終,他發現自己對前端的熱情,專注於構建具有豐富用戶體驗的應用程式。他曾使用過幾個 JavaScript 框架,但因為社群在約定優於配置、開發者測試以及對於提供新主要版本升級路徑的承諾而被 Ember 吸引。他重視該框架在與 API 交互和在客戶端 JavaScript 應用程式中管理數據的意見導向方式,並與其伴隨庫 Ember Data 一起使用。自從 David 接觸到 Ember 以來,他花了很多時間撰寫部落格、教學以及使用 Ember 和 Ember Data 構建應用程式。David 也是南加州大學的兼任教職員,教授網頁開發課程。