News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

NETTUTS.com:
A Beginner's Introduction to HTTP and REST
November 12, 2010 @ 12:12:02

On NETTUTS.com today there's a great tutorial that wants to teach you, the beginner, all about REST and how it works with the HTTP request and response methods to handle web service requests. A sample PHP application is also included to help you get a better feel for it.

The HyperText Transfer Protocol (HTTP) is the life of the Web. It's used every time you transfer a document, or make an AJAX request. But HTTP is a relative unknown among web developers. This introduction will demonstrate how the set of design principles, known as REST, underpin HTTP, and allow you to embrace its fullest power by building interfaces which can be used from almost any device or operating system.

They talk about the reasons to choose REST for your application and look at some of the basics of HTTP, RESTful URL structure, the HTTP "verbs" and how to set up their example application. The application looks at the request method and shows how to handle the different "verb" request types. There's also a summary of the different HTTP status codes for responding to the client's requests (like 200 for success, 400 for a bad request, etc).

0 comments voice your opinion now!
rest http tutorial beginner introduction


blog comments powered by Disqus

Similar Posts

Procurios Blog: Syntactic Sugar for MySQLi Results using SPL Iterators

Codeception.com: Working with PHPUnit and Selenium Webdriver

Fabien Potencier's Blog: Create your own framework... on top of the Symfony2 Components (part 7)

Dutch Web Alliance: The definitive remote debug and unittest with PHPStorm guide: part 6

Chris Jones' Blog: Building PHP 5.3 with Oracle HTTP Server 11g


Community Events

Don't see your event here?
Let us know!


project interview introduction framework api yii2 composer opinion application configure part2 list podcast language community php7 laravel example series symfony

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework