We a good story
Quick delivery in the UK

Pro Ember Data

- Getting Ember Data to Work with Your API

About Pro Ember Data

Chapter 1 - Ember Data Overview Architectural Overview Model Attributes and Transforms The API Using the Store Adapters Relationships Chapter 2 - Talking to APIs with Adapters The RESTAdapter The JSONAPIAdapter The ActiveModelAdapter Background Reloading Chapter 3 - API Response Formats and Serializers The Job of the Serializer The JSONSerializer The RESTSerializer The JSONAPISerializer The Base Serializer Using a Serializer Chapter 4 - Common Adapter and Serializer Customizations Changing the RESTful URL Path Changing the URL for Certain Operations Mapping Differently Named Payload Keys to Model Attributes Mapping Foreign Keys to Relationships Setting the Primary Key Normalizing Responses Normalizing Responses by Store Call Normalizing Single Resource Objects Chapter 5 - Writing an Adapter and Serializer from Scratch Setup Our Custom Adapter and Serializer Finding All Records Finding a Single Record Revisiting normalizeResponse() Creating Records Updating a Record Deleting a Record Chapter 6 - Swapping the API with Local Storage Implementing findAll() Implementing findRecord() Implementing createRecord() Implementing updateRecord() Implementing deleteRecord() Chapter 7 - Nested Resource URL Paths and Relationship Links How Relationship Links Work When APIs Don''t Return Relationship Links Chapter 8 - Working with Nested Data and Embedded Records Declaring Attributes Without Transforms Embedded Records Chapter 9 - Handling Custom Error Responses Validation Errors Controlling the Invalid Status Code Controlling Error Response Payloads Other Error Types Chapter 10 - Testing Adapters and Serializers Testing Adapters Testing Serializers Chapter 11 - Common Customizations with JSON:API Changing Attribute Casing Overriding a Resource Object''s Type Overriding HTTP Methods Chapter 12 - Consuming the Reddit API Setup The Reddit APIs We Will Use Fetching Posts in a Subreddit Fetching a Subreddit''s Details Chapter 13 - Polymorphic Relationships Setup What are Polymorphic Relationships? How do Polymorphic Relationships Work? Customizing Polymorphic Relationships

Show more
  • Language:
  • English
  • ISBN:
  • 9781484265604
  • Binding:
  • Paperback
  • Pages:
  • 186
  • Published:
  • December 12, 2020
  • Edition:
  • 1
  • Dimensions:
  • 155x235x0 mm.
  • Weight:
  • 454 g.
Delivery: 1-2 weeks
Expected delivery: July 16, 2025

Description of Pro Ember Data

Chapter 1 - Ember Data Overview Architectural Overview Model Attributes and Transforms The API Using the Store Adapters Relationships Chapter 2 - Talking to APIs with Adapters The RESTAdapter The JSONAPIAdapter The ActiveModelAdapter Background Reloading Chapter 3 - API Response Formats and Serializers The Job of the Serializer The JSONSerializer The RESTSerializer The JSONAPISerializer The Base Serializer Using a Serializer Chapter 4 - Common Adapter and Serializer Customizations Changing the RESTful URL Path Changing the URL for Certain Operations Mapping Differently Named Payload Keys to Model Attributes Mapping Foreign Keys to Relationships Setting the Primary Key Normalizing Responses Normalizing Responses by Store Call Normalizing Single Resource Objects Chapter 5 - Writing an Adapter and Serializer from Scratch Setup Our Custom Adapter and Serializer Finding All Records Finding a Single Record Revisiting normalizeResponse() Creating Records Updating a Record Deleting a Record Chapter 6 - Swapping the API with Local Storage Implementing findAll() Implementing findRecord() Implementing createRecord() Implementing updateRecord() Implementing deleteRecord() Chapter 7 - Nested Resource URL Paths and Relationship Links How Relationship Links Work When APIs Don''t Return Relationship Links Chapter 8 - Working with Nested Data and Embedded Records Declaring Attributes Without Transforms Embedded Records Chapter 9 - Handling Custom Error Responses Validation Errors Controlling the Invalid Status Code Controlling Error Response Payloads Other Error Types Chapter 10 - Testing Adapters and Serializers Testing Adapters Testing Serializers Chapter 11 - Common Customizations with JSON:API Changing Attribute Casing Overriding a Resource Object''s Type Overriding HTTP Methods Chapter 12 - Consuming the Reddit API Setup The Reddit APIs We Will Use Fetching Posts in a Subreddit Fetching a Subreddit''s Details Chapter 13 - Polymorphic Relationships Setup What are Polymorphic Relationships? How do Polymorphic Relationships Work? Customizing Polymorphic Relationships

User ratings of Pro Ember Data



Find similar books
The book Pro Ember Data can be found in the following categories:

Join thousands of book lovers

Sign up to our newsletter and receive discounts and inspiration for your next reading experience.