PHPNews

Indexing BLOB fields in Solr

Just a quick blogpost today about Solr. If I help someone with this post, good. If I help myself to remember this, good. In a project I’m currently working on I’m stuck with a legacy database where I can’t change the fields for fear of breaking a legacy application that is using the same data. One of the fields in …

Continue reading »

Written by Stefan Koopmanschap - - Aggregated on Saturday November 15, 2014


Signaling PHP

Very recently, elePHPant herder Cal Evans released a new book: Signaling PHP . The book is about handling signals when writing PHP CLI scripts that are long-running scripts. One could think of a daemon-like script, a long-running importer script or similar applications. I considered reading it on my flight to …

Continue reading »

Written by Stefan Koopmanschap - - Aggregated on Saturday November 15, 2014


How to get the most out of a conference

At the most excellent PHPNW conference , Kat convinced me to deliver the first unconference talk of the day. It took me a while to get the right topic. I ended up with a topic I felt everyone at the conference could use for the rest of the two days that they were there: How to get the most out of a conference . …

Continue reading »

Written by Stefan Koopmanschap - - Aggregated on Saturday November 15, 2014


Community is more than PHP. It is the world

This blogpost has been on my TODO-list for a couple of YEARS now, so I thought it was time to finally write and publish it. It is actually not at PHP, but I hope all you PHP devs do stick with me and read the whole blogpost, as I think it is about a topic we all care a lot about: community. Community is a term that …

Continue reading »

Written by Stefan Koopmanschap - - Aggregated on Saturday November 15, 2014


Forcing a date on your Vagrant box

I recently received a bugreport from a client that was very hard to debug: There were only very specific moments where the bug was reproducable, and those moments were usually in the weekend. So I decided to change the date on my Vagrant-boxes for the API and website to last Sunday to try and reproduce the problem. …

Continue reading »

Written by Stefan Koopmanschap - - Aggregated on Saturday November 15, 2014


So you want to write tests

I often get asked for some advice on how to get started with writing tests for your PHP code. It’s a fair question, since I am presenting myself as an expert-ninja-rockstar-sensei-opinionated-egomaniac on the topic. I often struggle with coming up with an answer that can fit into the 140 characters available via …

Continue reading »

Written by Chris Hartjes - - Aggregated on Saturday November 15, 2014


The birth of Grumpy Learning

It’s no secret that I have been pushing my “grumpy programmer” brand hard. Why not? It’s delivering a non-trivial amount of side income for me and I have been really enjoying it. This past fall I taught an in-person course that I called my “PHP Testing Bootcamp” where I spent about 6 hours showing a bunch of PHP …

Continue reading »

Written by Chris Hartjes - - Aggregated on Saturday November 15, 2014


Not Really Rebels: My Øredev 2012 Experience

Many months ago I found out about Øredev 2012 and submitted a proposal to give my talk on building testable PHP applications. Much to my surprise it was accepted and plans were hatched to fly me across the Atlantic and give my talk. The theme of this year’s edition of the conference was “Viva La Rebellion”. I’m …

Continue reading »

Written by Chris Hartjes - - Aggregated on Saturday November 15, 2014


PHPSpec and the new wave of testing

I promised @everzet almost two weeks ago that I would take a look at his latest project, phpspec , and let him know what I think. I think that we are witnessing the first wave of new testing tools in the PHP community that allow developers to wrap their applications in automated tests. I am familiar with the …

Continue reading »

Written by Chris Hartjes - - Aggregated on Saturday November 15, 2014


First steps in Node testing

As I’ve been promising, I wanted to share my thoughts as I am starting to brush up on my JavaScript and learn how to do something non-trivial with Node.js . Of course, I want to use tests to help me drive my work, and also as a way to keep me focused on small iterations of work. I am intending to write some code …

Continue reading »

Written by Chris Hartjes - - Aggregated on Saturday November 15, 2014


The Grumpy Programmer's PHPUnit Cookbook

TL;DR: I’ve started working on a new book . Having written a book that shows you how to write code that is testable it seemed natural to write a companion book for that, to give people a better understanding of how to use some of the testing tools. To that end, I’ve started working on “The Grumpy Programmer’s …

Continue reading »

Written by Chris Hartjes - - Aggregated on Saturday November 15, 2014


Happy Thoughts

Contrary to urban legend, I do have the occasional happy thought. You can’t raise 2 little girls with a tolerant wife unless you are able to get into that happy place almost on demand. I do have friends who appear to be bottomless sources of happiness and good cheer, their Twitter feeds full of positive messages to …

Continue reading »

Written by Chris Hartjes - - Aggregated on Saturday November 15, 2014


2012 Review

2012 was a very interesting year for me. It started with me being tired and unhappy…and this year ended with me being tired and unhappy. For different reasons, though. I had a much different blog post written, and decided to scrap it in favour of a different approach. Buckle up, here we go, starting with January …

Continue reading »

Written by Chris Hartjes - - Aggregated on Saturday November 15, 2014


Transparent Redirects with Braintree

The mere mention of “PCI Compliance” usually elicits a combination of confused looks and sweaty palms from business owners who accept credit card payments online. But what does it really mean? It’s a complicated topic, but the short version is that the major credit card companies founded a council called the …

Continue reading »

Written by Sitepoint - - Aggregated on Friday November 14, 2014


Making Agile Retrospectives Productive

They say that those who ignore history are doomed to repeat it. That applies just as well when your history comes in two-week sprints as it does when you measure the time between cultural revolutions. If you don’t pay attention to what has worked and what hasn’t and don’t decide what action to take in […] Continue …

Continue reading »

Written by Sitepoint - - Aggregated on Friday November 14, 2014


My view of PHP version adoption

PHP 5.3 has been out of maintenance for about three months now and it seems like it's time for the community to move on at last. Drupal8 will target 5.4. Symfony announced the results of a poll about which PHP version Symfony3 should target (TL;DR: 5.5 and 5.6 are preferred). And Pascal Martin released yesterday an …

Continue reading »

Written by Jordi Boggiano - - Aggregated on Friday November 14, 2014


My view of PHP version adoption

PHP 5.3 has been out of maintenance for about three months now and it seems like it's time for the community to move on at last. Drupal8 will target 5.4. Symfony announced the results of a poll about which PHP version Symfony3 should target (TL;DR: 5.5 and 5.6 are preferred). And Pascal Martin released yesterday an …

Continue reading »

Written by Jordi Boggiano - - Aggregated on Friday November 14, 2014


My view of PHP version adoption

PHP 5.3 has been out of maintenance for about three months now and it seems like it's time for the community to move on at last. Drupal8 will target 5.4. Symfony announced the results of a poll about which PHP version Symfony3 should target (TL;DR: 5.5 and 5.6 are preferred). And Pascal Martin released yesterday an …

Continue reading »

Written by Jordi Boggiano - - Aggregated on Friday November 14, 2014


An idea about email introductions

Throughout my adult life, I’ve been a bit of a connector . By virtue of this, I often am asked to make an introduction for someone; a person I know is interested in contacting another person I know. I have a standard email format that I use for this, but the most recent time I did it raised a few questions in my mind …

Continue reading »

Written by Corey Haines - - Aggregated on Friday November 14, 2014