Arduino Event-Driven Development

First off, I only recently started experimenting with Arduino and C++. For the last couple of years I have been mostly involved with languages such as PHP, so it’s a rather big change going from a dynamic language to a structured language such as C++.

  -

Controlling a LED Using Arduino Serial Port

I recently started a project to build a remote control car powered by Arduino and Raspberry PI. I will hopefully be publishing some more advanced Arduino tutorials soon, but first…let’s cover some basics. I don’t claim to be proficient in Arduino or C++, so any feedback is welcome in the comment section below.

  -

Design Pattern - PHP Event Dispatcher

Almost every time the topic of events in PHP comes up, the responses I usually get tend to be in the direction of “PHP doesn’t have real events”, “PHP executes synchronously, how can it use events” etc. Although there are some truth to these statements, events doesn’t have to by asynchronous or non-blocking. Events are defined as “something that happens”. So if you are uncomfortable with calling them events, just call them “hooks”.

  -

Testing Javascript With Mock Objects And Spies

One of the biggest problem we are confronted with when writing tests, is the inability to isolate certain pieces of code. This makes the tests less valuable, as we don’t know which piece of code might be causing a test to fail.

  -

Clickatell PHP Library

Clickatell offers quite a few API’s to help developers integrate with their SMS gateway. The only problem I found, was that the different protocols tend to behave differently.

  -