MySQL Normalization

Database normalization is a process of organizing fields and tables which reduces dependancy of data and redundancy. There are 6 normal form. In most cases it’s only need 3 normal form to achieve normalization. What normal forms are? 1NF (First Normal Form) Rules Each table cell should contain a single value Each record needs to…

Read More

SOLID principles in PHP

There are 5 principles in SOLID: Single Responsibility Open-Closed Liskov Substitution Interface Segregation Dependency Inversion This principles makes code clean, extensible and readable. If follow this principle you get architecture that ease to support…

Read More

Git commands


Notice: Undefined offset: 0 in /var/www/xtracode.me/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 532

Fatal error: Uncaught Error: Call to a member function id() on array in /var/www/xtracode.me/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php:36 Stack trace: #0 /var/www/xtracode.me/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(538): CrayonFormatter::format_code() #1 [internal function]: CrayonFormatter::delim_to_internal() #2 /var/www/xtracode.me/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(516): preg_replace_callback() #3 /var/www/xtracode.me/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(166): CrayonFormatter::format_mixed_code() #4 /var/www/xtracode.me/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(186): CrayonHighlighter->process() #5 /var/www/xtracode.me/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php(703): CrayonHighlighter->output() #6 /var/www/xtracode.me/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php(1176): CrayonWP::the_content() #7 /var/www/xtracod in /var/www/xtracode.me/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 36