PHPNews

When to declare classes final

TL;DR: Make your classes always final , if they implement an interface, and no other public methods are defined In the last month, I had a few discussions about the usage of the final marker on PHP classes. The pattern is recurrent: I ask for a newly introduced class …

Continue reading »

Written by ocramius.github.io - - Aggregated on Tuesday January 6, 2015


Introducing eBay’s Trading API – Setting Up

In this tutorial series, I’ll walk you through Ebay’s Trading API. The Trading API allows you to build applications that can be used for selling in Ebay. Here are some examples of things you can do with the API: retrieve store information update store preferences add products to a specific eBay store end …

Continue reading »

Written by Sitepoint - - Aggregated on Monday January 5, 2015


I found Wonderland. Hint: it's in Germany

In 2013 I went to Hamburg with my Husband as he was attending a conference - called CCC,  Chaos Communication Congress . Happening since 1984, the conference is organized by the Chaos Computer Club, characterized as  "...one of the most influential digital organisations anywhere, the centre of German digital culture, …

Continue reading »

Written by Erika Heidi - - Aggregated on Monday January 5, 2015


XHGui on VM, Storage on Host

I'm doing some performance tuning on a project at the moment and my favourite tool is still XHGui - but it's designed to run on the same machine as its victim and since this is a vagrant VM, the chances of me destroying the machine and therefore the data are pretty high! Instead, I set it up to store the data onto …

Continue reading »

Written by Lorna Jane - - Aggregated on Monday January 5, 2015


Economy of Tests

This is a joint post with Mathias Verraes . You can expect more of these. A common complaint with teams that first try their hand at automated testing, is that it is hard, costly, and not worth the effort. On the other hand, supporters say that it saves them time . In this post, we’ll try to add some nuance to …

Continue reading »

Written by The Stakeholder Whisperer - - Aggregated on Monday January 5, 2015


Economy of Tests

Joint post with Konstantin Kudryashov . A common complaint with teams that first try their hand at automated testing, is that it is hard, costly, and not worth the effort. On the other hand, supporters say that it saves them time . In this post, we’ll try to add some nuance to the discussion. We’ll take a look …

Continue reading »

Written by Mathias Verraes - - Aggregated on Monday January 5, 2015


Google I/O 2014 – HTTPS Everywhere (video)

Excellent, essential and game-changing talk by Ilya Grigorik and Pierre Far (both of Google), explaining why you should always use HTTPS, not only on “security-related requests”. The talk also features prices and sources of certificates, have a look on the free ones (!) for non-commercial and open-source sites, a …

Continue reading »

Written by Dev Metal - - Aggregated on Saturday January 3, 2015


Laravel 5 Eloquent attribute casting is awesome

Attribute casting is a new feature of Laravel's Eloquent model that was recently added without really getting much attention (yet). So what does it do, and how can you use it? Casting is, implicitly or explicitly, changing the entity of one data type into another. A simple example is casting the string "100" to …

Continue reading »

Written by jenssegers.be - - Aggregated on Saturday January 3, 2015


PHP Tips, Resources and Best Practices for 2015

PHP has had many reputations over the years, but being insecure as a language never really was one of them. The core team, all its faults notwithstanding, is rather quick in pouncing on all security matters, and updating PHP to the latest version will often allay all worries. But the end users, such as we are, …

Continue reading »

Written by Sitepoint - - Aggregated on Friday January 2, 2015


Stop using PHP-FPM to argue using Nginx vs Apache

I often see “Apache vs Nginx” discussions appearing on reddit and some of the arguments people make are plain ridiculous. So now I want to address one that makes my eyes roll the post: PHP-FPM. When Nginx first came into PHP world its popularity was mostly fueled by numerous benchmarks showcasing its speed vs a LAMP …

Continue reading »

Written by Dracony - - Aggregated on Friday January 2, 2015


Todotxt on Android and Ubuntu

I'm a big fan of good tools, however struggle to find products that fit me because there are some key constraints: I use Linux (specifically Ubuntu 14.10) I don't use a pointing device. At all. If I can't use a tool from the keyboard, I can't use it at all (as a side effect, I use keyboard enablers in my …

Continue reading »

Written by Lorna Jane - - Aggregated on Friday January 2, 2015


Todotxt on Android and Ubuntu

I'm a big fan of good tools, however struggle to find products that fit me because there are some key constraints: I use Linux (specifically Ubuntu 14.10) I don't use a pointing device. At all. If I can't use a tool from the keyboard, I can't use it at all (as a side effect, I use keyboard enablers in my …

Continue reading »

Written by Lorna Jane - - Aggregated on Friday January 2, 2015


UWYC: Use What You Can

In her book , Amanda Palmer talks about DIY, and how when you start asking for help, Do It Yourself is a strange term. Instead, she suggests UWYC, which stands for Use What You Can. I think software developers can learn a lot from this mindset. As Palmer says: I have no interest in Doing It Myself. This is …

Continue reading »

Written by Stefan Koopmanschap - - Aggregated on Friday January 2, 2015


UWYC: Use What You Can

In her book , Amanda Palmer talks about DIY, and how when you start asking for help, Do It Yourself is a strange term. Instead, she suggests UWYC, which stands for Use What You Can. I think software developers can learn a lot from this mindset. As Palmer says: I have no interest in Doing It Myself. This is …

Continue reading »

Written by Stefan Koopmanschap - - Aggregated on Friday January 2, 2015


2014 - A Year In Review

Wow, another year gone by. Where does the time go? Well, considering I've written a year-end summary the past 2 years, I've decided to do it again for this year. So here it is, 2014 in review: Read more »

Continue reading »

Written by Ircmaxell - - Aggregated on Wednesday December 31, 2014