Starting Out Wit Vuejs

Starting Out With VueJS Part 2

/ Javascript / by Paul Robinson / 0 comments

In this short bolt-on tutorial we are going to look at how to change where the data is coming from in our Film Watch list example. Instead of the data being hard coded into the Vue instance we are going to pull it in from a separate location using an AJAX request. Now creating a REST API is well beyond […]

Read more
Starting Out Wit Vuejs

Starting Out With VueJS

/ Javascript / by Paul Robinson / 0 comments

Today we are going to take a look at a brilliant JavaScript library that allows you to quickly create a View layer for your application. It is easy to work with and exceptionally fast. That doesn’t mean it can only be used for your View layer though, there are components out there such as vue-router that add features that easily […]

Read more

Fill MySQL Table With Data From CSV

/ PHP / by Paul Robinson / 0 comments

It’s probably been in every PHP ‘test’ going and is a very commonly asked question, but it’s something I’ve never covered here at Return True before. So what exactly is the best way to insert data into a MySQL table from a CSV file? Well I can’t say these are the best ways, but here are two ways I’ve come […]

Read more

Create A Virtual Page Using Rewrite Rules In WordPress

/ Wordpress / by Paul Robinson / 2 Comments

In our last tutorial we looked at how to create a endpoint. Those were pages that could be created for each type of permastruct available within WordPress. This time we are going to look at creating a page that does not rely on any of WordPress’ built in permastructs and instead can match any URL you like. I would advise […]

Read more

Creating A Custom Page With WordPress Endpoints

/ Wordpress / by Paul Robinson / 8 Comments

Today we are going to take a look at using Endpoints within WordPress. Endpoints are points that you can define on the end of the normal in-built permastructs within WordPress to provide extra functionality. What is a Permastruct? A permastruct is a Permalink Structure. So for example the URL you visit when viewing a single post, normally (depending on your […]

Read more

Creating A WordPress Plugin With Composer and the Mailgun API

/ PHP / by Paul Robinson / 2 Comments

Composer is an extremely powerful tool for PHP developers and I love it, but how about when you are building a WordPress plugin? WordPress has a lot of built in features but having access to the massive library of packages available on sites like Packagist is amazing, so the question is how do you use Composer along with WordPress? Prerequisites […]

Read more

Uploading Directly To Amazon S3 From Your Laravel 5 Application

/ PHP / by Paul Robinson / 30 Comments

So you have your killer new application planned out in Laravel, you get everything working with local uploads for that fancy image feature you need. Then bummer, you realize something. With a lot of hosts now shifting to SSD technology they are no longer offering unlimited hosting space. What about if you use something like Digital Ocean who only offer […]

Read more
Beginners Guide: Using Vagrant with Puphpet for Local Development

Beginners Guide: Using Vagrant with Puphpet for Local Development

/ Misc / by Paul Robinson / 9 Comments

Whether you’ve been developing locally for years, or you are just getting started, but have always used a locally installed server such as XAMPP or WAMP (or MAMP) it might be time to move on to a more flexible development environment. Why Use Vagrant? Vagrant is excellent for development because it creates a virtual version of a real server. It […]

Read more

Simple Website with Silex and Twig: Adding Form Validation

/ PHP / by Paul Robinson / 4 Comments

In that last part of our tutorial we looked at how to add Swiftmailer to the contact form of our simple Silex website. This time we are going to look at how to finish things off by using the Form Builder, adding CSRF protection and moving our Silex install to a more secure location. If you haven’t followed the first […]

Read more

Reorder A Numerically Keyed Array Using Array Splice?

/ PHP / by Paul Robinson / 3 Comments

So today I was given an interesting task by a client. I had the output of a certain function. That function returns an array containing the days of the week (via numeric key, 0 = Sunday, 1 = Monday, etc). The value of each key was an array containing data. Something like this:

Using shorthand array syntax here & […]

Read more

I'll keep your WordPress site up-to-date and working to its best.

Find out more