Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Migrating to Symfony 3.0

8,899 views

Published on

Symfony 3.0 is just around the corner. Are you ready to migrate? The Symfony core team created a continuous upgrade path for progressively upgrading current apps. In this session, I'll show you this path so you'll be able to migrate your own applications to Symfony 3.0.

Published in: Internet
  • Hey guys! Who wants to chat with me? More photos with me here 👉 http://www.bit.ly/katekoxx
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Nice presentation on migrating symfony to 3.0. I also found this great tutorial on upgrade Symfony from 2.x version to 3.x. Here is the link: https://www.cloudways.com/blog/upgrade-symfony-2-to-3/
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Migrating to Symfony 3.0

  1. 1. SensioLabs Migrating to Symfony 3.0 by @nicolasgrekas
  2. 2. Let me tell you how Symfony 3.0 was born
  3. 3. components framework +=
  4. 4. Highest quality processes =
  5. 5. Releasing
  6. 6. Symfony Lifecycle Release end of support +8 months +14 months +36 months +48 months end of security support end of security support end of support Standard Releases (2.4, 2.5, 2.6, 3.0) LTS Releases (2.3, 2.7, 2.8)
  7. 7. Semantic Versioning http://semver.org
  8. 8. Major Minor Patch
  9. 9. • o o o • o o • o o
  10. 10. One monolithic repo. + 46 synchronized components =
  11. 11. Backward Compatibility
  12. 12. The Backward Compatibility Promise http://symfony.com/bc
  13. 13. Guidelines for Backward Compatibility
  14. 14. Example: Moving the FlattenException class
  15. 15. Example: Moving the FlattenException class
  16. 16. Example: Moving the FlattenException class
  17. 17. Example: Moving the FlattenException class
  18. 18. Patching process
  19. 19. • • • Contribution Workflow
  20. 20. Patching Symfony 2.3 LTS
  21. 21. Continuous integration
  22. 22. Travis Matrix
  23. 23. Appveyor for Windows
  24. 24. What’s new in Symfony 3?
  25. 25. Well... Nothing! Fabien already told you
  26. 26. All new features are already included in Symfony 2.8 What’s new in Symfony 3?
  27. 27. The Symfony 3.0 Architecture • • • • •
  28. 28. What’s new in Symfony 3?
  29. 29. The Continuous Upgrade Path
  30. 30. The Symfony Core Team Wish!
  31. 31. Continuous Migration Path Before 2.7 • • • • • • • 
  32. 32. Continuous Migration Path Since 2.7 • • • • • • •
  33. 33. Trigger deprecation notices at run-time
  34. 34. Trigger deprecation notices at run-time
  35. 35. Trigger deprecation notices at run-time
  36. 36. Trigger deprecation notices at run-time
  37. 37. Trigger deprecation notices at run-time
  38. 38. Trigger deprecation notices at run-time
  39. 39. Trigger deprecation notices at run-time
  40. 40. It has to work for Symfony itself, component by component
  41. 41. Cross Versions Dependencies • o o ~2.x|~3.0.0
  42. 42. The @legacy PHPUnit Group
  43. 43. Cross Versions Dependencies • o o ~2.8|~3.0
  44. 44. Prefer Lowest Requirements
  45. 45. Sustainability of the CUP promise?
  46. 46. • • • •
  47. 47. What’s new in Symfony 3?
  48. 48. Much Stricter Quality Processes
  49. 49. What about the Symfony ecosystem?
  50. 50. Use the Symfony PHPUnit Bridge
  51. 51. Allow Symfony ~3.0 Dependencies
  52. 52. Their turn to deprecate
  53. 53. Their turn to deprecate
  54. 54. What’s new in Symfony 3?
  55. 55. A Process to Remove Legacy Code
  56. 56. Now your turn!
  57. 57. • • • • o o o • • Some guidelines
  58. 58. Some guidelines
  59. 59. Some guidelines
  60. 60. Some guidelines
  61. 61. Some guidelines
  62. 62. Some guidelines
  63. 63. Some guidelines
  64. 64. Some guidelines
  65. 65. Some guidelines
  66. 66. Now your turn!
  67. 67. SensioLabs Merci ! @nicolasgrekas

×