Marcin Kurczewski
6c9954f298
Reduced responsibilities of HttpHelper
2014-10-18 18:48:37 +02:00
Marcin Kurczewski
632bac8661
Added "use ..." statements
...
This version ditches backwards compatibility with PHP earlier than 5.6.
2014-10-18 18:48:36 +02:00
Marcin Kurczewski
640b66a324
Added list of SQL statement to debug output
2014-10-18 18:48:34 +02:00
Marcin Kurczewski
a728279bf5
Removed reliance on global from Dispatcher
2014-10-18 18:48:33 +02:00
Marcin Kurczewski
332ca8e4b7
Added query count statistics to responses
2014-10-18 18:48:33 +02:00
Marcin Kurczewski
15eb2342b9
Moved public data to public_html/
...
This is going to improve caching.
2014-10-18 18:48:24 +02:00
Marcin Kurczewski
ef1a3b9843
Minified exception traces
2014-10-18 18:48:22 +02:00
Marcin Kurczewski
c117367974
Added IValidatable; moved validation to FormData
...
I still struggle to find out how to deal with arguments like
$userNameOrEmail. Should I trim() them in controllers, or in service?
If I do it in service, shouldn't all of such validation belong in there?
2014-10-18 18:48:19 +02:00
Marcin Kurczewski
2ecb79a2fa
Added passive authorization
2014-10-18 18:48:18 +02:00
Marcin Kurczewski
7be8061aa8
Fixed serializing classes in Dispatcher
2014-10-18 18:48:16 +02:00
Marcin Kurczewski
0889472bf3
Added protection against fatal errors for AJAX
2014-10-18 18:48:16 +02:00
Marcin Kurczewski
4202ae2ec7
Added HTTP response codes
2014-10-18 18:48:16 +02:00
Marcin Kurczewski
6265a09d39
Added dependency injection engine
2014-10-18 18:48:15 +02:00