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).
Excellent idea.
Thank you and a big shout out to all the people who have helped with the translations.
Is the english version of the book also available as a free PDF? Couldn't find a download link for that.
how about English?
Excellent idea. Really looking forward to English version.
Nice ! But where is it ? ^_^
Oh! Very interesting Thank you very much Fabien for this great work done.
Hi Fabien,
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