Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.
SensioLabs
Migrating
to Symfony 3.0
by @nicolasgrekas
Let me tell you
how Symfony 3.0
was born
components
framework
+=
Highest
quality
processes
=
Releasing
Symfony Lifecycle
Release
end of
support
+8 months +14 months +36 months +48 months
end of security
support
end of securit...
Semantic Versioning
http://semver.org
Major
Minor
Patch
•
o
o
o
•
o
o
•
o
o
One monolithic
repo.
+
46 synchronized
components
=
Backward
Compatibility
The Backward Compatibility Promise
http://symfony.com/bc
Guidelines for Backward Compatibility
Example: Moving the
FlattenException class
Example: Moving the
FlattenException class
Example: Moving the
FlattenException class
Example: Moving the
FlattenException class
Patching process
•
•
•
Contribution Workflow
Patching Symfony 2.3 LTS
Continuous integration
Travis Matrix
Appveyor for Windows
What’s new
in Symfony 3?
Well... Nothing!
Fabien already
told you
All new features are
already included in
Symfony 2.8
What’s new in Symfony 3?
The Symfony 3.0 Architecture
•
•
•
•
•
What’s new
in Symfony 3?
The
Continuous
Upgrade
Path
The Symfony Core Team Wish!
Continuous Migration Path Before 2.7
•
•
•
•
•
•
• 
Continuous Migration Path Since 2.7
•
•
•
•
•
•
•
Trigger deprecation notices at run-time
Trigger deprecation notices at run-time
Trigger deprecation notices at run-time
Trigger deprecation notices at run-time
Trigger deprecation notices at run-time
Trigger deprecation notices at run-time
Trigger deprecation notices at run-time
It has to work
for Symfony itself,
component by
component
Cross Versions Dependencies
•
o
o ~2.x|~3.0.0
The @legacy PHPUnit Group
Cross Versions Dependencies
•
o
o ~2.8|~3.0
Prefer Lowest Requirements
Sustainability
of the CUP promise?
•
•
•
•
What’s new
in Symfony 3?
Much
Stricter
Quality
Processes
What about the
Symfony ecosystem?
Use the Symfony PHPUnit Bridge
Allow Symfony ~3.0 Dependencies
Their turn to deprecate
Their turn to deprecate
What’s new
in Symfony 3?
A Process
to Remove
Legacy Code
Now your turn!
•
•
•
•
o
o
o
•
•
Some guidelines
Some guidelines
Some guidelines
Some guidelines
Some guidelines
Some guidelines
Some guidelines
Some guidelines
Some guidelines
Now your turn!
SensioLabs
Merci !
@nicolasgrekas
Migrating to Symfony 3.0
Vous avez terminé ce document.
Télécharger et lire hors ligne.
Prochain SlideShare
Behat 3.0 meetup (March)
Suivant
Prochain SlideShare
Behat 3.0 meetup (March)
Suivant
Télécharger pour lire hors ligne et voir en mode plein écran

17

Partager

Migrating to Symfony 3.0

Télécharger pour lire hors ligne

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.

Livres associés

Gratuit avec un essai de 30 jours de Scribd

Tout voir

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
  • nikolaizujev

    Jan. 28, 2017
  • jeanpasqualini

    Jan. 19, 2017
  • GuillaumeOlivrin

    Jan. 16, 2017
  • sokphea_chea

    Sep. 27, 2016
  • powerirs

    Jul. 18, 2016
  • barno7

    Apr. 20, 2016
  • shadowdroid

    Dec. 28, 2015
  • M4ver1

    Dec. 18, 2015
  • ThomasDillenschneider

    Dec. 7, 2015
  • thierrymarianne

    Nov. 27, 2015
  • mythii

    Nov. 22, 2015
  • IsmailBaskin

    Nov. 16, 2015
  • radumurzea1

    Nov. 8, 2015
  • jeremyleherpeur

    Nov. 1, 2015
  • lunetics

    Nov. 1, 2015
  • bgatellier

    Nov. 1, 2015
  • GborTth7

    Nov. 1, 2015

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.

Vues

Nombre de vues

10 327

Sur Slideshare

0

À partir des intégrations

0

Nombre d'intégrations

611

Actions

Téléchargements

58

Partages

0

Commentaires

0

Mentions J'aime

17

×