Ternary Operators – php shorthand ?:

Ternary operators are probably the most confusing code to look at but at the same time probably the most underused style of coding for new developers. Ternary operators doesn’t give any additional functionality to PHP programming aside from simplifying and minimizing the number of characters you have you type in order to achieve the desired…

Read More

Yoda logic

Not that confusing, it is.  Back end web programming is all about logic. You create a bunch of conditions in which you want your code to run and then you run it. For instance, you would say “If this post has the category ‘featured’ checked off, display it. If not, do not display it.”. That…

Read More