<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>Developer Tutorials' Webmaster Blog &#187; PEAR</title>
	<atom:link href="http://www.developertutorials.com/blog/tag/pear/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.developertutorials.com/blog</link>
	<description>Keeping webmasters up-to-date on technology.</description>
	<pubDate>Tue, 02 Sep 2008 14:59:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<item>
		<title>5 PEAR gems: free php scripts that will help you code quicker</title>
		<link>http://www.developertutorials.com/blog/php/free-open-source-pear-package-gems-90/</link>
		<comments>http://www.developertutorials.com/blog/php/free-open-source-pear-package-gems-90/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 09:30:01 +0000</pubDate>
		<dc:creator>Akash Mehta</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Akismet]]></category>

		<category><![CDATA[PEAR]]></category>

		<category><![CDATA[php tips]]></category>

		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.developertutorials.com/blog/php/free-open-source-pear-package-gems-90/</guid>
		<description><![CDATA[PEAR, the PHP Extension and Application Repository, contains hundreds of freely available packages that can be reused in your application. Packages usually come with various functionality within one or more classes, and the PEAR coding standards make sure packages follow the same general style for ease of implementation. Best of all; they&#8217;re all entirely open [...]]]></description>
			<content:encoded><![CDATA[<p>PEAR, the PHP Extension and Application Repository, contains hundreds of freely available packages that can be reused in your application. Packages usually come with various functionality within one or more classes, and the PEAR coding standards make sure packages follow the same general style for ease of implementation. Best of all; they&#8217;re all entirely open source, from MIT to GPL.</p>
<p>However, many of these packages are bloated, slow and full of specialised features that you may never want to use. Sifting through the repository is also a challenge; a basic category system is in place, but it&#8217;s hard to tell what you want when you don&#8217;t know what&#8217;s available. Here are some gems from the PEAR repository that you could really find useful.<br />
<span id="more-90"></span><br />
<strong>1. <a href="http://pear.php.net/package/Services_Akismet" target="_blank">Services_Akismet: Deal with spam once and for all</a></strong><br />
When it comes to dealing with comment spam, you can&#8217;t go past Akismet. It powers just about every Wordpress blog out there, including this one; it also has an API web service that allow it to be used in any other web application, and Services_Akismet takes advantage of this. Best of all, it&#8217;s free for personal or commercial use.</p>
<p><strong>2. <a href="http://pear.php.net/package/HTTP_Request/" target="_blank">HTTP_Request: Perform complex HTTP requests</a></strong><br />
Sure, there are many web services to hook into and web pages to download, but how do you access them all? Some times you need to go a little beyond basic file_get_contents; make HTTP requests with sessions attached, upload files, do some basic authentication, maybe even work with a proxy. HTTP_Request will help you do all this and more in a matter of a few lines of code.</p>
<p><strong>3. <a href="http://pear.php.net/package/Archive_Tar/" target="_blank">Archive_Tar</a></strong><br />
When maintaining a big web application, you&#8217;ll often find your server filling up with cache files, archives and data dumps. Storing these effectively is very important to maintaining the performance of your server; if you don&#8217;t access them frequently, the best way to achieve this is with Archive_Tar. Similar to creating a .tar tarball and compressing it with GZip on your machine, Archive_Tar will allow your web server to compress large files quickly and effectively.</p>
<p><strong>4. <a href="http://pear.php.net/package/Spreadsheet_Excel_Writer" target="_blank">Spreadsheet_Excel_Writer</a></strong><br />
When creating MS Office files programmaticaly, you often have to rely on having a Windows server with the actual Office products installed to generate your files. However, COM isn&#8217;t the best approach if performance is a concern, and more often than not you&#8217;ll be deploying on a Windows server. If you need to generate Excel files, no matter what platform you&#8217;re working with, Spreadsheet_Excel_Writer is your best bet for pure PHP.</p>
<p><strong>5. <a href="http://pear.php.net/package/XML_Parser/" target="_blank">XML_Parser</a></strong><br />
XML is becoming more and more prominent in web applications. From configuration files to meta information and even page data. XML_Parser provides a consistent, reliable, effective way to parse XML files, and is reasonably fast as well.</p>
<p>Have a look through these PEAR packages; remember you can easily install them just by running `pear install PACKAGE_NAME` at a command line/terminal. If this isn&#8217;t an option, you can still download them and include them as usual (although you may need to slightly rewrite file paths within the PEAR packages, as they include each other).</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark" style="float:left;">
<div class="d90" style="overflow:hidden">
<div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.developertutorials.com/blog/php/free-open-source-pear-package-gems-90/&amp;title=5+PEAR+gems%3A+free+php+scripts+that+will+help+you+code+quicker" title="Add to&nbsp;Del.icio.us">Del.icio.us</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.developertutorials.com/blog/php/free-open-source-pear-package-gems-90/&amp;title=5+PEAR+gems%3A+free+php+scripts+that+will+help+you+code+quicker" title="Add to&nbsp;Digg This">Digg This</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://www.developertutorials.com/blog/php/free-open-source-pear-package-gems-90/&amp;title=5+PEAR+gems%3A+free+php+scripts+that+will+help+you+code+quicker" title="Add to&nbsp;Stumble">Stumble</a></div></div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.developertutorials.com/blog/php/free-open-source-pear-package-gems-90/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
