refactored

This commit is contained in:
Patrick 2014-09-12 23:21:50 +02:00 committed by lubiana
parent f1fecce40c
commit 3d3076ccba
Signed by: lubiana
SSH key fingerprint: SHA256:vW1EA0fRR3Fw+dD/sM0K+x3Il2gSry6YRYHqOeQwrfk
5 changed files with 72 additions and 62 deletions

9
4-http.md Normal file
View 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...