Learn how to manage wordpress with composer and other tools. My personal wordpress setup and workflow, which is my opinion is the easiest way to manage multiple versions of a wordpress site.
Posts in category php
Avoiding re-submission of POST forms
One of the functionality that bugs is the dialog you get after submitting a form through a POST request. More precisely when I want to refresh the page without re-posting. Altough sometimes re-posting is the desired functionality getting rid of the functionality altogether doesn’t make sense. What if you could choose when to allow or […]
PHP Config File using Singleton Patte...
The Problem Today I needed to have configuraion variables available across multiple PHP scripts / classes, I didn’t want to pass the array accross files or corrupt the global scope. The solution A this simple class that makes configuration varibles available throught out my application. It uses a singleton pattern so I know there is only […]