UPDATE: check out symfony.com/book to learn about all the available formats and translations of the Symfony 5 book.

A few weeks ago, we announced the publication of Symfony 5: The Fast Track, a new book about developing modern applications with Symfony 5. We're thrilled to announce that book contents have been completed on time.

The full Table of Contents gives a detailed insight into the topics discussed in the book. In addition to all the introductory topics around Symfony itself, the book explains things like:

  • The Messenger component and the integration of Symfony with RabbitMQ for fully asynchronous features;
  • The Workflow component to make decisions around business logic;
  • Exposing internal APIs using API Platform and consuming external APIs with the HttpClient component;
  • Building a Single-Page Application (SPA), linking it with the Symfony backend and providing a smartphone application based on the SPA.

Even if the book is short (about 250 pages) and very readable, it explains how to build a real and modern application. Don't expect a "Hello World" project or a traditional PHP + database project. The following diagram of the final infrastructure showcases the extend of the tools and services explained:

One of the great benefits of using a framework is the small amount of code needed to develop such a project:

  • 20 PHP classes under src/ for the website;
  • 550 PHP Logical Lines of Code (LLOC) as reported by PHPLOC;
  • 40 lines of configuration tweaks in 3 files (via annotations and YAML), mainly to configure the backend design;
  • 20 lines of development infrastructure configuration (Docker);
  • 100 lines of production infrastructure configuration (SymfonyCloud);
  • 5 explicit environment variables.

You can still support this project on Kickstarter. For companies, there are still a few slots to include your logo in the book.

Published in #Documentation #Symfony