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

Zoom on Symfony 5

Zoom on Symfony 5

Nicolas Grekas

January 29, 2020
Tweet

More Decks by Nicolas Grekas

Other Decks in Programming

Transcript

  1. View Slide

  2. @nicolasgrekas
    SensioLabs

    View Slide

  3. @nicolasgrekas
    https://symfony.com/the-fast-track
    Symfony, the company

    View Slide

  4. View Slide

  5. Stability and predictability are king!

    View Slide

  6. 5.0 = 4.4 - deprecations + experimental
    •PHP ^7.2.5
    •Type declarations everywhere
    (public return types are for v6)
    •+18912/-56980 - 2079 files changed
    •24 people involved for the cleanup

    View Slide

  7. Designed for seamless migrations!
    • Semantic Versioning
    • The Backward Compatibility Promise
    • @trigger_error(…, E_USER_DEPRECATED);

    View Slide

  8. Continuous Upgrade Path

    View Slide

  9. Symfony
    has processes
    to DROP code!!!
    @nicolasgrekas

    View Slide

  10. View Slide

  11. https://slidr.io/derrabus/say-hello-to-symfony-5

    View Slide

  12. https://speakerdeck.com/fabpot/symfony-notifier

    View Slide

  13. https://speakerdeck.com/nicolasgrekas/symfony-string-
    flexible-handling-of-unicode

    View Slide

  14. @nicolasgrekas

    View Slide

  15. Let’s really talk
    about Symfony 5?

    View Slide

  16. A vibrant community!
    • 20 people in the Core Team
    • +2000 contributors
    • Frienship
    • Coopetition
    • CARE

    View Slide

  17. @nicolasgrekas
    What’s merged already?
    #34769 [DependencyInjection] Autowire public typed properties (Plopix)
    #34881 [FrameworkBundle] Allow using the kernel as a registry of controllers
    #34819 [Console] Add SingleCommandApplication (lyrixx)
    #34880 [Twig][Form] Twig theme for Foundation 6 (Lyssal)
    #34847 Add support for safe HTTP preference - RFC 8674 (pyrech)
    #35362 [Cache] Add LRU + max-lifetime capabilities to ArrayCache (nicolas-gre
    #35422 [Messenger] Move Transports to separate packages (Nyholm)

    View Slide

  18. @nicolasgrekas
    Battle log: a deep dive in Symfony stack
    in search of optimizations
    https://jolicode.com/blog/battle-log-a-deep-dive-in-symfony-stack-in-search-of-optimizations-1-n
    https://jolicode.com/blog/battle-log-a-deep-dive-in-symfony-stack-in-search-of-optimizations-2-n

    View Slide

  19. @nicolasgrekas

    View Slide

  20. @nicolasgrekas

    View Slide

  21. @nicolasgrekas

    View Slide

  22. @nicolasgrekas

    View Slide

  23. @nicolasgrekas

    View Slide

  24. @nicolasgrekas

    View Slide

  25. @nicolasgrekas

    View Slide

  26. @nicolasgrekas

    View Slide

  27. View Slide