Cake API Setup

Installing CRUD plugin

Setup some database tables. Update the config/app.php file with your database details. Generate the database files with the bake command

Hash User Passwords

Update App Controller

Update Users Controller

Add Login Template File

Update Routes

Create Api Controller

Create […]

Read More

Installing Composer On Digital Ocean Ubuntu 14.04

Summary How to install composer on a new droplet running Ubuntu 14.04. Installing composer on a Digital Ocean droplet is a pretty straight forward process and only needs a few commands. Log in to your droplet. First, update you package manager:

Install cURL:

You’ll be asked if you want to use the extra […]

Read More

Code Guidelines

This is a general guide on how you can improve the code you write. Its main aim is to help you structure your code in a way that makes it easier for me to help you. 1. Use Correct Formatting If there is one rule you follow, please let it be this. Correctly indent your code! […]

Read More