News Feed
Sections




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

PHPBuilder.com:
Incorporate Weather Data into Your PHP Web Apps
September 28, 2011 @ 13:44:29

On PHPBuilder.com today there's a new tutorial helping you integrate weather data into your site with the help of the Services_Weather PEAR package.

Regardless of whether you consider the weather to be an obsession or nuisance, there are plenty of opportunities to incorporate weather-related data into your Web application. The Services_Weather PEAR Package offers what is perhaps the easiest way to begin retrieving weather-related data.

Included in the post are the commands you'll need to get the package installed (via the PEAR installer) and sample code to set up the connection - in this case to Weather.com - to fetch the results for a search location. The "search" method will return the best guesses for your input and give you the unique code to use for fetching other values, like the current forecast.

0 comments voice your opinion now!
weather data tutorial pear package servicesweather


blog comments powered by Disqus

Similar Posts

Michelangelo van Dam's Blog: Quality Assurance on PHP projects - PHPUnit part 2

Joshua Eichorn\'s Blog: Looking for HTML_AJAX Success Stories

Padraic Brady's Blog: Installing PHP 5.3.1 On Ubuntu 9.10 (Karmic Koala) With aptitude/apt-get

Zend Developer Zone: Paging Data Sets With PEAR Pager

HowTo Forge: Installing The PHP-MemCache Module On CentOS 5.0


Community Events





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


unittest language install introduction community interview configure composer symfony podcast list conference series api release voicesoftheelephpant opinion extension laravel version

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