<?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>Wed, 19 Jun 2013 20:42:30 -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[ZendCasts.com: RESTful Delete with SLIM, jQuery and JSON]]></title>
      <guid>http://www.phpdeveloper.org/news/17248</guid>
      <link>http://www.phpdeveloper.org/news/17248</link>
      <description><![CDATA[<p>
Continuing on with his webcast series looking at using the Slim microframework to create a RESTful web service with JSON Output, <i>John Lebensold</i> takes the code from the previous tutorials (<a href="http://phpdeveloper.org/news/16958">part one</a>, <a href="http://phpdeveloper.org/news/17044">two</a>, <a href="http://phpdeveloper.org/news/17106">three</a>) and <a href="http://www.zendcasts.com/restful-delete-with-slim-jquery-and-json/2011/12/">adds handling for DELETE</a> to remove values from the data.
</p>
<blockquote>
This tutorial will show you how to add jQuery RESTful calls for using the DELETE verb when deleting items via a JSON REST interface.
</blockquote>
<p>
You'll definitely need to check out either the previous tutorials in the series to follow along with the code or <a href="https://gist.github.com/1469109">grab the current source</a> to see how everything's structured.
</p>]]></description>
      <pubDate>Tue, 13 Dec 2011 09:56:34 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Giorgio Sironi's Blog: HTTP verbs in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/14320</guid>
      <link>http://www.phpdeveloper.org/news/14320</link>
      <description><![CDATA[<p>
In a recent post to his blog <i>Giorgio Sironi</i> takes a look at <a href="http://giorgiosironi.blogspot.com/2010/04/http-verbs-in-php.html">HTTP "verbs" and their handling in PHP</a>, both on the incoming and outgoing sides.
</p>
<blockquote>
While PHP is capable of performing HTTP requests towards external servers with any method, either via the HTTP extension or by opening streams directly, the support of the various GET, POST, PUT and other verbs on the receiving side of HTTP requests is a bit more complicated.
</blockquote>
<p>
He notes that the "more interesting" ones are defined in the HTTP 1.1 spec and, unfortunately, those are ones not natively supported by PHP (like POST and GET are). He recommends a workaround for the problem so you can still work with data that clients PUT or DELETE - using a <a href="http://php.net/fopen">fopen</a> call to the "php://input" stream on the connection and pulling in the raw data. Not idea, but definitely functional.
</p>]]></description>
      <pubDate>Thu, 08 Apr 2010 10:04:29 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Keith Casey's Blog: Useful Naming Conventions]]></title>
      <guid>http://www.phpdeveloper.org/news/11538</guid>
      <link>http://www.phpdeveloper.org/news/11538</link>
      <description><![CDATA[<p>
In a <a href="http://CaseySoftware.com/blog/useful-naming-conventions">new post</a> to his blog <i>Keith Casey</i> shares a few tips on naming conventions that can help increase readability in your code and make maintenance simpler in the future.
</p>
<blockquote>
In my regular web wanderings recently, I found a great post entitled "<a href="http://www.gameproducer.net/2008/11/11/the-7-worst-verbs-programmers-use-in-function-calls/">The 7 Worst Verbs Programmers Use In Function Calls</a>" and couldn't help but be reminded of a system that I worked on a few years ago.  The core function of the system was named - no kidding - "doStuff".  Everything in the application led towards that, used it, and then did other things as a result.
</blockquote>
<p>
He suggests a structure he uses - "verbAjectiveNounStructure". Starting with an action, moving to a description of the action, to the target of the action and finally an optional structure - how the returned data is formatted.
</p>]]></description>
      <pubDate>Tue, 09 Dec 2008 15:31:15 -0600</pubDate>
    </item>
  </channel>
</rss>
