Coding

Tips and Tutorials for Laravel, WordPress, VueJS, React, and straight PHP. Learn how to make web apps using Laravel, themes, and plugins with WordPress and front-end components using VueJS.

Coding · 4 MIN READ

WordPress is Not an App Platform

WordPress has come a long way since it’s inception. I really got excited about WordPress after the platform started allowing developers to register their own Custom Post Types. I was a big fan of this, and believed this could bring the type of data abstraction that was needed for modern websites.

Coding · 1 MIN READ

setInterval is Bad

I got another reminder today of how bad setInterval can be. You just don’t hear developers talking about the problems with setInterval. In fact, I’ve seen numerous tutorials where good developers are using it in their examples. We need to start addressing this and start talking about the problems with setInterval.

Coding · 2 MIN READ

Upload Files to AWS S3 using Laravel

Update: Freek Van der Herten has an updated version of this tutorial, which is better on memorey and supports larger file uploads. Uploading to Amazon S3 can be a great way to keep your files loading quickly with their CDN, and allow you to work more on your code, rather than your filesystem. Laravel 5’s […]

Coding · 3 MIN READ

Git and WordPress Workflows

Using Git with WordPress has always been a little bit of black magic. You can’t keep the database under Git, nor can you run migrations on the database. We are left just putting our code and files under Git management, and leaving the database migrations up to something like WP Migrate DB.

Coding · 1 MIN READ

Box your website, or let it breath?

When you set out to design a new website, especially a writing centric website, how you present the primary content is often a major concern. Boxing your website is a technique that was mostly used a lot during the previous decade, but is starting to fade. Here is a screenshot of the previous version of this site. […]

Coding · 1 MIN READ

FireFox Bug using FlexBox and Percentage Based Margins

There seems to be a small bug in FireFox when you are using percentage based margins and Flexbox. If you are using Flexbox, and you have set a percentage based bottom or top margin, they are not applied in FireFox. I have setup a CodePen to demonstrate the problem and you can track the Bugzilla […]