Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Symfony 4 Best Practices

Symfony 4 Best Practices

3dd28ad260d202a12c2e93fc28fad5d7?s=128

Marco Petersen

February 28, 2018
Tweet

Transcript

  1. Symfony 4 Best Practices

  2. None
  3. Best practices are... • • •

  4. Today we’ll be looking at... • • • • •

    • • • •
  5. 1. Directory Structure • •

  6. None
  7. 1. Directory Structure • •

  8. 2. Configuration • • •

  9. 2. Configuration • • •

  10. 2. Configuration • • •

  11. None
  12. 3. Business Logic • ◦ • •

  13. None
  14. 3. Business Logic • ◦ • •

  15. 3. Business Logic • ◦ • •

  16. 4. Controllers • • • •

  17. 4. Controllers • • • •

  18. 4. Controllers • • • •

  19. 4. Controllers • • • •

  20. 5. Templates • •

  21. 5. Templates • •

  22. 6. Forms • • ◦ •

  23. None
  24. None
  25. 6. Forms • • ◦ •

  26. None
  27. None
  28. 6. Forms • • ◦ •

  29. 7. Internationalization • •

  30. 7. Internationalization • •

  31. None
  32. 8. Security • ◦ ◦ ◦ •

  33. 8. Security • ◦ ◦ ◦ •

  34. 9. Tests •

  35. 9. Tests (2) • •

  36. 9. Tests (2) • •

  37. $kernel->terminate($request, $response);