Re: REST - PHP Extension
| From: | Pierre Joye | Date: | Mon, 03 Jan 2011 20:30:25 +0000 |
| Subject: | Re: REST - PHP Extension | ||
| References: | 1 2 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-7912@lists.php.net to get a copy of this message | ||
On Mon, Jan 3, 2011 at 9:09 PM, Ioseb Dzmanashvili
<ioseb.dzmanashvili@gmail.com> wrote:
> @Nathan,
> To be honest I do not know if it is a possibility, because in my
> understanding HTTP is a general purpose extension for dealing with HTTP
> protocol and I do not think routing can be a part of it IMHO. Regarding
> other parts I think it's better if I write some documentation with more
> expressive examples to better present capabilities and intent of the
> extension.
Exactly, http requests are one thing and php's stream, http or curl do
it very well while covering most of the known pitfalls. Routing is
more something to do once you have the result of a request, routing is
also totally independent from where the data comes from. That's why I
suggested you to create something to boost the routing part of an
application while using the existing solutions for the http requests.
> @Pierre,
> Regarding license, I didn't included any license yet but I'm going to PHP
> License 3.01 as recommended
> at http://pecl.php.net/account-request.php
Good choice :)
Cheers,
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org