Qafoo GmbH - passion for software quality ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :Author: Kore Nordmann :Date: Sat, 26 Jan 2013 14:00:14 +0100 :Revision: 7 :Copyright: All rights reserved ================================= Testable Code and SOLID at PHPBNL ================================= :Description: PHPBenelux was, as usual, the first conference of the year and, also as usual, it was a really great conference. As a 3rd "usual" thing, I did a tutorial and a talk there: On how to write *Testable Code* and to *Make Your Project SOLID* by applying these 5 fundamental principles of object oriented design to your code. :Abstract: PHPBenelux__ was, as usual, the first conference of the year and, also as usual, it was a really great conference. As a 3rd "usual" thing, I did a tutorial and a talk there: On how to write *Testable Code* and to *Make Your Project SOLID* by applying these 5 fundamental principles of object oriented design to your code. __ http://conference.phpbenelux.eu/2013/ :Keywords: automated testing, php, object oriented design, best practices, conference, talks, presentations, php benelux This weekend PHPBenelux__ took place in Antwerp, Belgium and Qafoo was part of this experience again. It is usually the first conference of the year and the organizers managed to create a remarkable event. __ http://conference.phpbenelux.eu/2013/ I did a tutorial together with Benjamin on Friday and a talk on Saturday. The topics were how to write *Testable Code* and to *Make Your Project SOLID* by applying these 5 fundamental principles of object oriented design to your code. .. image:: /talks/13_01_phpbnl_testable_code_screen.png :target: /talks/13_01_phpbnl_testable_code.pdf :width: 150px :height: 112px :alt: Testable Code :align: left On Friday Benjamin and me gave a three hours workshop on `Testable Code`__. To get people settled and connected to the topic we started with a dot sticking survey. As we realized that quite big fraction of attendees not having written tests with PHPUnit before, we inserted a short crash course offhand before starting with the real content. __ /talks/13_01_phpbnl_testable_code.pdf After an introduction on reaons for testing your code and the typical approaches to this, we presented four of the most essential issues PHP developers have when approaching unit tests and showed how those can be fixed in the code. Because practicing personally is a highly more effective way of learning than classroom style teaching is, the attendees paired in groups of two and put about 1.5 hours of work on a code kata after the lecturing. Of course three hours is a really short time to handle the topic exhaustively. To achieve that, a longer `training on automated testing`__ is needed. However, I had the impression that we gave the audience a good introduction into the topic, which can deal for further research and practice. __ /services/training/topics/automated_testing_php .. note:: Contact__ us about an `individual training`__ for your development team on topics like object oriented design, testing, continuous integration, performance testing, profiling and more. __ /contact.html __ /services/training.html .. image:: /talks/13_01_phpbnl_make_your_project_solid_screen.png :target: /talks/13_01_phpbnl_make_your_project_solid.pdf :width: 150px :height: 112px :alt: Make Your Project SOLID! :align: left My `Make Your Project SOLID`__ presentation, which I gave Saturday morning, was kinda related to this, since testability and good object oriented design go hand in hand. Raffling an ElePHPant to the attendee who finds the intentional fundamental issue in the presentation occasionally helped to keep people concentrated for a full hour. I was quite happy to see Anthony__ - advocator of SOLID principles himself - among the crowd and get positive feedback for the talk from him afterwards. __ /talks/13_01_phpbnl_make_your_project_solid.pdf __ http://blog.ircmaxell.com/ Although PHPBenelux is still running at the time of writing, I already want to thank the organizers of PHPBenelux for their great efforts for creating another awesome conference. It worked out really well once again. Also, I want to thank all of the attendees and speakers for creating the typical great atmosphere. Trackbacks ========== Comments ========