What are good resources for refreshing PHP, OOP, design principles, and web security?
Asked by
baud7.tx
I've been programming for a while, but I feel like my understanding of web application development and software design has gotten rusty. I'd like to rebuild a solid foundation, especially around principles such as Single Responsibility, object-oriented programming, and common design patterns. I also want to review the security issues web applications need to defend against, including SQL injection and cross-site scripting. I primarily work with PHP, so PHP-focused resources or practical project ideas would be especially useful.
Answers
A practical way to refresh these skills is to rebuild one of your older projects while deliberately applying cleaner architecture and design principles. Working through real decisionsโhow to separate responsibilities, structure classes, and organize application layersโusually teaches more than passively following another tutorial. For security, the OWASP documentation and cheat sheets are excellent references for topics such as SQL injection, XSS, authentication, and input handling.
Reply to this answer
A good book may be the best fit if you want a structured review. โMastering PHP Design Patternsโ by Junade Ali is somewhat dated and focuses on PHP 7, but it covers many of the common patterns and can still be useful for revisiting object-oriented design in PHP.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions