Defensive programming or the art of not trusting yourself
summary
The talk explains defensive programming techniques for PHP developers, focusing on how to avoid assuming code or external inputs are correct. It covers concrete practices and patterns to validate, sanitize, and harden codebases so applications behave safely even when components or users are untrustworthy.
AI-written summary · about
chapters (14)
- 0:00Start
- 1:37Morning!
- 2:53A bit silly
- 4:05COMMUNICATION
- 5:20Interns
- 12:35With your colleagues
- 17:22Continuous integration
- 17:40Tests
- 18:20Code review
- 21:04Clearly identified methods
- 29:22Repositories
- 32:40Static analysis
- 36:58Follow your instinct
- 37:21Be defensive
related talks
45mDefensive Coding Bootcamp
42mIt's not what you think, dev!
55mCodified Security
50mProgram like a hacker, defend like a programmer
35mPHP is evil (Defensive programming)
01h 00mDefense-in-depth engineering
58mThreat Modeling Developer Behaviour: The Psychology of Bad Code
08mHack Proofing Your JavaScript A Fun And Engaging Guide To Enhancing Security
