addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1light-bulblinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Silex saved me from my legacy code

Facing down a megalith of legacy code is never easy.  It sounds like a good idea to migrate it incrementally to a new codebase, with some buzzwords like SOA, TDD and clean code thrown in there, but how do you actually do it?  And with what tools?

This is the story of how a small, simple Silex application is allowing a large tech company to modernise its legacy codebase.  Using Symfony's younger brother, a simple suite of REST services can be created to support incremental code modernisation.

Silex is an incredibly flexible micro-framework, but with great power comes great responsibility.  Choosing our approach carefully, we have built a built asmall MVC service suite that would be extremely easy to migrate to full-stack Symfony, or any large framework.  Our growing Behat suite will support anyarchitectural changes we make.

This talk explains the architectural approach, the tools we chose, and how we used them.

Sam Burns

Affilliate Window is the UK's largest affiliate marketing network.  Sam Burns is their Software Architect, as well as an enthusiastic proponent of TDD, clean code and the One True Way.

Join or login to comment.

  • Safeer

    Thanks Sam and SensioLabs for the great talk. I had to leave early but was definitely worth hearing how other people approached architecture.

    1 · June 18, 2014

  • kodjo

    Does Silex sit on top of symfony2?

    June 16, 2014

    • Marcin S.

      We use legacy code where some functionalities are in Symfony.
      No dependencies.
      Even our Symfony app can be easy replaced with different framework.
      If you design your app right- there is no need to be tight to a framework.

      June 17, 2014

    • Jay S.

      @Marcin - I agree; we've even had to do that too sometimes. I'll leave my original comment so this conversation still makes sense, but what I tried to get across is that out-of-the-box Symfony2 looks and feels more like a rich fully-fledged framework (e.g. one that competes with the like of Cake, Yii, etc.), whereas Silex deliberately tries to get away from that.

      June 17, 2014

  • Alejandro M.

    We are doing similar things in Capgemini, but using Symfony integrated into Drupal, so we are ready to move to D8, Symfony or any other framework. Looking forward to this talk :-)

    June 8, 2014

    • Isobel P.

      hi Alejandro, I just saw your comment. I am organising SymfonyLive London for SensioLabs UK and looking for talks on Drupal integrated with Symfony. Would this be of interest to you/your colleagues? Would be nice to chat at the meetup :)

      June 9, 2014

    • kodjo

      Hi Alejandro,

      June 16, 2014

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy