A PHP killer feature - Streams abstraction

Picture of Manuel Lemos
By Manuel Lemos
This article explains what are stream handlers and how they simplify PHP developers lives by allowing PHP applications to easily read and write data from containers, like remote Web pages or e-mail messages, as if they were files.

A real world example is presented to demonstrate how you can access messages in a POP3 mailbox and how it can be used to automatically process messages from the site users requesting support.

The article also presents more examples of cool stream handlers classes submitted to the PHPClasses site by several authors.

Unrelated to this topic, the PHPClasses site is announcing the availability of a Twitter activity stream that may be used to keep track in a single place of the submissions like: the latest classes, reviews, blog posts and trackbacks.

Leave a Reply




Created by DesignForWeb company. All rights reserved © 2007-2010. Check also the iPhone / iPad developers blog
Disclaimer
The materials collected in this blog were taken from open access sources. We try our best to preserve the copyrights of original authors and clearly state the authorship as well as link to original source website where it's possible. Please leave your comment if you feel offended by any post or if you dispose of any information about breach of copyright law in this blog. We will do our best to resolve the situation immediately.