Random ramblings about code, programming and technology


Social Media

Lead Developer @ Demac Media

© 2014. Allan MacGregor All rights reserved.

Watch: The Myth of the Genius Programmer

What to watch this week, In this week video Brian Fitzpatrick and Ben Collins-sussman talk about the pervasive myth of the uber-programmer the know it all genius; why everyone secretly wants to be considerad a genius and how this can affect the collaboration and behavior.

Watch: What is Docker?

What to watch this week, Solomon Hykes explains the docker platform and how it can help developers to build and deploy apps more easily. Great for those that want to understand more about the docker platform.

Watch: Magento Fireside Chats on Testing

What to watch this week, the Magento Fireside Chats on testing. On this series of hangouts Magento developers come together to discuss their different approaches to testing, covering a variety of tools like Selenium, PHPUnit, PHPSpec, Menta and more.

Watch: How to Build a Framework

What to watch this week, an amazing talk by Max Lynch from Ionic, where we recalls his experiences while creating the Ionic framework. Great Insights for anyone looking to start an open source project regardless if is a framework or not.

Exploring Hack: Building a MicroFramework

As a full-time Magento Developer I deal with a very specific kind of PHP every single day; this can at time get rather boring since rarely one can apply new technologies or programming concepts. One of the new languages that keeps grabbing my attention is HACK, which is almost identical to PHP in terms of syntax but at the same time implements some of the more attractive features from statically typed languages.

Swiss Army Knife Syndrome

Software needs to be as clean and as simple as it can practically be. To follow the knife analogy, good code should be like a chef's knife. A chef's knife has a clear and defined set of uses. A professional chef will use the right kind of knife for the job. This is how we should think about our code.

Flexible PHP Development with PHPFarm

If you have been working with PHP for a while, chances are that you have come across with a project, extension or script that requires to be tested on multiple PHP versions, for simple CLI scripts this seems easy enough but what happens when you are working with complex applications, developing for frameworks or multiple versions of them ?

Is HHVM/Hack the new face of PHP?

HHVM has been generating a lot of buzz and excitement in the PHP world recently and if you haven't heard about HHVM yet you should check my first two posts about it.

Working with Psysh

Psysh is actually more than a simple REPL it's also an interactive debugger; which means you can say goodbye to the endless barrage of var_dump() and die() statements.

Hello Hack

Recently Facebook unveiled Hack, a new programming language that aims to provide developers with the tools to write and ship code quickly while catching errors on the fly.