Pro Ember Data: Getting Ember Data to Work with Your API

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.

1137663904
Pro Ember Data: Getting Ember Data to Work with Your API

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.

34.99 In Stock
Pro Ember Data: Getting Ember Data to Work with Your API

Pro Ember Data: Getting Ember Data to Work with Your API

by David Tang
Pro Ember Data: Getting Ember Data to Work with Your API

Pro Ember Data: Getting Ember Data to Work with Your API

by David Tang

eBook1st ed. (1st ed.)

$34.99 

Available on Compatible NOOK devices, the free NOOK App and in My Digital Library.
WANT A NOOK?  Explore Now

Related collections and offers


Overview

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.


Product Details

ISBN-13: 9781484265611
Publisher: Apress
Publication date: 12/12/2020
Sold by: Barnes & Noble
Format: eBook
File size: 459 KB

About the Author

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.

Table of Contents

1. Ember Data Overview.- 2. Talking to APIs with Adapters.- 3. API Response Formats and Serializers.- 4. Common Adapter and Serializer Customizations.- 5.Writing an Adapter and Serializer from Scratch.- 6. Swapping the API with Local Storage.- 7. Nested Resource URL Paths and Relationship Links.- 8. Working with Nested Data and Embedded Records.- 9. Handling Custom Error Responses.- 10. Testing Adapters and Serializers.- 11. Common Customizations with JSON:API.- 12. Consuming the Reddit API.- 13. Polymorphic Relationships,
From the B&N Reads Blog

Customer Reviews