Browse category Education Station

Education Station: Producer-Consumer Programming

by · September 4, 2018

0
 

Producer-consumer programming is an excellent technique for offloading work from your main application. You can scale resources to meet increased demand. You can smooth out spikes by placing your backlog in a queue. You can set aside long-running tasks such as thumbnail generation. We’ll develop a simple CakePHP application that produces and consumes via a […]

 

Education Station: That’s Logical

by · August 3, 2018

0
 

This month we practice working “close to the hardware.” We’ll see why this is becoming more important to today’s software developers. We’ll use the PHP bitwise operators to manipulate single-bit binary numbers. We’ll then take a more general look at ways to learn what we need to learn.

 

Education Station: Build an Algorithm

by · July 2, 2018

0
 

If you have trouble making change for a dollar without a calculator, and don’t care, this article may not be for you. Otherwise, come along with me! We’ll be converting between numbering systems. We’ll create an algorithm for converting between decimal (integer) and hexadecimal numbers.

 

Education Station: Build an API, Part Three

by · June 6, 2018

0
 

In this series, we look at using Behavior-Driven Development (BDD) and specification by example to develop a RESTful API. In Part Three, we focus on the HTTP verbs directing any RESTful API. Understanding where and when to use HTTP verbs will inform how we structure our API and affects the developer experience.

 

Education Station: Build an API, Part Two

by · May 1, 2018

0
 

In this series, we look at using Behavior-Driven Development (BDD) and specification by example to develop a RESTful API. In Part Two we introduce Behavior-Driven Development as a way of communicating with non-developers, our stakeholders.

 

Education Station: Build an API, Part One

by · April 2, 2018

0
 

In this series, we look at using Behavior-Driven Development (BDD) and specification by example to develop a RESTful API with JSON-formatted request and response. In Part One we introduce these concepts, design our database, and implement a minimal working API.

 

Twitter for PHP Development

by · March 1, 2018

0
 

The Internet Research Agency indictment carries strong implications for the software development community. We’ll educate ourselves by drilling down into examples of computational propaganda with Twitter. Then, we’ll relax and learn how we can use Twitter to further our professional development by connecting to the greater PHP community.

 

Education Station: Shifting and Masking with a Side of Crypto

by · February 1, 2018

0
 

The basics can be tricky. This month we take a careful walk-through of a few lines of cryptographic code in PHP. This leads us through the difference between ones’ complement and two’s complement representation. We achieve weirdness by combining logical AND with integer addition.

 

Education Station: What is a Real Programmer?

by · January 4, 2018

0
 

We expect a shortage of software engineering talent in 2018. Those with a deeper understanding of how things work will most benefit from the shortage. Let’s bring in 2018 by taking on one of those fundamentals, binary arithmetic, but with a twist: We’ll use XOR and AND logic for our implementation.

 

Education Station: How to Write Your Own Code Sniffer

by · December 1, 2017

0
 

Whether you’re new to PHP, or you’re more of a seasoned veteran, you’ve probably heard about PHP_CodeSniffer. The package, which has been around since September 2006, checks source code for coding standards violations. I’ll start off by showing you how to create a style which is a combination of other standards. I’ll then refactor it, […]