Here is an example of how to create type safe lists in PHP 7. Influenced by Java Generics, this approach lets your code guarantee the type of data you can store and retrieve from arrays.
Continue reading PHP 7 Type Safe Arrays
PHP 7 introduces scalar type definitions: your function parameters can be of a given type, and function return type declarations ensuring your function will return results of a given data type. This can increase your code quality by enforcing a specific behaviour of your code, almost similar to how a strongly typed language does. However, PHP does not yet support variable or property data types – leaving the possibility of variables and properties to be unpredictably converted from one type to another within type safe functions. Below is a technique that enables you to guarantee object properties will always be of a given type.
Continue reading PHP 7 Object Properties Type Safety with Setters and Getters
These are my notes on how to install a D Programming Language compiler along with it’s package management tool Dub and how to set-up a first “Hello World” project on a Raspberry PI running Raspbian.
Continue reading D Programming Language – How To Install on Raspberry Pi 3
Having played with the Raspberry PI GPIO interface for over a year, I thought I should explore options for a faster CPU/RAM and a different architecture to enable quicker device control and more complex software. The fastest option for controlling is using a standard PC and a standard CPU architecture.
Continue reading Numato Lab 32 Channel USB Gpio NodeJS Module
Short note on how to install PHP Ncurses on Debian. This post assumes root level access.
Continue reading How to install PHP Ncurses on Debian
Below is a list of packages required for Symfony2 running on FreeBSD 10.
Continue reading Symfony2 FreeBSD 10 PHP Packages
Previously, an entry was written on how to Install Capistrano 3, on Debian. Here is an alternate, quicker way, of installing Capistrano using RVM, on any flavour of Linux – authored by Omar Tamer.
Continue reading Installing Capistrano 3 on a Linux machine, using RVM
Final component of the Continuous Integration and Deployment process using Capistrano and Jenkins, is …Jenkins. Jenkins is an open source Continuous Integration services tool, that allows users to define a set of tasks to be run either manually, or triggered by 3rd party applications.
Continue reading Create Jenkins Jobs using Capistrano 3 for NodeJS