<p><strong>Q: What was the request about?</strong></p>
<p>Freddie is looking to transition a series of large PHP applications to rails.</p>
<p><strong>Q: How did you help with the request?</strong></p>
<p>I advised Freddie on great resources to start planning the move, as well as some general tips on how to begin replicating the behaviour of the legacy site in rails.</p>
<p>I also gave advice on initial strategy as to which parts of the system to move first, and how to gradually move from one app to another.</p>
<p><strong>Q: Any best practices & key learnings you can share?</strong></p>
<p>Rewriting legacy applications is hard, but tests make things much simpler! Think, "how can I build this in such a way that I can write tests for it too", and you're surely on the right track.</p>