Skip links

Random knowledge shared...

  1. Testing PHP extensions - what makes a good test

    March 22, 2015 3:04 PM - 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

    March 12, 2015 1:58 PM - 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

    March 9, 2015 9:03 AM - 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

    February 13, 2015 8:10 AM - 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

    January 24, 2015 10:44 PM - 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"