Viewing Posts in PHP

Responsive Images with PHP and jQuery

27th May 2011 Javascript jQuery PHP

Responsive Web Design is quite a hot topic at the moment and I'm only just starting to dip my toe in the area. It started gaining popularity with the Responsive Web Design article from A List Apart Article by Ethan Marcotte who has a book pending on the subject by A Book Apart. I'll definitely pick up a copy when it's released on the 7th June as the other books in the publishing series are useful and great to have on the shelf.

The main crux of Responsive Web Design is using CSS media queries to switch the layout depending on the screen size. A site can be optimized and look great on a mobile device, a tablet and on a PC without affecting content or by crazily creating subdomains for mobile only versions of the site. In this article I'm going to go whizz through the topic and concentrate on responsive images and the solutions currently in place and finally go through my own custom solution using PHP and jQuery.

4 comments Read More

Introducing Request a Feature

13th May 2010 PHP
Request a Feature

The latest script I've created to put on CodeCanyon enables visitors to request a feature on your website or web application. Users can then vote up that feature so that priority features can be implemented before others. The voting is done using Ajax with the jQuery library and has some basic IP based protection so that users can't just spam a feature and keep voting it up.

For an online demo click here and try requesting a feature and let me know what you think.

3 comments Read More

Ajax Store Locator

6th May 2010 PHP
Ajax Store Locator

Finally getting round to writing a post on the Ajax Store Locator I created to put on CodeCanyon. It's doing relatively well and thought I'd share.

For an online demo click here and try searching on the map.

2 comments Read More

Introducing FilmDB

29th April 2010 PHP
Filmdb

After creating the TVDB script I immediately began work on a Film version where you could download high quality Film posters and backdrops for use in your websites and applications. This script uses the fantastic themoviedb.org to grab the images.

For an online demo click here and try adding some of your favorite Films.

0 comments Read More

Introducing TVDB

24th April 2010 PHP
TVDB

Combining my love of TV Shows and being a nerd I've created a PHP script that will download high quality poster and fanart images from the superb thetvdb.com and store them locally for you to use or integrate with your website or application.

For an online demo click here and try adding some of your favorite TV shows.

0 comments Read More

Start Using FirePHP

4th September 2009 PHP
FirePHP

I've known about FirePHP for a while now and never really had the inclination to install and use it. Although I've been using FireBug for quite some time to debug the client-side and HTML/CSS issues I didn't really think that it could benefit me that much.

Finally I've managed to install and use FirePHP (it's quick and easy) and boy am I glad that I did. For any PHP developer out there I totally recommend spending the short amount of time it takes to get it up and running.

Basically include the FirePHP class file in your Project, use the OOP or procedural way of doing things and then start logging and displaying information to the FireBug console. It really couldn't be easier.

One of the main areas in which it really shines is in Ajax development. You can output variables to the console during an Ajax request and see what exactly is going on without having to output anything to screen and will really aid development and cut programming time.

I'm not going to go through how to install and use FirePHP because it's been very well documented by the offical website and there are a few really good tutorials out there (links can be found below).

Main Links

Tutorials

3 comments

Back to Home Page

Sites I've Created

DSP Chartered Surveyors Stoneylane Aberdeen Angus

Recently Watched Films

Mr Brooks Rec Pathology Diary of the Dead

TV Shows

The Shield Flight of the Conchords

Hosting

I've been using Dreamhost for my hosting for over 2 years and it's pretty good for what you pay. If you're signing up how about showing me some love and use this link so I get a referal bonus to help pay my server costs.

Site by James Fairhurst © 2008-2012, all rights reserved and all that malarky