Tips and techniques for coding in PHP, back-end development, and developing a web application from start-to-finish.

How to Build a Dynamic Imgur Upload App Using jQuery & PHP

JavaScript / 29 Aug 2013

How to Build a Dynamic Imgur Upload App Using jQuery & PHP

Many new online web services are providing backend APIs for developers. These allow anyone to connect into a web app and pull out specific information (or push or change bits of data). Today we’re specifically looking at the API for Imgur.

In this tutorial I want to demonstrate how we can remotely mirror an image found elsewhere online and auto-upload to Imgur. It’s possible to create a form handling user-uploaded images as well. But I wanted to keep the demo clean without needing to move user content onto the server. This process is very simple once you understand how APIs work. Take a peek at my live demo to see exactly what we will be making, then follow along!

PHP / 29 Jul 2011

Adding an About the Author Box to Your WordPress Posts

Digital magazines have become a popular commodity for today’s web users. With WordPress powering millions of blogs on the web today, it’s fair to assume they run a stable piece of software. Some of the best features are all internal as the WP team publishes live, updated documentation with each release.

Not only is the software very powerful but the underlying classes and functions give developers an all-access pass. It is extremely simple to develop apps and modules within WordPress. Today we’ll be looking into author meta data functions for building an “About the Author” box.

PHP / 29 Mar 2011

Accessing Foursquare API Data via OAuth and PHP

In this brief tutorial we’ll be looking into manipulating website data with PHP. Foursquare offers some great tools for accessing their website’s API.

We’ll be working with an open connection technology OAuth to authenticate users into our own 3rd party Foursquare apps!

PHP / 21 Mar 2011

Developing Over the Dribbble API With PHP

Dribbble is the design networking app sweeping the digital revolution by storm. This collection of creative individuals offer pictures, or “shots”, of their latest works and share criticism through the rest of the community. It’s a great learning environment for studying web designers, illustrators, and icon makers.

The community has been intricately planned and opened with an API. This stands for Application Programming Interface and would dramatically widen the range of adaptation to anybody who can understand the framework.

CSS / 30 Jul 2010

27 Utilities for Saving and Sharing Code Snippets

You’ve got countless bits of HTML5, CSS3, JavaScript, and PHP rolling around in your head and on your hard drive that you are forced to try to recall each time you start a project. It’s time to get organized.

This post will briefly point you to 27 great utilities that not only help you store your favorite snippets both locally and in the cloud, but also make sharing with others a breeze. Enjoy!

CSS / 12 Feb 2010

Why You Should Build a Front End Package

How do you begin building a website?

The majority of developers probably start from scratch or pull in a few resources from previous sites. The more organized among us have developed a custom toolbox from which to begin a site that proves to be an essential part of their workflow.

Today we’ll discuss why you should consider building your own front end package to serve as a starting point for every single site you create.

PHP / 9 Feb 2009

Smart File Type Detection Using PHP

In most web applications today, there is a need to allow users to upload images, audio and video files. Sometimes, we also need to restrict certain types of files from being uploaded – an executable file being an obvious example.

Security aside, one might also want to prevent users from misusing the upload facility, e.g. uploading copyrighted music files illegally and using the service to promote piracy! In this article, we’ll look into a few ways in which we can achieve this.