less than 1 minute

HHVM In The Wild

HHVM is taking the PHP world by storm, and as PHP developer there many things to be excited about HHVM. The following list shows how developers are using HHVM in the real world in very different scenarios.

Published Mar 22, 2014 in
Scroll

HHVM is taking the PHP world by storm, and as PHP developer there many things to be excited about HHVM.

The following list shows how developers are using HHVM in the real world in very different scenarios.

-=excerpt=-

Additional Reading

If you using HHVM in production or in a way where you can see great performance gains and want to share with us? Then drop me an email at info (at) allanmacgregor.com or leave a comment in the section below.

3 minutes

Exploring Traits

Among the new features and fixes that come with PHP5.4 we have the addition of traits to the PHP language, PHP is a single inheritance language this means that classes and only inheriting from single parent class, in practice this complicates code organization and can lead to code duplicity. Languages like C++ or Python manage this problem by allowing inheritance from multiple classes, Ruby in the other hand uses Mixins to address this issue. Regardless of the technique the problem remains the same; Traits are another approach to this problem and are commonly used in the languages like Perl and Scala.

Published Mar 17, 2014 in