Newsgroups: php.internals
Path: news.php.net
Xref: news.php.net php.internals:78015
Return-Path: <mike@mjdugan.com>
Mailing-List: contact internals-help@lists.php.net; run by ezmlm
Delivered-To: mailing list internals@lists.php.net
Received: (qmail 384 invoked from network); 14 Oct 2014 14:25:06 -0000
Received: from unknown (HELO lists.php.net) (127.0.0.1)
  by localhost with SMTP; 14 Oct 2014 14:25:06 -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.47 cause and error)
X-PHP-List-Original-Sender: mike@mjdugan.com
X-Host-Fingerprint: 209.85.192.47 mail-qg0-f47.google.com  
Received: from [209.85.192.47] ([209.85.192.47:62944] helo=mail-qg0-f47.google.com)
	by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP
	id 70/A3-18603-2423D345 for <internals@lists.php.net>; Tue, 14 Oct 2014 10:25:06 -0400
Received: by mail-qg0-f47.google.com with SMTP id i50so8377547qgf.6
        for <internals@lists.php.net>; Tue, 14 Oct 2014 07:25:03 -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=L9yZeoj2Z2cotXXgmyBqDW22iN41V6L3q7r7T9uLcbc=;
        b=ji8Ai7TVqNWB0594c5wI0AeSu/nbbnG0XcZmFNzFDAGkV2452TH1F99zcIm0lEJ1u1
         ettguSZA0GkdDFQNianTMtY7gXqaXVXwA+FOC8xRMjAR8tPEa50lTGngpgBgIz5Ovnzj
         cw8iNVXpcCwBdDs76KXM8BS5hENBXpH7OsWONvGQBM3gfFUEsIYM1E+aOXs2inNN/EpM
         zcmbX/QP7MdfslL/Nmb93Tv65m1G03Eb2+rbwTvJItsFuCa15oDU8pJKf+edW/krr/qt
         TyvZ6K6XQeE4o9T0Ss3aQeyrZ2mJcYKqiTluwTH/wMXQ1UZ1VF7jHK42i05SfE/55Adx
         YO3w==
X-Gm-Message-State: ALoCoQlSV02tgsB2DatX4TJOXwueOPWCy9PEvOKoOaZxJWVGwLijyfJlVTQQgn93JeuiZN0DtvMc
X-Received: by 10.229.7.133 with SMTP id d5mr9923642qcd.24.1413296703580;
        Tue, 14 Oct 2014 07:25:03 -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 h79sm14444562qgd.27.2014.10.14.07.25.02
        for <multiple recipients>
        (version=SSLv3 cipher=RC4-SHA bits=128/128);
        Tue, 14 Oct 2014 07:25:03 -0700 (PDT)
Date: Tue, 14 Oct 2014 10:25:02 -0400
To: Ben Ramsey <ben@benramsey.com>
Cc: Andrea Faulds <ajf@ajf.me>, Kris Craig <kris.craig@gmail.com>, 
 Andrey Andreev <narf@devilix.net>, Chris Wright <cw@daverandom.com>, 
 PHP internals list <internals@lists.php.net>
Message-ID: <etPan.543d323e.515f007c.12d@Mikes-iMac.local>
In-Reply-To: <F4F3722F-4335-42C9-AEFC-5D17407E3A34@benramsey.com>
References: <CAKOpQSwS=Xck41sQQyEYGG8L3VHq+fRWjy0dDorbwZaVWMLCow@mail.gmail.com>
 <776669CE-9E8C-4069-9834-C7275CCA0EF4@ajf.me>
 <CAKOpQSwRtSU1LNmftyY1b09SONBCfwS-qiMK4gct6uFiW3CSjw@mail.gmail.com>
 <CAPhkiZwb13FmX+sQLx0Ki52KuwJ4HWTj-84UqcZq3GYPFL8Tnw@mail.gmail.com>
 <E8F7D721-767C-4E6E-B0BB-F0DEFEB308B2@ajf.me>
 <CAGAGxbYBO_E-tf7SipgRDgy-kQZiwF96QGSAwGcJpc2zZ=GGNw@mail.gmail.com>
 <4240E494-94E6-4FC9-BB84-C30FFA69129C@benramsey.com>
 <CAGAGxbaZjq-f=i3CvcNOa--goiL9kxfp+LJRooA7mgo4wEd_RA@mail.gmail.com>
 <69EB8F97-7CFC-44E0-8B2D-C2230ADAC87F@ajf.me>
 <etPan.543d2e49.3d1b58ba.12d@Mikes-iMac.local>
 <F4F3722F-4335-42C9-AEFC-5D17407E3A34@benramsey.com>
X-Mailer: Airmail (249)
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="543d323e_5bd062c2_12d"
Subject: Re: [PHP-DEV] New globals for PUT and DELETE
From: mike@mjdugan.com (Mike Dugan)

--543d323e_5bd062c2_12d
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On October 14, 2014 at 10:21:34 AM, Ben Ramsey (ben=40benramsey.com) wrot=
e:

On Oct 14, 2014, at 9:08 AM, Mike Dugan <mike=40mjdugan.com> wrote: =20

> On October 14, 2014 at 10:04:00 AM, Andrea =46aulds (ajf=40ajf.me) wrot=
e: =20
>> =20
>> =20
>> So =24=5FQUERY and =24=5F=46ORM, then. That sounds about right. =20
>> =20
> =20
> Did I just name a global variable=3F W00t=21 =20
> =20
> Anyhow, yeah neither one is technically 100% correct, but like Andrea s=
aid, the majority of usage will be from forms and query strings with para=
meters. At any rate, it=E2=80=99s makes more sense semantically in the co=
ntext of what the var actually contains than =24=5FGET and =24=5FPOST eve=
r will. =20
> =20

+1 =20

I=E2=80=99m cool with =24=5FQUERY and =24=5F=46ORM. They make much more s=
ense and don=E2=80=99t try to use HTTP verbs, which can confuse the conte=
nt and semantics of the data they contain. Plus, they would just alias =24=
=5FGET and =24=5FPOST, respectively, right=3F =20

-Ben =20





That=E2=80=99s my understanding. There=E2=80=99s also some discussion abo=
ut deriving data from =24=5FPOST/=24=5F=46ORM that is intended for use wi=
th other HTTP verbs, I=E2=80=99m still trying to ascertain exactly what w=
as in mind there (Andrea I think you suggested that=3F)
--=C2=A0
Mike Dugan
mike=40mjdugan.com
--543d323e_5bd062c2_12d--