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

Can your code live without the Symfony framework? ~Symfony World 2021 Summer~

Can your code live without the Symfony framework? ~Symfony World 2021 Summer~

Everyday, we build our applications on the shoulder of the Symfony Framework. I wonder how long our applications can live. What if Symfony is transformed into totally different, brand-new form?
We already experienced painful migration from symfony1 to Symfony2+, from doctrine1 to Doctrine2+, and Doctrine3 is coming.
In this talk, I will describe how we can extend the lifetime of our applications, through loose coupling between our code and Symfony (or any third-party dependencies.)
https://live.symfony.com/2021-world/schedule#session-595

B793da271a45d149b52f507bca9f137c?s=128

Hiromi Hishida

June 18, 2021
Tweet

Transcript

  1. #Z)JSPNJ)JTIJEB !XFC UI+VOF $BOZPVSDPEFMJWFXJUIPVU UIF4ZNGPOZGSBNFXPSL

  2. )JSPNJ)JTIJEB w +BQBOFTF w  ZFBSTFYQFSJFODFJO4ZNGPOZ 'SPN"TLFFU  w "NFNCFSPG+BQBOFTFUSBOTMBUJPOUFBNGPS4ZNGPOZ'BTU5SBDL

    w #VJMEJOH8FCBQQMJDBUJPOTGPSUXPDPNQBOZ w 8FFLEBZT2VBSUFU$PNNVOJDBUJPOT VTJOH4ZNGPOZIUUQTUFDIRVBSUFUDPNDPKQ w 8FFLFOET.JDPXPSLT VTJOH-BSBWFM w -PWF1)14ZNGPOZ
  3. 8FCBQQMJDBUJPOTJO w .PSFBOENPSFJNQPSUBOU w &TQFDJBMMZJO$PWJETJUVBUJPO w 3FRVJSFEUPIBWFNPSFSFMJBCJMJUZ w &YQFDUFEUPIBWFMPOHFSMJGFUJNF

  4. 8FCBQQMJDBUJPOTJO w .PSFBOENPSFJNQPSUBOU w &TQFDJBMMZJO$PWJETJUVBUJPO w 3FRVJSFEUPIBWFNPSFSFMJBCJMJUZ w &YQFDUFEUPIBWFMPOHFSMJGFUJNF

  5. )PXDBO*FYUFOEBQQMJDBUJPODPEF`TMJGFUJNF

  6. )PXDBO*FYUFOEBQQMJDBUJPODPEF`TMJGFUJNF w "QQMJDBUJP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