Code

Articles discussing new methods and possibilities that we use in our own code, and Open Source code too.

Our inaugural FedEx Day

Our inaugural FedEx Day

We here at Practically took 24 hours out of client work to do our first FedEx day – so called because you deliver something the next day. We wanted to show off the creativity, technical process and breadth of what our small team made.

read more
Start a new development project on the right foot

Start a new development project on the right foot

Multiple times in Web Development you will go through the process of creating a new repository for a new application or project that you are tasked to build. We think it is really important to get the order of tasks correct at the start of a new application…

read more
Service Broker Introduction

Service Broker Introduction

A service broker is a way of provisioning services and binding them to applications. With a service broker you can provision a database and bind it to a deployment.

read more
Mkcert all the things

Mkcert all the things

After Ade Attwood’s recent dive into TLS and creating server certificates with a root ca. This is a much simpler way with mkcert…

read more
Yii2 stream responses

Yii2 stream responses

In your Yii2 controller, it is quite common practice to return the stream of a file to the browser for your user to download. However, it’s not so well documented you can set any stream reference as the content of your response.

read more
Named regex matches in php

Named regex matches in php

When dealing with those pesky regular expressions trying to get our matches by their index, making your code that little less readable.

read more
Git Repository Clean Up

Git Repository Clean Up

After you have been developing a project for some time your local git repo can become detached from the repository on ‘origin’. Here are a few commands you can run to clean things up a bit when you feel things are getting cluttered.

read more