<?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>Sun, 19 May 2013 06:34:52 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[NetTuts.com: HTTP: The Protocol Every Web Developer Must Know - Part 1]]></title>
      <guid>http://www.phpdeveloper.org/news/19433</guid>
      <link>http://www.phpdeveloper.org/news/19433</link>
      <description><![CDATA[<p>
On NetTuts.com there's a new tutorial about what they think is the one thing every web developer should understand - <a href="http://net.tutsplus.com/tutorials/tools-and-tips/http-the-protocol-every-web-developer-must-know-part-1/">the HTTP protocol</a> and how its used in web-based communications.
</p>
<blockquote>
HTTP stands for Hypertext Transfer Protocol. It's a stateless, application-layer protocol for communicating between distributed systems, and is the foundation of the modern web. As a web developer, we all must have a strong understanding of this protocol. Let's review this powerful protocol through the lens of a web developer. We'll tackle the topic in two parts. In this first entry, we'll cover the basics and outline the various request and response headers. 
</blockquote>
<p>
They cover some of the basics of the protocol first including its statelessness, the concept of URLs and the HTTP "verbs" (like GET, POST and DELETE). They also briefly cover the HTTP response codes (ex. 200, 304) and the flow of the request and response to and from the web server. They also look at some of the basic HTTP headers and the actual low-level text formats of the requests/responses.
</p>
<p>
There's a section at the end of the post that links you to a few tools that you can use to view the HTTP messaging happening in your requests, some of which you might already have. They also briefly cover the use of HTTP in a few libraries - ExpressJS, Ruby on Rails and jQuery's Ajax handling.
</p>
Link: http://net.tutsplus.com/tutorials/tools-and-tips/http-the-protocol-every-web-developer-must-know-part-1/]]></description>
      <pubDate>Tue, 09 Apr 2013 10:56:28 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: REST - Can You do More than Spell It? Part 4]]></title>
      <guid>http://www.phpdeveloper.org/news/17981</guid>
      <link>http://www.phpdeveloper.org/news/17981</link>
      <description><![CDATA[<p>
PHPMaster.com has posted the latest tutorial in their series covering RESTful APIS - <a href="http://phpmaster.com/rest-can-you-do-more-than-spell-it-4/">part four</a> of "REST - Can you do More than Spell it?" In this latest part of the series, they focus on something very key to RESTful services, the HTTP spec (and headers).
</p>
<blockquote>
We're getting close to the end now, and the only thing remaining is to discuss a little more about the protocol you'll most likely use in any RESTful application that you write. Because HTTP is so often used with REST, that's the protocol I'd like to focus on.
</blockquote>
<p>
He goes through the structure of a typical (raw) HTTP header and talks about some of the more common headers and what actions/settings they represent. He includes examples of setting headers (with <a href="http://php.net/header">header</a>, naturally) and a <a href="http://php.net/curl">curl</a> example showing how to set the request headers. The tutorial is finished off with a brief mention of custom HTTP headers and the the good and bad that comes with them.
</p>]]></description>
      <pubDate>Mon, 21 May 2012 08:44:26 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: Transfer Data via Multiple Protocols with Libcurl]]></title>
      <guid>http://www.phpdeveloper.org/news/16876</guid>
      <link>http://www.phpdeveloper.org/news/16876</link>
      <description><![CDATA[<p>
On PHPBuilder.com today there's a new tutorial showing how to <a href="http://www.phpbuilder.com/columns/Libcurl/Libcurl_09-14-2011.php3">use libcurl to communicate with multiple protocols</a> like FTP, HTTP, HTTPS, SMTP and STMPS. The <a href="http://curl.haxx.se/libcurl/">libcurl</a> library that can be compiled in or installed as a shared module in your PHP install to provide enhanced networking abilities.
</p>
<blockquote>
As I wrote in my <a hef="http://www.phpbuilder.com/columns/php-multithreading-curl/Octavia_Anghel06072011.php3">PHP multithreading with cURL</a> article, the libcurl is a free and easy-to-use client-side URL transfer library, supporting DICT, FILE, FTP, FTPS, GOPHER, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMTP, SMTPS, TELNET and TFTP. PHP supports the libcurl library which allows you to connect and communicate to many different types of servers with many different types of protocols.
</blockquote>
<p>
<a href="http://www.phpbuilder.com/columns/Libcurl/Libcurl_09-14-2011.php3">The tutorial</a> focuses on two different types of connections (well, four really) - FTP/FTPS and HTTP/HTTPS - and how to transfer data across each. Some code is included to create a (procedural) tool to send an uploaded file to a remote site.
</p>]]></description>
      <pubDate>Mon, 19 Sep 2011 12:03:23 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Bradley Holt's Blog: Exploring RabbitMQ and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/16616</guid>
      <link>http://www.phpdeveloper.org/news/16616</link>
      <description><![CDATA[<p>
In a new post <i>Bradley Holt</i> looks at some of his exploration into the <a href="http://bradley-holt.com/2011/07/exploring-rabbitmq-and-php/">combination of RabbitMQ and PHP</a> as a possible platform for messaging between process (or applications).
</p>
<blockquote>
I'm exploring the possibility of using <a href="http://www.rabbitmq.com/">RabbitMQ</a> for an upcoming project. RabbitMQ is a free/open source message broker platform. It uses the open <a href="http://www.amqp.org/">Advanced Message Queuing Protocol</a> (AMQP) standard and is written in <a href="http://www.erlang.org/">Erlang using the Open Telecom Platform</a> (OTP). It promises a high level of availability, throughput, scalability, and portability. Since it is built using open standards, it is interoperable with other messaging systems and can be accessed from any platform.
</blockquote>
<p>
He goes through the full process - installing RabbitMQ via MacPorts, grabbing the latest copy of the <a href="http://hg.rabbitmq.com/rabbitmq-c/">librabbitmq library</a> and installing it and finally installing the <a href="http://www.php.net/manual/en/book.amqp.php">AMQP extension</a> for PHP so they can communicate. He includes some simple code that connects to the queue and sends a "hello world" message out to the connection bound to "routeA".
</p>]]></description>
      <pubDate>Thu, 21 Jul 2011 09:13:17 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: Implementing Internet Protocols with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/15732</guid>
      <link>http://www.phpdeveloper.org/news/15732</link>
      <description><![CDATA[<p>
On PHPBuilder.com today there's a new tutorial from <i>Leidago Noabeb</i> that looks at <a href="http://www.phpbuilder.com/columns/implementing-internet-protocols/Leidago_Noabeb01122010.php3">implementing internet protocols</a> - in this case FTP.
</p>
<blockquote>
PHP has many functions that help us to implement Internet and/or networking protocols. In this article we will look at how to implement some of those protocols using PHP.
</blockquote>
<p>
His examples uses PHP's <a href="http://php.net/ftp">FTP methods</a> to create a simple frontend to a remote FTP server. Included is the code to get the basics of it working - listing remote files and displaying them out in a styled list.
</p>]]></description>
      <pubDate>Thu, 13 Jan 2011 08:20:24 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PEAR Blog: Fixing "unsupported protocol"]]></title>
      <guid>http://www.phpdeveloper.org/news/13126</guid>
      <link>http://www.phpdeveloper.org/news/13126</link>
      <description><![CDATA[<p>
If you've had issues with an "unsupported protocol" message when working with the PEAR installation on your PHP instance, you should check out <a href="http://blog.pear.php.net/2009/08/28/fixing-unsupported-protocol/">this quick post</a> from the PEAR blog with a tip on how to fix it.
</p>
<blockquote>
When trying to install something, you will get the error: pear.php.net is using a unsupported protocal '" This should never happen. install failed. This problem comes from corrupted channel files. Go into your PEAR php directory and backup .channels directory.
</blockquote>
<p>
If you go into your PEAR installation and move the .channels directory out of the way then run an "update-channels" the issue should be corrected. Unfortunately, this also means you loose all channels you'd subscribed to, but does save you from having to reinstall PEAR completely.
</p>]]></description>
      <pubDate>Fri, 28 Aug 2009 07:55:49 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Sending Email with PHP Networking]]></title>
      <guid>http://www.phpdeveloper.org/news/11028</guid>
      <link>http://www.phpdeveloper.org/news/11028</link>
      <description><![CDATA[<p>
DevShed has the <A href="http://www.devshed.com/c/a/PHP/Sending-Email-with-PHP-Networking/">second of a two part tutorial</a> posted today on sending emails with the included mail() function.
</p>
<blockquote>
In this article we will look at the protocol that is involved in sending email messages. We will also examine the thorny issue of how to send an attachment with an email message. This article is the second of two parts.
</blockquote>
<p>
They include examples of sending simple messages and more complex ones with things like attachments and custom headers. They also tack on a look at the PEAR::Mail package to the end showing how it can make sending some things a little less painful.
</p>]]></description>
      <pubDate>Tue, 16 Sep 2008 11:21:23 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPFreaks.com: Sessions and cookies: Adding state to a stateless protocol]]></title>
      <guid>http://www.phpdeveloper.org/news/10349</guid>
      <link>http://www.phpdeveloper.org/news/10349</link>
      <description><![CDATA[<p>
On the PHPFreaks website, there's a <a href="http://www.phpfreaks.com/tutorial/sessions-and-cookies-adding-state-to-a-stateless-protocol">new tutorial</a> talking about sessions and cookies in PHP:
</p>
<blockquote>
HTTP is a stateless protocol. This means that each request is handled independently of all the other requests and it means that a server or a script cannot remember if a user has been there before. However, knowing if a user has been there before is often required and therefore something known as cookies and sessions have been implemented in order to cope with that problem.
</blockquote>
<p>
The <a href="http://www.phpfreaks.com/tutorial/sessions-and-cookies-adding-state-to-a-stateless-protocol">tutorial</a> is pretty introductory, so if you're not new to the PHP world, you won't learn much. New developers, though, will learn how to set cookies, use sessions and learn a bit about the security of both.
</p>]]></description>
      <pubDate>Thu, 05 Jun 2008 12:05:11 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Implementing Internet Protocols with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10336</guid>
      <link>http://www.phpdeveloper.org/news/10336</link>
      <description><![CDATA[<p>
On DevShed today, there's a <a href="http://www.devshed.com/c/a/PHP/Implementing-Internet-Protocols-with-PHP/">new tutorial</a> on showing how to create a simple application to use one of the simpler protocols - FTP.
</p>
<blockquote>
PHP has many functions that help us to implement Internet and/or networking protocols. In this article, we will look at how to implement some of those protocols using PHP.
</blockquote>
<p>
They introduce the FTP functions for PHP (a basic list, PHP manual style) and include the code - the CSS to make it easier to use and the PHP code to make the FTP connection and grab the remote file listing. A <a href="http://images.devshed.com/ds/stories/Internet_Protocols/cntrlpanel.PNG">screenshot</a> is included to give you an idea of the end result.
</p>]]></description>
      <pubDate>Wed, 04 Jun 2008 09:32:22 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[SitePoint PHP Blog: Debugging PHP (Spectator)]]></title>
      <guid>http://www.phpdeveloper.org/news/10318</guid>
      <link>http://www.phpdeveloper.org/news/10318</link>
      <description><![CDATA[<p>
In a <a href="http://www.sitepoint.com/blogs/2008/06/02/debugging-php/">new post</a> to the SitePoint PHP blog <i>Troels Knak-Nielsen</i> gives a <a href="http://www.sitepoint.com/blogs/2008/06/02/debugging-php/">check up</a> for a project he's worked some on - an interface he came up with to talk, via the dbgp-protocol, to a XUL frontend.
</p>
<blockquote>
Spectator is a XUL application, which should make it cross platform. I have tinkered a bit with XUL before, but not a full application. [...] So what can spectator do? Mind that this is a first version and I really just meant it as a proof of concept. I think I got a bit further than that, but it probably still has a few bugs. Still, with the current version, you can step through a program, set breakpoints and inspect the stack. Really all you would expect from a debugger.
</blockquote>
<p>
You can grab the latest version from the <a href="http://code.google.com/p/spectator/source/checkout">subversion repository</a> on the Google Code website.
</p>]]></description>
      <pubDate>Mon, 02 Jun 2008 11:16:50 -0500</pubDate>
    </item>
  </channel>
</rss>
