Skocz do zawartości

Aktywacja nowych użytkowników
Zakazane produkcje

  • advertisement_alt
  • advertisement_alt
  • advertisement_alt
bookworm79

Building an Operation-Oriented Api using PHP and the Symfony Framework A step-by-step guide

Rekomendowane odpowiedzi

6ab432d72308a44a5e05764e318a9b51.webp
Free Download Building an Operation-Oriented Api using PHP and the Symfony Framework: A step-by-step guide by IGNACIO COLOMINA TORREGROSA
English | June 16, 2024 | ISBN: N/A | ASIN: B0D79KGL7P | 172 pages | EPUB | 0.25 Mb
In this book, the author tries to show how to use the Symfony framework powerful features to build an API using the operation concept as a resource. Starting from this base, the author takes advantage of several tools and components of the Symfony framework to build an API capable of finding out what operation must be executed and what data is required to execute it based on the information received within the request payload.

To progress step by step, the book has been divided into the following parts or chapters:Introduction: This part explains how an operation-oriented API can help to define API operations that could not be defined using a CRUD way.Crafting inputs, outputs and operations: This part uses many Symfony DIC features such as Tagged iterators and service configurators and some components like Validation, Serializer and the Symfony Event System to construct the necessary services to discover and execute operations.Securing operations: This part uses Symfony firewalls and voters to protect both the API endpoint and the operations. As a plus, it shows how to configure a rate limiter to control the number of requests received.Background Execution of API Operations: This part uses the Symfony Messenger so that operations that can take some time to be executed can be performed in the background.Context-Specific Operations: This part shows how CRUD and Operation-Oriented endpoints can live together and how to control what operations an endpoint can execute depending on its context.Testing the API: As a last part, we will use the Symfony API Testing capabilities to create some tests that ensures our API behaves as expected.Before reading this book, its important to take into account the following:This book assumes a certain level of familiarity with the Symfony framework. It is not a tutorial or guide about the framework but a guide about how to construct an operation-oriented api using the Symfony features.This book does not delve into the development of specific operations themselves. While we may use operation examples like "SendPayment" for illustrative purposes, the primary goal is to demonstrate how to construct the necessary code to establish a unified API endpoint capable of handling various operations effectively.


Ukryta Zawartość

    Treść widoczna tylko dla użytkowników forum DarkSiders. Zaloguj się lub załóż darmowe konto na forum aby uzyskać dostęp bez limitów.

Links are Interchangeable - Single Extraction

Udostępnij tę odpowiedź


Odnośnik do odpowiedzi
Udostępnij na innych stronach

Dołącz do dyskusji

Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.

Gość
Dodaj odpowiedź do tematu...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

    • 16 Posts
    • 101 Views
    • 9 Posts
    • 72 Views
    • 1 Posts
    • 9 Views
    • 1 Posts
    • 4 Views
    • 1 Posts
    • 6 Views

×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Korzystając z tej witryny, wyrażasz zgodę na nasze Warunki użytkowania.