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

Symfony 4.1 What's New?

Symfony 4.1 What's New?

Tim Jabs

May 30, 2018
Tweet

More Decks by Tim Jabs

Other Decks in Technology

Transcript

  1. FASTEST PHP ROUTER !4 • matcher class refactored based on

    an article
 Fast request routing using regular expressions • Technique based on FastRoute made by Nikita Popov • optimisation through avoiding preg_match calls each route
  2. FASTEST PHP ROUTER !5 • Symfony 4.1 URL matching is

    77x faster than in previous versions • The Symfony Router is now the fastest PHP router, beating FastRoute and all other routing libraries
  3. 8

  4. !9

  5. SERIALIZER IMPROVEMENTS Faster Serializer !11 • 40% faster serialisation •

    new CacheableSupportsMethodInterface for caching supportsNormalization()
  6. !22

  7. !23

  8. !24

  9. NEW MESSENGER COMPONENT !26 • comes with an built-in AMQP

    Adapter • has a built-in way to send and receive messages
  10. !27

  11. !28

  12. !29

  13. !31 • VarDumper has now a server to collect all

    dumped data • can be dumped as HTML VAR DUMPER SERVER
  14. 32

  15. 33

  16. 34

  17. 35

  18. REFERENCES !37 • https://symfony.com/blog/new-in-symfony-4-1-fastest-php-router • https://symfony.com/blog/new-in-symfony-4-1-internationalized-routing • https://symfony.com/blog/new-in-symfony-4-1-faster-serializer • https://symfony.com/blog/new-in-symfony-4-1-serializer-improvements

    • https://symfony.com/blog/new-in-symfony-4-1-console-improvements • https://symfony.com/blog/new-in-symfony-4-1-advanced-console-output • https://symfony.com/blog/new-in-symfony-4-1-messenger-component • https://symfony.com/blog/new-in-symfony-4-1-vardumper-server