1 option
Pro ember data : getting ember data to work with your api / David Tang.
- Format:
- Book
- Author/Creator:
- Tang, David (Software engineer), author.
- Language:
- English
- Subjects (All):
- Application program interfaces (Computer software).
- Ember Data (Computer file).
- Computer programming.
- Physical Description:
- 1 online resource (XX, 186 p. 4 illus.)
- Edition:
- 1st ed. 2021.
- Place of Publication:
- New York, New York : Apress L. P., [2021]
- Summary:
- 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. You will: 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.
- 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,.
- Notes:
- Description based on print version record.
- Includes index.
- ISBN:
- 1-4842-6561-0
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.