The Symfony 5 Book, The Fast Track, available online and for free
July 29, 2020 • Published by Fabien Potencier
I've been working on making the Symfony 5 book, The Fast Track, available online for free. It has been a bit more challenging that I expected it to be. At first, I wanted to create a dedicated website for the book, but soon realized it was too much work and it was really about copy pasting too much code from symfony.com. So, at the end, I decided to integrate it on symfony.com and benefit from everything already available.
I still have some open questions like how to let people contribute fixes for translations. As the translated book is not available as source files, but as translations files, it is not as easy as expected. I'm working on integrating that into the translation workflow, but it's not ready yet.
Anyway, I've decided to not wait anymore and share my work with you. So, as of today, the Chinese, Persian, Arabic, Romanian, Portuguese (Brazil), and Dutch versions of the book are available online for everyone to read. Expect more languages to be released soon. You can still buy the PDF if you want to support the Symfony project.
All other versions are available on the main book page as PDF files. As of now, we have 14 available versions: English, French, Arabic, Spanish, German, Persian, Japanese, Russian, Italian, Dutch, Polish, Portuguese (Brazil), Romanian, and Chinese (China).
Help the Symfony project!
As with any Open-Source project, contributing code or documentation is the most common way to help, but we also have a wide range of sponsoring opportunities.
Comments are closed.
To ensure that comments stay relevant, they are closed for old posts.
Thank you and a big shout out to all the people who have helped with the translations.
Thank you very much Fabien for this great work done.
Congrats on the great teamwork for Symfony 5 and this book!
In the extended Symfony documentation great examples are given for implementing Symfony components/services/helpers etc. I'm unable to find resources to prevent anti-patterns in Symfony controllers. In the practice of keeping controllers as 'thin' as possible a lot of anti-patterns are observed.
My specific use-case is as follows;
Is it allowed to have state in the controller. For example set $this->responseCode, $this->responseContent or $this->data, often used to set vars for the extended BaseController. Another example is using $this->request instead of just $request.
I guess this might cause conflicts/errors if a controller keeps instantiated with multiple requests.
Thank you in advance!
Mike