What to do with legacy. Content with Badoo PHP Meetup # 4

Hello everyone!

On February 15, the next meeting of PHP developers on the topic of Legacy was held at the Badoo office. All day we listened to stories about the experience of large companies, talked and shared pain.

It turned out to consider the problem from several sides:

  • organization of development processes to get rid of legacy;
  • the tactics of cutting legacy monolith into microservices;
  • API organization methods that allow you to control the growth of outdated code;
  • automatic methods for detecting dead code;
  • They also tried to talk about how to refactor legacy code using DDD approaches;

Under the cut, I share videos and slides from this meeting. Of course, a lot of valuable things remained on the sidelines and were not included in the report, so come to our cozy group to chat about the difficult life of a pahépéšnik, discuss reports or just for advice :)



"A painless victory over legacy"


Anton Zhukov, ManyChat


A fundamental story about how to refactor legacy-code without affecting the application, test the functionality and performance, as well as seamlessly switch to the new version on the prod.


Slides

“An Iterative Approach Against Legacy”


Alexey Korotin, SuperJob


The SuperJob approach is a consistent fight against obsolete code. Team leader Timlid spoke of the API as a way to isolate bad code from good.


Slides

Dead Code: Find and Defuse


Danil Mukhametzyanov, Badoo


The problem that we solved looks like this: highly paid engineers constantly read dead code. Danil from the server development team, about other projects of which we recently talked . His story is about how we automate the fight against Legacy and what methods we use to control its appearance.


Slides


"Tactics cut PHP monolith"


Pavel Lakosnikov, Avito


Cutting a monolith is a surefire way to find outdated solutions in native code. Pavel told how Avito got rid of legacy: removed dictionaries and other statics, allocated interfaces, simplified the inheritance hierarchy, and improved test coverage.


Slides


"Refactoring PHP code using DDD"


Vitaly Chirkov, FunCorp


Despite the fact that the topic of DDD is rather complicated, and the last report is not a test for everyone, Vitaly was great at explaining and literally explaining on his fingers how to reanimate obsolete code using subject-oriented programming patterns.


Slides

Entire playlist


Photos from mitap are in our VK and FB groups .

Announcements of new events are easiest to get in Telegram , subscribe.

Thanks to everyone who supported the meeting, it was great!
The London part of our server team is expanding greatly. A test is open until March 1 , according to which the most successful participants will receive an invitation to an interview in Moscow, and with it - a chance to receive an offer on the same day and leave to live in London. Tickets for the interview and relocation at the expense of the company.

All Articles