Articles


Manage your own server with Laravel Forge

Sometimes you need more control over the server than a shared host can give you. At this moment, it is where Laravel Forge enters: it’s a tool for deploying and configuring web applications. The makers of the Laravel framework developed it, but you can use it to automate the deployment of any web application that uses a PHP server.

Deploying static sites

Going with a static site can be very compelling these days, say goodbye to security and performance issues. There are no connection issues with MySQL or the white screen of death.

Using Git Hooks

If you want to make sure to run tests on every commit or push, git hooks are a great and easy tool to use. Git hooks are a mechanism that allows arbitrary code to be run before, or after, certain Git lifecycle events occur. The hooks can be any executable code, including shell, PowerShell, Python, or any other scripts. Alternatively, they may be a binary executable. Anything goes!

Writing good commit messages

You can think of the commit log as a newsfeed for your project, in which the log message is the headline for each commit. Have you ever skimmed the headlines in a newspaper (or, for a more current example, BuzzFeed) and come away thinking you’d gotten a summary of what was happening in the world?

Previewing Websites Without DNS

Sometimes, you may want to preview your newly deployed website before you update its DNS settings. The redirect of DNS can also take awhile to you want to make sure everything is working if you have moved to a new server. This can also be useful when you’re creating a brand new website, or want to test your name-based virtual hosting configuration or another DNS-related feature. By making the changes described below, you can test your new setup from your local computer without affecting global access to your domain’s current location.

Git Cheat Sheet

A Git cheat sheet saves you from learning all the commands by heart.

WordPress security myths

Here are some common WordPress security myths. Internet is full of bad tutorials, don’t waste time on those.

Guest post on CSSTricks

I wrote a guest post on CSS-Tricks. It’s a tutorial about GitFTP-Deploy and why you should use a VCS. Enjoy!

A short WordPress security checklist

Looking for an easy checklist of how to hardening security on your WordPress site without bloated plugins? Look no further. Here is an easy list without the extra fluff, based on my own experiences. I use it for myself when helping clients. The aim is to make your installation more secure than your neighbor. ;-)