[Webinar Recording] Refactoring Legacy Code with PhpStorm

PhpStorm logoThe recording of our January 28th webinar featuring Mathias Verraes and Mikhail Vink, Refactoring Legacy Code with PhpStorm, is now available on JetBrains YouTube Channel.

In this webinar, Mathias starts from a piece of code that is messy and uncovered by tests. Using PhpStorm’s automated refactoring tools, the code is gradually cleaned up, moved around, and brought under test. What emerges is a cleaner, more expressive domain model. This webinar is geared towards developers of different proficiency.

Books recommended by Mathias during the webinar:

Books not mentioned during the webinar, but also recommended by Mathias:

The most important hotkeys used during the webinar:

  • Generate… (e.g. Generate PHPDoc Block) – Cmd-N on Mac OS X, Alt + Insert on Windows/Linux;
  • Highlight code coverage results in the editor – Alt-Cmd-F6 on Mac OS X, Ctrl+Alt+F6 on Windows/Linux. Or choose Tools | Show Code Coverage Data;
  • Refactor ThisCtrl-T on Mac OS X, Ctrl+Shift+Alt+T on Windows/Linux. Or choose Refactor | Refactor This;
  • Move to previous/next word in the editor – Alt-Left/Right (hold Shift for selection).

Please see a full PhpStorm keyboard reference.

Mathias VerraesMathias Verraes is a recovering music composer turned programmer, consultant, blogger, speaker, and podcaster. He advises companies on how to build enterprise web applications for complex business domains. For some weird reason, he enjoys working on large legacy projects: the kind where there’s half a million lines of spaghetti code, and nobody knows how to get the codebase under control. He’s the founder of the Domain-Driven Design Belgium community. When he’s not working, he’s at home in Kortrijk, Belgium, helping his two sons build crazy Lego train tracks.
image description

Discover more