DPC2019: Interface Segregation for PHP - Dan Ackroyd

Pubblicato il: 02 luglio 2019
sul canale di: Ibuildings Dutch PHP Conference
482
9

"Interface Segregation for PHP by Dan Ackroyd

When people give talks on the ""S.O.L.I.D."" design principles one of the letters that doesn't get enough attention is the ""i"" - the ""interface segregation principle"". This talk seeks to redress that imbalance by going into a bit more in-depth into:


An introduction to interface segregation and an explanation of how it makes your code easier to test.
Why in PHP we need to apply the principle more broadly, to make types be more specific, so that code is more reasonable. *Me babbling on about emotions, and how good code is boring. Which is good!


What will people learn from your talk:


The difference between code being reasonable and understandable.
The purpose behind using types to make your code be less likely to have bugs.
How 'interface segregation' applies to more than just classes in PHP.
How to overcome some emotional barriers to writing clean code.



About Dan Ackroyd

Dan is the maintainer of the Imagick PHP extension and occasional contributor to PHP core.

After making video games for Playstation, PCs and mobile phones, Dan moved into making websites where he is happiest making working as a backend PHP developer.

Currently, Dan is launching http://opensourcefees.com/ which is aimed at making it possible for companies to support Open Source projects.


This talk was given at the Dutch PHP Conference in 2019, organised and hosted by Ibuildings. Visit https://phpconference.nl or https://www.ibuildings.nl for more information."


In questa pagina del sito puoi guardare il video online DPC2019: Interface Segregation for PHP - Dan Ackroyd della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Ibuildings Dutch PHP Conference 02 luglio 2019, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 482 volte e gli è piaciuto 9 spettatori. Buona visione!