Norges billigste bøker

Pro Ember Data

- Getting Ember Data to Work with Your API

Om 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

Vis mer
  • Språk:
  • Engelsk
  • ISBN:
  • 9781484265604
  • Bindende:
  • Paperback
  • Sider:
  • 186
  • Utgitt:
  • 13. desember 2020
  • Utgave:
  • 1
  • Dimensjoner:
  • 155x235x0 mm.
  • Vekt:
  • 454 g.
  Gratis frakt
Leveringstid: 2-4 uker
Forventet levering: 30. juli 2025

Beskrivelse av 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

Brukervurderinger av Pro Ember Data



Finn lignende bøker
Boken Pro Ember Data finnes i følgende kategorier:

Gjør som tusenvis av andre bokelskere

Abonner på vårt nyhetsbrev og få rabatter og inspirasjon til din neste leseopplevelse.