Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78009 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 91536 invoked from network); 14 Oct 2014 14:10:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Oct 2014 14:10:03 -0000 Authentication-Results: pb1.pair.com smtp.mail=mike@mjdugan.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=mike@mjdugan.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain mjdugan.com from 209.85.192.44 cause and error) X-PHP-List-Original-Sender: mike@mjdugan.com X-Host-Fingerprint: 209.85.192.44 mail-qg0-f44.google.com Received: from [209.85.192.44] ([209.85.192.44:42674] helo=mail-qg0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0C/A1-18603-BBE2D345 for ; Tue, 14 Oct 2014 10:10:03 -0400 Received: by mail-qg0-f44.google.com with SMTP id j5so8553338qga.3 for ; Tue, 14 Oct 2014 07:10:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:message-id:in-reply-to :references:subject:mime-version:content-type; bh=tFGGI5N1v12fySDXynaOaZxHo42IMpAq3zVo5f+1Jn4=; b=ZcjzTpPj24jT00C0cwgjL3R0erqSe+f0MGVb1uNCtQlM5NLpsiFQOOuDeSwQyx3/rs DJ+DuL4e0HwiwJ5uTMukltNfZKYahF8cGb6/SDXRRvAzgBz9wJQEUSK+GnUQ0nO+WVpE wy6jj6fEY0DM5g4G49yr4NVUUFTT4KDHG9wddWkaXqDH8n+xz19bc51FqFTulwxnwV/6 dAXqmp6SHVIIUpxjf6T+ud2Xg6qBJOsWPgDUlkLjFrlNGv/xUdwaNlGnsEIH70nUATJ5 mMCETd/DVVjAyKQrm61PHeh9AzrcApTBvGCNUA3OxzMiFhA24QMbni/cc0GuK11uKvz0 FJzg== X-Gm-Message-State: ALoCoQmNplmPokFSu4gEtWckCxJ6yjW8Mcd299OW082CL/zKVsZO8RnQwLezV6rbJpB/23Fyn1mK X-Received: by 10.140.108.244 with SMTP id j107mr8636502qgf.27.1413295800755; Tue, 14 Oct 2014 07:10:00 -0700 (PDT) Received: from Mikes-iMac.local (c-71-200-126-32.hsd1.md.comcast.net. [71.200.126.32]) by mx.google.com with ESMTPSA id e7sm15542858qaf.11.2014.10.14.07.09.59 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Tue, 14 Oct 2014 07:10:00 -0700 (PDT) Date: Tue, 14 Oct 2014 10:09:58 -0400 To: Andrea Faulds , Park Framework Cc: Kris Craig , Kristopher , Andrey Andreev , PHP internals list Message-ID: In-Reply-To: References: <776669CE-9E8C-4069-9834-C7275CCA0EF4@ajf.me> <8CB055D4-F164-4DF3-B019-684BAE7E016E@ajf.me> X-Mailer: Airmail (249) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="543d2eb7_41b71efb_12d" Subject: Re: [PHP-DEV] New globals for PUT and DELETE From: mike@mjdugan.com (Mike Dugan) --543d2eb7_41b71efb_12d Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On October 14, 2014 at 10:07:26 AM, Park =46ramework (park.framework=40gm= ail.com) wrote: 2014-10-14 16:29 GMT+03:00 Andrea =46aulds :=C2=A0 >=C2=A0 > On 14 Oct 2014, at 14:27, Kristopher wro= te:=C2=A0 >=C2=A0 >> =24=5FHTTP=5FREQUEST=5FBODY and =24=5FHTTP=5FQUERY=5FSTRING for nostal= gia's sake.=C2=A0 >=C2=A0 > Ew, non-superglobals.=C2=A0 >=C2=A0 > But =24=5FREQUEST=5FBODY and =24=5FQUERY=5FSTRING are a bit lengthy. Pe= rhaps =24=5FQUERY (for =24=5FGET) and =24=5FBODY (for =24=5FPOST)=3F Then= the variable set finally makes sense, but isn=E2=80=99t too long:=C2=A0 >=C2=A0 > * =24=5FQUERY - query string parameters=C2=A0 > * =24=5FBODY - request body parameters=C2=A0 > * =24=5FREQUEST - query string and request body parameters=C2=A0 >=C2=A0 > Makes more sense than =24=5FGET and =24=5FPOST.=C2=A0 >=C2=A0 > Any objections=3F=C2=A0 +1=C2=A0 I RESTful a developer, agree this proposal=21=C2=A0 I hope someone will write the R=46C and vote for it, it is necessary to=C2= =A0 move from words to deeds.=C2=A0 --=C2=A0 PHP Internals - PHP Runtime Development Mailing List=C2=A0 To unsubscribe, visit: http://www.php.net/unsub.php=C2=A0 If no one else is already working on it, I can write one up this morning/= early this afternoon and submit it. =E2=80=94 Mike Dugan mike=40mjdugan.com --543d2eb7_41b71efb_12d--