1.†CakePHP URL Shortener Service Tutorial by JotLab
In this tutorial I will be creating this website using CakePHP 1.2.4, because it rocks, and you will think it rocks too if you havenít used it yet! If you are unfamiliar with CakePHP please jump into it now by checking out either of these two books: Beginning CakePHP by Apress & Free CakePHP Book by Matt Curry! So letís begin!
Now this isnít going to be a tutorial into all the joys and wonders of CakePHP. There are simply too many to list, my database wouldnít be able to hold so much information. However if you are new to CakePHP, all that this tutorial requires is that you have successfully set up CakePHP, wherever you may prefer. There are plenty of tutorials and guides on how to get CakePHP set up on the web. I did a quick search and found this one to be quite good, but there are plenty more out there. The most common newbie gotcha I find is making sure the .htaccess files are uploaded correctly. But with all that said and done! Letís get going with our URL shortening website!
2. Building a URL Shortener by†Jonathan Snook
With all the talk of URL shortening services, I decided to add a quick service into Snook.ca, which is run on CakePHP, to redirect a short URL to a post. Because my static content already has short URLs and all I have are posts, creating a short URL handler for it was very easy.
3. Build a URL-shortener for your app by†Nuts & Bolts Of Cakephp
In order to avoid using some external service, you might want to add a simple feature to your application to provide a URL-shortener. The benefits are really simpleÖ youíll use your own domain name and while your app is around so will be your short-URL links.