<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Tue, 18 Jun 2013 17:26:53 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Design-Ireland.net: Logging Messages to Scribe from PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/15462</guid>
      <link>http://www.phpdeveloper.org/news/15462</link>
      <description><![CDATA[<p>
On the Design-Ireland.net site, there's a recent tutorial showing you how to <a href="http://www.design-ireland.net/article/Logging_Messages_to_Scribe_from_PHP">log messages to Scribe from PHP</a>. <a href="https://github.com/facebook/scribe">Scribe</a> is Facebook's open sourced server for aggregating log data streamed in from multiple places.
</p>
<blockquote>
n a previous tutorial, I showed you how to install Facebook Scribe on a Linux server. In this tutorial we will continue to look at Scribe, but this time from the client perspective. Note that this tutorial assumes that you already have your Scribe and Thrift environment set up as outlined in the <a href="http://www.design-ireland.net/article/Installing_Facebook_Scribe_on_Fedora_8">previous tutorial</a>. You can log messages to Scribe from many different languages. In this tutorial I will show you how to use Thrift to generate a PHP client, and then use that client from your own PHP project to log messages.
</blockquote>
<p>
The tutorial walks you through setting up Thrift to work with your PHP installation and gives an example script to send your first messages over to the Scribe server. They also show how you can go into the Scribe instance's folders and look for the log information you just inserted.
</p>]]></description>
      <pubDate>Fri, 19 Nov 2010 10:28:32 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Pressflow Wiki: Using Cassandra with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/15456</guid>
      <link>http://www.phpdeveloper.org/news/15456</link>
      <description><![CDATA[<p>
On the Pressflow wiki there's <a href="https://wiki.fourkitchens.com/display/PF/Using+Cassandra+with+PHP">a handy guide</a> to getting PHP up and working with the <a href="http://cassandra.apache.org/">Cassandra</a>, the Apache Project's distributed database solution. (Note: Pressflow is Drupal-related, but this tutorial isn't specific to that.)
</p>
<p>
The guide walks you through the steps you'll need to build the <a href="http://wiki.apache.org/cassandra/ThriftInterface">Thrift</a> client (with a list of a few dependencies) and build the PHP extension using this install. With the module built, they help you change the php.ini to load the shared module and include the commands you'll need to start up the Cassandra server. There's also a link to a <a href="http://wiki.apache.org/cassandra/ClientExamples">sample script</a> you can use to test out the full installation.
</p>
<p>
If you're having trouble making the connection, read through the comments for some common problems from other users.
</p>]]></description>
      <pubDate>Thu, 18 Nov 2010 14:18:44 -0600</pubDate>
    </item>
  </channel>
</rss>
