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/ on line 532

Fatal error: Uncaught Error: Call to a member function id() on array in /var/www/ Stack trace: #0 /var/www/ CrayonFormatter::format_code() #1 [internal function]: CrayonFormatter::delim_to_internal() #2 /var/www/ preg_replace_callback() #3 /var/www/ CrayonFormatter::format_mixed_code() #4 /var/www/ CrayonHighlighter->process() #5 /var/www/ CrayonHighlighter->output() #6 /var/www/ CrayonWP::the_content() #7 /var/www/xtracod in /var/www/ on line 36