Publicité
Publicité

Contenu connexe

Publicité

Migrating to Symfony 3.0

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