Livestreams
[Webinar Recording] Refactoring Legacy Code with PhpStorm
The 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:
- Michael Feathers, Working Effectively with Legacy Code
- Martin Fowler, Refactoring
Books not mentioned during the webinar, but also recommended by Mathias:
- Joshua Kerievsky, Refactoring to Patterns
- Steve Freeman & Nat Pryce, Growing Object-Oriented Software, Guided by Tests
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 This – Ctrl-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 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.
Prev post [Live Webinar] ReSharper Secrets with Igal Tabachnik, Feb. 13thIntelliJ IDEA Wins Jolt Productivity Award; ReSharper a Finalist Next post