~/talk

Symfony 4 best practices (Part 1)

Talkat Web Summer Camp 2018 · 2018-08-29..09-01· [php, developer-experience]
slides:none on file

Practical Symfony 4 setup: use composer create-project symfony/skeleton, rely on Symfony Flex (install globally) to apply community and official recipes and to enable parallel ZIP downloads (Composer 1.7 + cURL). Manage config with .env and YAML, use the default app namespace, and lock Symfony component versions via extra.symfony.require in composer.json. Prefer annotations for routes, use MakerBundle to generate controllers, prefer AbstractController/getSubscribedServices and autowiring for explicit dependencies, and cache slow results with PSR‑6/PSR‑16 pools (filesystem or Redis).

AI-written summary · about

  1. 0:00Introduction and setup
  2. 4:47Project initialization
  3. 14:45Understanding Symfony Flex
  4. 23:33Recipes and configuration
  5. 34:07Managing environment variables
  6. 46:56Dependency management
  7. 1:02:14Web server bundle usage
  8. 1:13:58Controller development
  9. 1:25:47Dependency injection best practices
  10. 1:33:56Maker bundle and services
  11. 1:59:24Routing and caching
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.