Build a URL Shortener with jQuery, PHP and MySQL

« Microsoft Updates Power Tools for Microsoft Visual Studio | Main | Microsoft Ships Last IE9 Preview Before Beta Release »
 July 29, 2010
Share |

URL shorteners such as TinyURL and bit.ly are all the rage these days, with their popularity having skyrocketed alongside Twitter and mobile device usage. The idea is a fairly simple one: accept as input an unacceptably long URL and provide in return one that fits into the tiny confines of a mobile device and Twitter's 140-character limit. Afterwards, anytime the abbreviated URL is clicked, the user is first sent to the shortening service, at which point the abbreviated URL is compared with a database, the original URL retrieved, and the user redirected to the desired location.

Beyond being able to provide the immediate utility of abbreviating a lengthy URL, URL shortening services are able to provide users with a number of other useful features, such as clickthrough statistics, referrer details, and even information about link diffusion such as who else has mentioned it on Twitter....

Continue reading this article

Source: developer.com


©2011 ZIPtechnologies.com, All Rights Reserved
"There is an evil tendency underlying all our technology - the tendency to do what is reasonable even when it isn't any good." - Robert Pirsig, Zen and the Art of Motorcycle Maintenance