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

Symfony 4 - Let's get dangerous

Marko Kunic
November 08, 2017

Symfony 4 - Let's get dangerous

Symfony 4 is here soon, it is time to get ready, it is time to get dangerous. I tried to cover as much as I could and tried to pick most interesting topics.

Marko Kunic

November 08, 2017
Tweet

More Decks by Marko Kunic

Other Decks in Programming

Transcript

  1. @kunicmarko20 • Composer plugin • Replaces Symfony Standard Edition •

    Compose your Application • Recipes (Official, Contrib) • Depend on the individual Symfony Components • Bundle-less Application • New Directory structure • Environment Variables • Unified Web Front Controller • Defining compiler passes in the kernel • Symfony 3.3+
  2. @kunicmarko20 • Runtime Environment Variables • Deprecated the SYMFONY__ environment

    variables • Advanced environment variables • Dotenv component • No more --env=prod --no-debug
  3. @kunicmarko20 • Services are Loaded Automatically • Type-hint instead of

    Service id • Controllers are Registered as Services • Auto-tagging with autoconfigure • Services private by Default • Named args • Local service binding
  4. @kunicmarko20 Transition Events • Guard • Leave • Transition •

    Enter • Entered • Announce • workflow.[event] • workflow.[workflow].[event] • workflow.[workflow].[event].[transition]
  5. @kunicmarko20 • User value resolver for controllers • PHP constants

    in YAML files • Project root directory parameter
  6. @kunicmarko20 • User value resolver for controllers • PHP constants

    in YAML files • Project root directory parameter • Asset preloading with HTTP/2 Push
  7. @kunicmarko20 • User value resolver for controllers • PHP constants

    in YAML files • Project root directory parameter • Asset preloading with HTTP/2 Push • Import config files with glob patterns
  8. @kunicmarko20 • User value resolver for controllers • PHP constants

    in YAML files • Project root directory parameter • Asset preloading with HTTP/2 Push • Import config files with glob patterns • Lock Component
  9. @kunicmarko20 • User value resolver for controllers • PHP constants

    in YAML files • Project root directory parameter • Asset preloading with HTTP/2 Push • Import config files with glob patterns • Lock component • Deprecated bundle inheritance
  10. @kunicmarko20 • User value resolver for controllers • PHP constants

    in YAML files • Project root directory parameter • Asset preloading with HTTP/2 Push • Import config files with glob patterns • Lock component • Deprecated bundle inheritance • Improved the overriding of templates
  11. @kunicmarko20 • User value resolver for controllers • PHP constants

    in YAML files • Project root directory parameter • Asset preloading with HTTP/2 Push • Import config files with glob patterns • Lock component • Deprecated bundle inheritance • Improved the overriding of templates • Better console exceptions
  12. @kunicmarko20 • User value resolver for controllers • PHP constants

    in YAML files • Project root directory parameter • Asset preloading with HTTP/2 Push • Import config files with glob patterns • Lock component • Deprecated bundle inheritance • Improved the overriding of templates • Better console exceptions • Lazy commands
  13. @kunicmarko20 • User value resolver for controllers • PHP constants

    in YAML files • Project root directory parameter • Asset preloading with HTTP/2 Push • Import config files with glob patterns • Lock component • Deprecated bundle inheritance • Improved the overriding of templates • Better console exceptions • Lazy commands • Improved comparison constraints
  14. @kunicmarko20 • User value resolver for controllers • PHP constants

    in YAML files • Project root directory parameter • Asset preloading with HTTP/2 Push • Import config files with glob patterns • Lock component • Deprecated bundle inheritance • Improved the overriding of templates • Better console exceptions • Lazy commands • Improved comparison constraints • Groups support for the Valid constraint
  15. @kunicmarko20 • User value resolver for controllers • PHP constants

    in YAML files • Project root directory parameter • Asset preloading with HTTP/2 Push • Import config files with glob patterns • Lock component • Deprecated bundle inheritance • Improved the overriding of templates • Better console exceptions • Lazy commands • Improved comparison constraints • Groups support for the Valid constraint • Argon2i password hasher
  16. @kunicmarko20 Similar Talks • Symfony 4 & Symfony Flex -

    Core ideas, features and improvements by Victoria Quirante • Symfony 4 Run-through by Kévin Dunglas • Get ready for Symfony 4 by Christian Flothmann • Getting ready for Symfony 4 by Denis Brumann