Silex saved me from my legacy code
Details
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.
