viralpatel.info
News: www.viralpatel.info >> blog <new> !
Blog


Twitt this! Email this!
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.








Twitt this! Email this!


http://httpd.apache.org/docs/current/rewrite/

http://www.noupe.com/php/10-mod_rewrite-rules-you-should-know.html








Twitt this! Email this!
Using boolean logic instead of CASE in WHERE clause of query in MS-SQL
Benefits :
  • Faster Performance
  • Improved Code Readability

Examples :
  • Replace "IF A THEN B " with "(NOT A)or B "
  • Replace "IF A THEN B ELSE C " with "((NOT A)or B) AND (A OR C) "

source : SQL WHERE clauses: Avoid CASE, use Boolean logic