PHPNews

Bad conduct: the root of the problem

More and more tech events are publishing codes of conduct. Although I think that it’s a good idea, I find it sad that we need to tell people things as basic as “treat others like you want to be treated”. I would like that in addition to treating the symptom, we understand and treat the root cause. Bad behavior …

Continue reading »

Written by Anna Filina - - Aggregated on Saturday July 26, 2014


Internal PHP function usage

How many internal PHP functions (things like count() , strpos() , array_merge() etc), does PHP have? Depending on which version you use, and how many extensions you have loaded, somewhere between 1000 and 2000 would be a good guess. But how many of these internal functions are you REALLY using? I don’t hear many …

Continue reading »

Written by Joshua Thijssen - - Aggregated on Friday July 25, 2014


Becoming Relevant

Here is my latest editorial for the July 2014 issue of php[architect] magazine: Becoming Relevant PHP has long had the reputation of being a “side project”, something people played with in their free time or for personal use. Even though we haven’t fully shaken this reputation, PHP has come into its own and is being … …

Continue reading »

Written by Beth Tucker Long - - Aggregated on Friday July 25, 2014


Stop Fighting

I posted this on Facebook about an hour ago, but this is not limited to Facebook. It should not be. So I’m reposting it here. Today was a day like any other, except that it wasn’t. It was an official day of mourning in The Netherlands. This morning as I woke up, it was still a day like any other. When I got into my …

Continue reading »

Written by Stefan Koopmanschap - - Aggregated on Wednesday July 23, 2014


Journey to the Core

Here is my latest editorial for the June 2014 issue of php[architect] magazine: Journey to the Core Grab your gear! Does everyone have a torch? Did anyone bring a ten foot pole? Join us on a journey to the center of our profession, the focal point of our community…the core of PHP. What actually happens … Continue …

Continue reading »

Written by Beth Tucker Long - - Aggregated on Tuesday July 22, 2014


A Case for Event Sourcing in Browser JS Apps

Note: Everything in this blog post is purely theoretical, treat it as a thought experiment. I haven’t tried this yet. I’ve been thinking about use cases for Event Sourcing (ES). It’s most often associated with backend applications where you need strong audit logs but I’m starting to wonder if it might be a good fit …

Continue reading »

Written by Ross Tuck - - Aggregated on Tuesday July 22, 2014


On ethics and optimism

It really annoys me when people say that discussing ethics on social media doesn’t change the world. That is just cynical and pathetic, and these people want to drag others into inaction. Discussing allows you to question your morals and refine your opinions. You eventually act on those values and change the world. …

Continue reading »

Written by Anna Filina - - Aggregated on Sunday July 20, 2014


Send PSR-0 to the Standards Farm in the Sky

This article attempts to convince you that deprecating the PSR-0 auto-loading standard in favor of the PSR-4 auto-loading standard is not only a good idea, but a problemless wonderland of happy benefits, in the hope that when I try to get this done on the FIG mailing list, people will be happy about it instead of sad …

Continue reading »

Written by Phil Sturgeon - - Aggregated on Saturday July 19, 2014


Common PHP Mistakes

I was recently asked by one of my readers to give feedback on the following article he read: 10 Most Common PHP Mistakes . It is well written and very thorough. Most of the tips are specific to PHP, others are about web programming in general or database performance. It’s a very good read. I was also asked to …

Continue reading »

Written by Anna Filina - - Aggregated on Saturday July 19, 2014


Creating a Twitter app with Twilex

Twilex is a new open source project I put together, in order to serve as base for some Twitter apps I plan to create. It basically provides a base structure, on top of Silex and Flint , using TTools as Twitter API wrapper, to help creating simple Twitter apps. I started organizing this for a raffle system on …

Continue reading »

Written by Erika Heidi - - Aggregated on Thursday July 17, 2014


Soccer, Development, and The Value Of Teamwork

The lesson of soccer is that individual effort will often suffice when things are relatively easy. But in order to surmount the more difficult challenges, you will almost always need reliable teammates of one sort or another. I assert the same is true in development efforts. A single developer working alone can do …

Continue reading »

Written by Paul M. Jones - - Aggregated on Thursday July 17, 2014


No to a Uniform Variable Syntax

No to a Uniform Variable Syntax London, UK Wednesday, July 16th 2014, 16:48 BST As you might have heard, PHP developers voted on an RFC called "Uniform Variable Syntax" . This RFC "proposes the introduction of an internally consistent and complete variable syntax". In general, …

Continue reading »

Written by Derick Rethans - - Aggregated on Wednesday July 16, 2014


Programming Is Not Math

When I learned to program, back when dinosaurs walked the earth and the internet had no cats, there was an idea: if you were good at math, you’d be good at programming. I was great at math as a kid, but perhaps because I didn’t like it much, no one steered me towards programming. I came to it accidentally, in college, …

Continue reading »

Written by Sarah Mei - - Aggregated on Tuesday July 15, 2014


Quick user guide for Vagrant

A (really) quick user guide that could be easily included on projects or just printed for colleagues who are starting with Vagrant. The pdf versions are suited for landscape, A4 print. Click here to download the PDF version . Click here to download the special Vagrant + Ansible version (PDF) .  

Continue reading »

Written by Erika Heidi - - Aggregated on Tuesday July 15, 2014


Searching for Images

A friend recently asked me if I recognized a drawing. It looked like a dwarf or troll of some kind, perhaps from a novel illustration or older comic book. I didn’t recognize it, but was interested in helping, so I did some research into how we could identify the image. The first site I came … Continue reading …

Continue reading »

Written by Beth Tucker Long - - Aggregated on Monday July 14, 2014


A Case for Higher Level PHP Streams in PSR-7

There’s been a lot of talk lately about the PSR HTTP message proposal , PSR-7. The purpose of the proposal is to create a shared interface that can be used by projects to interact with HTTP messages for both clients and servers. When I created the proposal, I envisioned the purpose is not to say projects that …

Continue reading »

Written by unknown - - Aggregated on Thursday July 3, 2014


A Case for Higher Level PHP Streams in PSR-7

There’s been a lot of talk lately about the PSR HTTP message proposal , PSR-7. The purpose of the proposal is to create a shared interface that can be used by projects to interact with HTTP messages for both clients and servers. When I created the proposal, I envisioned the purpose is not to say projects that …

Continue reading »

Written by unknown - - Aggregated on Thursday July 3, 2014


A toolbox for less than $100 / month

There are a lot of tools out there which can help you as a developer / self-employed contractor. And even though most of these tools are free (as in beer), I don’t mind spending a certain amount of money on tools that help me do my business. So with all the tools out there, all the paid plans, the freemiums and the …

Continue reading »

Written by Joshua Thijssen - - Aggregated on Tuesday July 1, 2014