Converting a Website to a New Religion: Symfony
summary
Legacy PHP site is rebuilt page by page into Symfony, running two sites side by side with a small front controller script that serves Symfony pages when a file exists and falls back to the old site otherwise. Uses Composer, Twig, PHPUnit and Travis CI, Scrutinizer/SensioLabs insights for static analysis, and profilers (Coffee/Blackfire). Databases run in parallel during migration, sessions present the biggest integration pain. Current rollout starts with homepage and static pages, downloads are mid‑migration, and test coverage hits about 95%.
AI-written summary · about
chapters (15)
- 0:00Introduction and speaker background
- 1:09Why rewrite legacy PHP website
- 3:22Benefits of using Symfony
- 5:09Challenges of full rewrite
- 7:15Incremental conversion strategy
- 8:17Running two sites simultaneously
- 9:42Importance of planning
- 12:11Code review and collaboration
- 14:26Start with best practices
- 17:20Testing and continuous integration
- 19:07Profiling tools for performance
- 20:37Converting code piece by piece
- 23:05Infrastructure and PHP version
- 25:16Do not rush the conversion
- 27:01Q&A session
