<?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>Sat, 18 May 2013 04:19:30 -0500</pubDate>
    <ttl>30</ttl>
    <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[Justin Ireland's Blog: Real-Time Embedded User Interfaces Using HTML/CSS/js and Websockets]]></title>
      <guid>http://www.phpdeveloper.org/news/14966</guid>
      <link>http://www.phpdeveloper.org/news/14966</link>
      <description><![CDATA[<p>
<i>Justin Ireland</i> has <a href="http://justinireland.com/real-time-embedded-user-interfaces-using-html-css-js-and-websockets/">posted an article</a> to his blog about creating real-time interfaces for your sites using the combination of HTML, CSS and Javascript to connect to a physical interface on the backend.
</p>
<blockquote>
Physical interfaces such as button panels or remote controls have many disadvantages. Panel controls require a dedicated display for feedback and physical access to a fixed location. IR remote controls offer only one-way communication with limited feedback and can become difficult to manage for multiple devices. [...] We propose a new type of solution to address these issues and bring simplified management and control to a broader market through embedded virtual interfaces.
</blockquote>
<p>
He lays out <a href="http://justinireland.com/wp-content/uploads/2010/08/Real-TimeEmbeddedVirtualUserInterfaces2.png">the structure of the application</a>, some of the issues that could come up in the connection (using <a href="http://en.wikipedia.org/wiki/Comet_(programming)">COMET</a> and <a href="http://en.wikipedia.org/wiki/Websockets">Websockets</a>). His <a href="http://justinireland.com/real-time-embedded-user-interfaces-using-html-css-js-and-websockets/3/">proof of concept</a> is a connection to <a href="http://www.hallresearch.com/page/Products/SW-HDMI-4">a HDMI switch</a> that can be talked to through an <a href="http://www.lantronix.com/device-networking/embedded-device-servers/matchport-ar.html">embedded controller</a> via a <a href="http://justinireland.com/wp-content/uploads/2010/08/SW-HDMI-4-demo.jpg">simple interface</a>.
</p>]]></description>
      <pubDate>Mon, 16 Aug 2010 13:17:41 -0500</pubDate>
    </item>
  </channel>
</rss>
