refactored
This commit is contained in:
parent
a41adda408
commit
5e7186c67a
5 changed files with 72 additions and 62 deletions
9
4-http.md
Normal file
9
4-http.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
[<< previous](3-error-handler.md)
|
||||
|
||||
### HTTP
|
||||
|
||||
PHP already has a few things built in to make working with HTTP easier. For example there are the [superglobals](http://php.net/manual/en/language.variables.superglobals.php) that contain the request information.
|
||||
|
||||
These are good if you just want to get a quick and dirty script runnin. But if you want to write clean, maintanable, [SOLID](http://en.wikipedia.org/wiki/SOLID_%28object-oriented_design%29) code, then you will want a class with a nice object oriented interface that you can use in your application.
|
||||
|
||||
to be continued...
|
Loading…
Add table
Add a link
Reference in a new issue