News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Raphael Stolt's Blog:
Tinyizing URLs with Zend_Http_Client
November 03, 2008 @ 07:55:00

In this new post today Raphael Stolt shows how to use the Zend_Http_Client component of the Zend Framework to "tinyize" a URL.

In a recent blog post Dave Marshall outlined a quick workaround for tweeting via the Zend_Http_Client component which is a reasonable approach for calling services that aren't in the Zend Framework core yet like Zend_Service_Twitter or are not supported out of the box. Therefore this post will try to describe a Zend Framework way of creating tinyized URLs.

He creates a UrlShorterner interface containing a shortenize() method that automates sending a URL over to the tinyurl.com web service and returning the results.

0 comments voice your opinion now!
tinyize tinyurl zendhttpclient shorten url


blog comments powered by Disqus

Similar Posts

Raphael Stolt's Blog: Tinyizing URLs with Zend_Http_Client

Raphael Stolt's Blog: Tinyizing URLs with Zend_Http_Client

Brian Moon's Blog: ForceType for nice URLs with PHP

Lukas Smith's Blog: One thumb up and two down (Zend_Http_Client)

Raphael Stolt's Blog: Tinyizing URLs with Zend_Http_Client


Community Events

Don't see your event here?
Let us know!


voicesoftheelephpant threedevsandamaybe unittest opinion community extension laravel framework language library podcast series version security release api laravel5 symfony introduction interview

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework