Kingdom, Phylum, Order, Class, Family, Genus, HTTP???
Moderator: General Moderators
Kingdom, Phylum, Order, Class, Family, Genus, HTTP???
How might one group the following classes that create and edit Cookies and http headers?
class HTTP_Headers?
Would you group them in a directory called "HTTP"?
class HTTP_Headers?
Would you group them in a directory called "HTTP"?
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US
I don't think Request would be quite correct: Headers and Cookies are the Response.
HTTP is a reasonably good name. I would also consider not grouping them together and having Cookie and Header classes.
HTTP is a reasonably good name. I would also consider not grouping them together and having Cookie and Header classes.
Last edited by Ambush Commander on Wed Sep 27, 2006 8:58 pm, edited 1 time in total.
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Any data found with HTTP_ prefix is from the headers sent by the user agent. (With one or two exceptions) So developers do often mix with request headers.Ambush Commander wrote:Yeah, for Cookie that's right. Headers, less so. PHP programmers usually don't dabble in request headers (although there are fringe cases).
- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US