
JSONP [JSON with Padding]
----------------------------------
- A solution for Cross-Origin Resource Sharing
- Since <script> tag is an exception to Same-Origin Policy,
some pages use <script> tag to retrieve Javascript code that operates on dynamically-generated JSON-formatted data from other origins.
- This usage pattern is known as JSONP
- The response of JSONP request has Javascript code, which is evaluated by Javascript Interpreter rather than being parsed by JSON parser.
source : JSONP
06-Sep-2011
XDebug - A PHP Debugger
XDebug - A PHP Debugger
homepage : http://xdebug.org
current version : Xdebug 2
documentation : http://xdebug.org/docs/
installation
Xdebug can be installed through PEAR/PECL
features
- Xdebug displays stack trace of error.
- Xdebug beautifies output of "var_dump" to make it more readable for debugging purpose.
- Xdebug can log all function calls along with its parameters and return values
- Xdebug allows code coverage analysis to find which line of code has been executed and how many times.
- Xdebug has built-in profiler to optimize code.
06-Sep-2011
Apache mod_rewrite documentation and examples
Apache mod_rewrite documentation and examples
http://httpd.apache.org/docs/current/rewrite/
http://www.noupe.com/php/10-mod_rewrite-rules-you-should-know.html