Back to Browse

Reduce boilerplate code with PHP 8 | Carsten Windler

980 views
Aug 18, 2022
43:06

With PHP 8, some new, quite interesting features have been introduced. Some of these features can even help us remove code like getters and setters that have been necessary in the past to work around the shortcomings in earlier PHP versions. As a benefit, the code will even become more robust and easier to maintain than before. After the theoretical part, we will have a small live coding session and see how we can shrink a typical PHP class to a fraction of its original size — without losing any features! Is it finally time to get rid of some best practices that we used without question for many years? https://phpconference.com/php-core-coding/reduce-boilerplate-code-with-php-8/ International PHP Conference Berlin https://phpconference.com/berlin-en/ International PHP Conference Munich https://phpconference.com/munich/ International PHP Conference Blog: https://phpconference.com/blog/

Download

1 formats

Video Formats

360pmp466.3 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Reduce boilerplate code with PHP 8 | Carsten Windler | NatokHD