$30 off During Our Annual Pro Sale. View Details »

Symfony 4 - Built to scale

Symfony 4 - Built to scale

General introduction to Symfony and the processes around it presented at Codeur en Seine 2018

Nicolas Grekas

November 22, 2018
Tweet

More Decks by Nicolas Grekas

Other Decks in Technology

Transcript

  1. Built to scale

  2. @nicolasgrekas SensioLabs

  3. github.com/ symfony/symfony + 48 git subtree splits = Featureful and

    foundational
  4. Fertilizing the PHP world

  5. The fastest framework around

  6. @nicolasgrekas Providing solutions

  7. @nicolasgrekas Providing tooling Webpack Encore

  8. Enterprise-grade quality! • 10 years of continuous innovation • Standards

    first – HTTP of course, etc. • Decoupled – interoperable • Automate all the things • Professionals all around
  9. A vibrant community! • 20 people in the Core Team

    • +2000 contributors • Support • Coopetition • CARE
  10. Stability and predictability are king!

  11. Designed for seamless migrations! • Semantic Versioning • The Backward

    Compatibility Promise • @trigger_error(…, E_USER_DEPRECATED);
  12. None
  13. Symfony has processes to DROP code!!! @nicolasgrekas

  14. None
  15. What is a Symfony Application? (let’s make something crazy with

    the components) @nicolasgrekas
  16. A Symfony app Uses dependency injection SOLID @nicolasgrekas

  17. A Symfony app Is compiled (offline) reproducible-builds.org @nicolasgrekas

  18. A Symfony app Is configured dynamically 12factor.net @nicolasgrekas

  19. > composer create-project symfony/skeleton demo > cd demo > composer

    require console twig annotations > composer require debug profiler server
  20. demo/ ├─ config/ ├─ bin/ ├─ var/ │ ├─ cache/

    │ ├─ log/ │ └─ sessions/ ├─ src/ ├─ templates/ ├─ vendor/ └─ public/ Layout of the demo application
  21. services: _defaults: autowire: true autoconfigure: true public: false App\: resources:

    ../src services.yaml
  22. > composer create-project symfony/skeleton demo > cd demo > composer

    require twig annotations doctrine > composer require debug profiler server
  23. @nicolasgrekas Symfony 4 spirit Keep coding features By automating your

    configuration and providing you with great error messages
  24. Symfony is your superpower • startup to fortune, hobby to

    engineering, RAD to clean architecture, single host to cloud scale, single dev to big teams, prototypes to years-long projects! • Featureful, fast as hell, DX oriented
  25. None