PHPDeveloper
  • Mercurial Reference Guide

    by Jarrod posted 2 years ago
    Mercurial Reference Guide

    New to Mercurial? Here is a quick reference to ease you into the differences of Mercurial, as opposed to SVN, and help you get your first project started!

  • Running PHP from the Command Line - Basics

    by Jarrod posted 2 years ago
    Running PHP from the Command Line - Basics

    Here are a few of tips to share with you regarding running your PHP from the command line.

  • Design Pattern: Blog ERD

    by Jarrod posted 2 years ago
    Design Pattern: Blog ERD

    With any new project, a solid design is a good place to start. So often have I seen databases designed on-the-fly only for data to be shuffled around to get that "link" table added. Or worse yet, tacking on extra columns like the classic: "image1, image2, image3...".

  • Enabling Mod Rewrite on Ubuntu

    by Jarrod posted 2 years ago
    Enabling Mod Rewrite on Ubuntu

    If you've already searched the Internet you'll like have quickly come across loads of posts about how to enable mod_rewrite on Ubuntu. Still doesn't work? I'll tell you why.

  • Generate a Letter Collage With PHP

    by Jarrod posted 3 years ago
    Generate a Letter Collage With PHP

    Today I saw a picture my cousin, clever little cookie, had generated of letters randomly placed and tightly grouped, but not overlapping, to form an image which produced a pleasing result - curious to how he did, I thought I'd have a go.

  • Five Awesome HTML5 Canvas Demos

    by Jarrod posted 3 years ago
    Five Awesome HTML5 Canvas Demos

    One of the many spoken about features of HTML5 is the canvas element. This new feature allows you to draw graphics on your page using javascript, providing a new depth of creativity on the web. And while there aren't currently too many practical uses on the web, there are plenty of the showcase type.

  • Animating: Calculate Curved Paths

    by Jarrod posted 3 years ago
    Animating: Calculate Curved Paths

    So you've just followed a tutorial on how to make a ball bounce. As fantastic as this is, and an important stepping stone, you soon realise the shortcomings of this feat - you ball moves in perfectly straight lines.

  • Image Resizing Made Easy with PHP

    by Jarrod posted 3 years ago
    Image Resizing Made Easy with PHP

    Ever wanted an all purpose, easy to use method of resizing your images in PHP? Well that's what PHP classes are for - reusuable pieces of functionality that we call to do the dirty work. Let's take a look at creating our own class for just this task.