easy form validation with jQuery Tools .validator()

jQuery

For a long time i have been searching for a form validation solution that is a one fit fits all. I have written my own jQuery plugin, used other plugins but jQuery tools validator is by far the best one I have seen.

(more…)

Paypal integration for econtrolpro.com

econtrolpro.com

The great thing about doing freelance work is that you get a work on a variety of projects. I went into this project with zero knowledge of 3rd party shopping cart integration with PayPal , by the end of it I had successfully integrated econtrolpro’s shopping card with PayPal.

(more…)

caffeineonline.co.uk gets a makeover

Caffeine Online

Caffeine Ltd are the sole UK importers and distributors of the finest Gaggia commercial coffee machines. I have been working on updating the content on their site and applying the new designs that OgBit.com give me.

(more…)

using _autoload() to load classes automatically

PHP

Have you found yourself working on a PHP project that requires 30 or more classes, and you have to painstakingly include each one in your pages, not any more!

(more…)

Making multiple user accounts with one gmail address

Email

Ever been in the situation where you are working an a user sign up part of a site, and you have run out of email addresses to test with? Fear not, all you need is one gmail account.

(more…)

Responsive-able CSS with @media for smart users

CSS3

For this site, I decided it would be a good opportunity to dip my toe in the water and have a go at making the site responsive to different screen widths / devices and change the layout accordingly.

(more…)

Use explode() and implode() to trim down your code

PHP

I think the explode() and implode() are two of the best functions in PHP for making a potentional tricky task very simple.

(more…)

Setting up a database driven PHP class

PHP

Check out this simple tutorial on how to set up a database driven PHP class. Grab the code from my git page and get up and running immediately!

(more…)

extract()ing variables from arrays

PHP

A very useful function I can across recently in PHP is the exract() function which got got me thinking of ways to save lines of code when dealing with post requests.

(more…)

Don’t .end() chaining

jQuery

I recently came across an interesting jQuery method called .end().  This method is used for DOM traversal and allows chaining and better readabilty of code.

(more…)