<?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>Fri, 24 May 2013 01:33:33 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Robert Basic's Blog: Creating a chat bot with PHP and Dbus]]></title>
      <guid>http://www.phpdeveloper.org/news/17364</guid>
      <link>http://www.phpdeveloper.org/news/17364</link>
      <description><![CDATA[<p>
<i>Robert Basic</i> has continued his series looking at using Dbus in PHP with <a href="http://robertbasic.com/blog/creating-a-chat-bot-with-php-and-dbus/">this latest post</a> to his blog - using the foundation he's <a href="http://robertbasic.com/blog/communicating-with-pidgin-from-php-via-d-bus/">created</a> <a href="http://robertbasic.com/blog/listening-to-dbus-signals-with-php/">before</a> to make a chat bot that will listen and respond to commands on a Jabber network.
</p>
<blockquote>
Now that we know how to <a href="http://robertbasic.com/blog/communicating-with-pidgin-from-php-via-d-bus/">use DBus to communicate with Pidgin from PHP</a> and how to <a href="http://robertbasic.com/blog/listening-to-dbus-signals-with-php/">listen to DBus signals</a>, it's time to put it all together by creating a simple chat bot! Nothing fancy, just a simple script that runs somewhere on some server and, by using a Pidgin account, can respond to some basic queries we send it.
</blockquote>
<p>
His new code listens for an incoming message on the "PurpleInterface", grabs the name of the sender and calls a "PurpleConvImSend" method with the conversation object and the message to send. You can find the complete source for the project <a href="https://github.com/robertbasic/blog-examples/blob/master/dbus/chat.php">on his github account</a>.
</p>]]></description>
      <pubDate>Mon, 09 Jan 2012 11:10:52 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Michael Feichtinger's Blog: PHP5 WebSocket Example - A Simple Chat]]></title>
      <guid>http://www.phpdeveloper.org/news/15850</guid>
      <link>http://www.phpdeveloper.org/news/15850</link>
      <description><![CDATA[<p>
<i>Michael Feichtinger</i> has posted <a href="http://bohuco.net/blog/2011/01/php5-websocket-example-a-simple-chat/">a simple websocket example</a> to his blog today. It shows the creation of a simple "web chat" application for real-time communication without the mess that can come with ajax.
</p>
<blockquote>
The classic example for websockets is a chat. This chat example has only 200 lines of code (excl. the Websocket class), is really easy to understand and customizable.
</blockquote>
<p>
He creates a basic "WebsocketClass" class that (in his example) connects to an IP and port. It uses JSON as the messaging format and some basic javascript to handle the clicks of the "chat" and "login" buttons. You can see an example in action <a href="http://bohuco.net/labs/php-websocket-chat/">here</a> and download the source for the <a href="http://bohuco.net/labs/php-websocket-chat/?source=server.php">server.php here</a>.
</p>]]></description>
      <pubDate>Thu, 03 Feb 2011 09:47:28 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Abhinav Singh's Blog: Writing your first facebook chat bot in PHP using Jaxl library]]></title>
      <guid>http://www.phpdeveloper.org/news/14016</guid>
      <link>http://www.phpdeveloper.org/news/14016</link>
      <description><![CDATA[<p>
With <a href="http://blog.facebook.com/blog.php?post=297991732130">the announcement Facebook as made</a> about opening up their chat service to outside connections, several developers are taking the opportunity to create their own scripts to interface with the service. One developer, <i>Abhinav Singh</i> has <a href="http://abhinavsingh.com/blog/2010/02/writing-your-first-facebook-chat-bot-in-php-using-jaxl-library/">posted a tutorial</a> about the sample application he's created to do just that.
</p>
<blockquote>
Today facebook officially <a href="http://blog.facebook.com/blog.php?post=297991732130">announced</a> availability of it's chat through jabber/xmpp clients. This is a big win for XMPP, with almost 400 million new probable users adding into XMPP club. In this post, I will demonstrate how to connect to facebook chat servers using Jaxl client library in PHP. It can further be used to make custom chat bots for facebook.
</blockquote>
<p>
He shows how to use the <a href="http://jaxl.googlecode.com">Jaxl</a> library to make the connection, setting up some basic environment variables and making the connection to the server. The index.php file that comes with the library reads this config file and sends a default message to the server and returns the response.
</p>]]></description>
      <pubDate>Fri, 12 Feb 2010 09:16:04 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[NETTUTS.com: How to Create A Simple Web-based Chat Application]]></title>
      <guid>http://www.phpdeveloper.org/news/12942</guid>
      <link>http://www.phpdeveloper.org/news/12942</link>
      <description><![CDATA[<p>
From NETTUTS.com there's <a href="http://net.tutsplus.com/tutorials/javascript-ajax/how-to-create-a-simple-web-based-chat-application/">a new tutorial</a> they've posted showing you how to create a simple web-based chat application (real-time, not like twitter) with equal parts PHP and jQuery.
</p>
<blockquote>
In this tutorial we will be creating a simple web-based chat application with PHP and jQuery. This sort of utility would be perfect for a live support system for your website. 
</blockquote>
<p>
Full code is provided, both in the post and <a href="http://nettuts.s3.amazonaws.com/389_chat/source.zip">available for download</a>, and the end result will look <a href="http://nettuts.s3.amazonaws.com/389_chat/images/final.png">something like this</a>. Messages are just stored in a file on the backend, but it could be easily modified to use something like MySQL to keep track of the messages for that session.
</p>
]]></description>
      <pubDate>Mon, 27 Jul 2009 08:12:55 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Lukas Smith's Blog: Chatting with Rasmus (part two and three)]]></title>
      <guid>http://www.phpdeveloper.org/news/9913</guid>
      <link>http://www.phpdeveloper.org/news/9913</link>
      <description><![CDATA[<p>
<i>Lukas Smith</i> has <a href="http://pooteeweet.org/blog/0/1043#m1043">posted</a> the second and third parts of his talk with <i>Rasmus Lerdorf</i> - a look at <a href="http://pooteeweet.org/public/maxclients.txt">MaxClients</a> and <a href="http://pooteeweet.org/public/headers.txt">HTTP headers</a>.
</p>
<blockquote>
As promised here are the two other logs from the recent chat I witnessed. [...] Again I left the logs in their raw original way. Hope they are useful for you all.
</blockquote>
<p>
<i>Lukas</i> also links to <a href="http://developer.yahoo.com/performance/rules.html">two</a> <a href="http://www.youtube.com/watch?v=BTHvs3V8DBA">resources</a> he mentions in the second (third?) log about performance as well as mentioning one of the most useful Firefox extensions for web developers - <a href="http://developer.yahoo.com/yslow/">YSlow!</a>.
</p>]]></description>
      <pubDate>Fri, 04 Apr 2008 10:37:12 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Lukas Smith's Blog: Chatting with Rasmus (part one)]]></title>
      <guid>http://www.phpdeveloper.org/news/9884</guid>
      <link>http://www.phpdeveloper.org/news/9884</link>
      <description><![CDATA[<p>
<i>Lukas Smith</i> got a chance to <a href="http://pooteeweet.org/blog/0/1038#m1038">catch up with Rasmus Lerdorf</a> (and others in #php.pecl) and "talk shop" about topics including handling large libraries and maxclients settings.
</p>
<blockquote>
In this first post I will provide a link and some commentary on Rasmus's <a href="http://pooteeweet.org/public/doctrine.txt">points regarding Doctrine</a> (note I left independent chatter in the log in order to not have any chance of me filtering the content, but there is very little of that so I hope the discussion is still easy enough to follow).
</blockquote>
<p>
<li>Lukas</i> <a href="http://pooteeweet.org/blog/0/1038#m1038">introduces</a> Doctrine briefly (what it does) along with some general thoughts on ORMs and making code a bit more bye code cache friendly.
</p>]]></description>
      <pubDate>Mon, 31 Mar 2008 13:58:08 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[IBM developerWorks: Ajax and XML: Ajax for chat]]></title>
      <guid>http://www.phpdeveloper.org/news/9186</guid>
      <link>http://www.phpdeveloper.org/news/9186</link>
      <description><![CDATA[<p>
The IBM developerWorks blog has a <a href="http://www.ibm.com/developerworks/xml/library/x-ajaxxml8/index.html?ca=drs-tp4907">new tutorial</a> posted today about using the combination of PHP and Ajax to create a simple chat application (with a database backend).
</p>
<blockquote>
Learn to build a chat system into your Web application with Asynchronous JavaScript + XML (Ajax) and PHP. Your customers can talk to you and to each other about the content of the site without having to download or install any special instant-messaging software.
</blockquote>
<p>
Complete code is included (even the database table schemas) to create the simple application. They make the four pages to get it working and call that part of it good. The second part of the article, though, builds on this base and adds a fix for performance issues caused by constant polling of the database by the ajax request.
</p>]]></description>
      <pubDate>Thu, 06 Dec 2007 10:24:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[GeesNotNerds Blog: Free PHP + Ajax chat app]]></title>
      <guid>http://www.phpdeveloper.org/news/8610</guid>
      <link>http://www.phpdeveloper.org/news/8610</link>
      <description><![CDATA[<p>
On the GeeksNotNerds blog today, <i>Zeekay</i> has <a href="http://geeksnotnerds.com/zeekay/free-php-ajax-chat-app">posted about</a> a PHP and Ajax free chat application he came across - <a href="http://www.phpfreechat.net/">phpFreeChat</a>.
</p>
<blockquote>
Occasionally I'll want some sort of chat app for a website, and the options are overwhelming unimpressive [...] This is by far the best free chat app I've found. It's so good in fact...it's one of those little scripts you find floating around that begs you to go design a new site just so you can use it.
</blockquote>
<p>
You can find out more about this free application from <a href="http://www.phpfreechat.net/">its website</a> (including downloading the <a href="http://www.phpfreechat.net/download.en.html">latest release</a>).
</p>]]></description>
      <pubDate>Fri, 07 Sep 2007 11:56:16 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone:  AJAX Chat Tutorial Part 6 : Updating the User List]]></title>
      <guid>http://www.phpdeveloper.org/news/8511</guid>
      <link>http://www.phpdeveloper.org/news/8511</link>
      <description><![CDATA[<p>
The Zend Developer Zone has posted <a href="http://devzone.zend.com/article/1532--AJAX-Chat-Tutorial-Part-6-Updating-the-User-List">part six</a> of their tutorial creating an Ajax chat application with the help of the Zend Framework. This part of the series focuses on updating the user list for the current participants in the conversation.
</p>
<blockquote>
Updating the user list should occur whenever the user adds a new chat message or refreshes the chat window. Since we already use the MessageAction() method on our PHP IndexController class to forward such responses to the browser, we'll simply amend it to also return a list of currently online users.
</blockquote>
<p>
They <a href="http://devzone.zend.com/article/1532--AJAX-Chat-Tutorial-Part-6-Updating-the-User-List">work through</a> the code updates to make it happen - changes to the MessageAction in the IndexController that include the addition of a few new methods.
</p>]]></description>
      <pubDate>Wed, 22 Aug 2007 12:04:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: PHP and RIA (Presentation Update)]]></title>
      <guid>http://www.phpdeveloper.org/news/8450</guid>
      <link>http://www.phpdeveloper.org/news/8450</link>
      <description><![CDATA[<p>
On the Zend Developer Zone, <i>Andi Gutmans</i> <a href="http://devzone.zend.com/article/2442-PHP-and-RIA">points out</a> some updates they've made to their <a href="http://linuxworldexpo.com/live/12/events/12SFO07A/conference/tracksessions/Quick+and+Dirty+Development/QMONYB000ZU3">PHP and RIA</a> presentation by adding some new functionality to an existing application originally by <i>Padraic Brady</i>.
</p>
<blockquote>
For our presentation on <a href="http://linuxworldexpo.com/live/12/events/12SFO07A/conference/tracksessions/Quick+and+Dirty+Development/QMONYB000ZU3">PHP and RIA</a> (<a href="http://devzone.zend.com/images/articles/2442/Rich_Internet_Applications_with_PHP.ppt">PowerPoint Slides</a>) Stas and I improved the chat application originally written by <a href="http://blog.astrumfutura.com/">Padraic Brady</a> and featured in the <a href="http://devzone.zend.com/article/1581-Ajax-Chat-Tutorial">Ajax Chat Tutorial</a>. We added a number of capabilities to show some of the more advanced concepts in the <a href="http://framework.zend.com/">Zend Framework</a>. You can download the application by clicking this link, <a href="http://devzone.zend.com/images/articles/2442/chat2.0.zip">Improved Ajax Chat</a>.
</blockquote>
<p>
Among the updates are things like a seperation of data handling, the addition of logging capabilities (including an interface to the logs allowing searching, etc) and integration with several web services. Also included in <a href="http://devzone.zend.com/article/2442-PHP-and-RIA">Andi's post</a> are instructions on how to get to these new features to check them out and what you'll need to get it all up and running.
</p>]]></description>
      <pubDate>Tue, 14 Aug 2007 12:09:00 -0500</pubDate>
    </item>
  </channel>
</rss>
