News Feed
Sections




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

Chris Hartjes' Blog:
Better HTTP Request/Response in PHP
December 14, 2011 @ 09:51:03

In a recent post to his blog Chris Hartjes looks at the idea of better HTTP Request/Response functionality in PHP, more than just the superglobal handling and PECL HTTP extension it has now.

I think the fact that we have $_POST and $_GET lulls some of us into the false sense that we should have $_PUT and $_DELETE objects, since that would map to the commonly-desired set of HTTP verbs that REST likes to use. But what should be inside those things, or should we be moving towards a more Pythonesque solution where a Request object, as part of core or via a only-really-for-the-brave- PECL extension?

He mentions opinions from other PHP community members (Laura Thompson and Elizabeth Smith) and a bit about what he (and I'm sure other developers) are looking for in a more full-featured request/response handling feature.

0 comments voice your opinion now!
request response object handling http extension


blog comments powered by Disqus

Similar Posts

Pierre-Alain Joye's Blog: Release Announcements (GD, Hidef, and Zip)

Evan Coury's Blog: Using Zend\Dbs TableGateway & HydratingResultSet to return rows as custom enties

Bas De Nooijer's Blog: Benchmarking PHP Solr response data handling

Robert Basic's Blog: Data filtering with PHP's Filter extension

Matt Curry's Blog: .8 Reasons to hate CakePHP


Community Events





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


interview opinion tips community release introduction package podcast language list deployment framework api laravel voicesoftheelephpant bugfix series library install symfony

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