Skip links

Random knowledge shared...

  1. Testing PHP extensions - what makes a good test

    22 March 2015 15:04 - by Freek Lijten - 0 comments

    Tags: , ,

    In my previous blog I took you through the process of getting PHP and extensions compiled, generating code coverage and running tests. What I did not talk about was what makes a good test. I hope to correct on this by adding this post and going into more detail on the actual writing of tests itself.

    Read more about "Testing PHP extensions - what makes a good test"

  2. Testing and improving PHP extensions for PHP 7

    12 March 2015 13:58 - by Freek Lijten - 0 comments

    Tags: , ,

    PHP7 is coming. And it is coming to a neighbourhood near you :) A couple of people started an initiative to ensure extensions will be running out of the box once PHP7 hits the shelves. The fun part: You can help too! No C knowledge is necessary (although it is fun to dive into PHP's internals!). This piece is a short intro to help you help PHP! Help triaging extensions, write tests, add documentation and who knows when you'll be diving into C code.

    Read more about "Testing and improving PHP extensions for PHP 7"

  3. Separating concerns even better with events

    09 March 2015 09:03 - by Freek Lijten - 0 comments

    Tags: , ,

    Object oriented architecture interests me. A lot is happening in PHP over the last few years. PHP might be a decade late but hey, it is happening. I feel a lot of techniques and terms like SOLID, BDD, DDD, CQRS and what not are essentially one thing: tools to help us model the real world in an as useful and understandable way as possible. The concept of an API or a Service is widespread, even  in PHP land. I feel the same goes for repositories. This is a great way of separating concerns, but there is room to improve! In my Services at least :)

    Read more about "Separating concerns even better with events"

  4. Separating models and logic for storing and loading

    13 February 2015 08:10 - by Freek Lijten - 0 comments

    Tags: ,

    In this blogpost I will showcase a simplified problem I recently encountered. Basically I am wondering how storing data and retrieving data are different and how you should / could model this. Since we need different information while storing and retrieving information it makes sense to model those actions in different ways. The how is still bothering me and in this post I give a possible solution. I truly hope I can get some reactions and thoughs of other people in on how they would solve these kind of problems.

    Read more about "Separating models and logic for storing and loading"

  5. PHP Benelux conference

    24 January 2015 22:44 - by Freek Lijten - 0 comments

    Tags: ,

    I'm not sure if I visited every PHP Benelux conference or if I missed the first. What I am sure of however is that each and everyone of them was a blast. Afforable, well organised, good speakers, great socials and insane closing ceremonies. This year was no different, these are reviews of all the talks I visited.

    Read more about "PHP Benelux conference"