News Feed
Sections




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

Hannes Magnusson:
PHP Stream Notifications <3 MongoDB
September 17, 2013 @ 09:02:54

In this latest post to his site, Hannes Magnusson looks briefly at an interesting use for PHP's streams functionality - reading data from a MongoDB connection as a streaming resource.

PHP Streams have several pretty nifty features that most people don't really know about; Filters, Wrappers, Context, and Notifications. Documenting these is a bit difficult, and getting the user to discover these features is even more problematic, as these things usually live outside of the normal path (function reference). Maybe I'll blog about these things in the future, but for now I want to talk about the Stream (context) Notifications - or more specifically; Stream Notifications in the MongoDB extension for PHP.

He talks some about what stream notifications are on a basic level and some general use cases for them. From there he moves into the MongoDB world and some changes in the mongodb 1.4 extension over to using streams. He also talks about some of the things coming in the 1.5 version including progress reporting for read/write actions.

0 comments voice your opinion now!
mongodb streams extension nosql notification

Link: http://bjori.blogspot.com/2013/09/php-stream-notifications-mongodb.html

blog comments powered by Disqus

Similar Posts

Alvaro Videla's Blog: Erlang as a Fast Key Value Store for PHP

SitePoint PHP Blog: PHP Extension Development with PHP-CPP: Object Oriented Code

C7Y Community Site: Handling Images with PHP

Edin Kadribasic's Blog: PECL4WIN adds whole branch dowloads

Anson Cheung's Blog: Optimize Web Site Performance by using YSlow


Community Events





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


wordpress community podcast series threedevsandamaybe bugfix application language developer project configure list introduction api laravel code interview release framework library

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