Speed with websites is largely about caching of resources. We explain what, why and how we do things at Practically.
Code
Articles discussing new methods and possibilities that we use in our own code, and Open Source code too.
Why is ChatGPT and generative AI okay for industry but not for education?
Or, Why is ChatGPT and generative AI okay for industry but not for education?
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…
Divi alt tags done right (in functions.php)
DIVI for WordPress. Load Alt tags in Divi directly from the Media Library, pull alt tags in automatically even when these are added or changed from the WordPress Media Library.
Yii2 application static analysis with Psalm
Practically has developed a Psalm Yii2 plugin as a static analyser for making sure your object types are refined and defined.
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.
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…
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.
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.
Up and running with Kubernetes and Microk8s
Canonical have been doing some awesome work with Microk8s. This program makes it super simple to get up and running fast with Kubernetes.
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.