Cross-platform Desktop JavaScript 3D Game Engine with NodeJS, Electron and BabylonJS

Recently, I have been experimenting with writing 3D games – mainly for mobile Virtual Reality. Today I though I might want to have a go at writing a desktop 3D game, and played with Electron, NodeJS and BabylonJS so I can write my code in JavaScript and use HTML5 to develop my own cross-platform 3D game engine.
Continue reading Cross-platform Desktop JavaScript 3D Game Engine with NodeJS, Electron and BabylonJS

PHP 7 Object Properties Type Safety with Setters and Getters

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

Numato Lab 32 Channel USB Gpio NodeJS Module

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

Raspberry PI Java and Javascript Desktop Applications – JJR Architecture

This entry shows how to create desktop applications for the Raspberry PI with a GUI written in JavaScript and rendered using the Java SWT Browser widget. Use this model to benefit from Rich Internet Applications and access device hardware and software resources by creating custom JavaScript functions. The assumptions are that your device is running Raspian, a Debian based Linux distribution optimised for the Raspberry PI, with X11 enabled and Java installed.
Continue reading Raspberry PI Java and Javascript Desktop Applications – JJR Architecture

Create Jenkins Jobs using Capistrano 3 for NodeJS

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