Categories
- agile (3)
- algorithms (17)
- css (29)
- download (3)
- featured (46)
- flex 3 (25)
- javascript (138)
- micro tutorial (202)
- PHP (108)
- portfolio (5)
- snippets (7)
- video (1)
- web development (167)
- zend framework (80)
Category Archives: PHP
PHP: Conditionals Coding Style
Just to continue with PHP coding style, let me suggest a conditional statement coding standard. Just don’t use large three operands conditions like that: condition ? if_true : if_false If it’s too long it will be difficult to read and … Continue reading
Posted in PHP
Tagged Boolean algebra, C, Coding theory, Computer programming, Computing, PHP, Programming style, Software engineering, Source code
Leave a comment
PHP Coding Style: Large IF Statements
Have you ever seen some PHP code like that: 1 2 3 if ($condition1 && $condition2 && $string1 == $string2 . $string3 && $string4 != $string5 . $string6) { // write some code here!? } It is ugly, isn’t it? … Continue reading







