Category Archives: Web Development

Anything to do with Web Development

PSR-2 Coding Style Guide

The PSR-2 Coding Style Guide is an extension of PSR-1, which I reviewed in my last post.  The PSR standards were created and agreed to by a diverse group of PHP framework and library developers, so that all frameworks and … Continue reading

Posted in Naming Standards | Leave a comment

PSR-1 Basic Coding Standard

With the explosion in PHP frameworks and PHP libraries that has occurred over the last couple of years, developers have started to be concerned about standards for coding that can be used across all frameworks.  To this end, at the … Continue reading

Posted in Naming Standards | Leave a comment

A PHP Singleton Flip-Flop, TRUE or FALSE

When I was learning computer internals, the hardware logic component that was the foundation of the computer was the flip-flop. The flip-flop was an electrical circuit that was either a one or zero. That usually translated to +9 volts or … Continue reading

Posted in Design Patterns | Leave a comment

Regular Expression Patterns

This is a quick, look-up of pre-constructed regular expression patterns you can use while validating forms and working with the Internet.  A cheat sheet to speed up your coding.  Each of these has been tested to work with PHP functions. … Continue reading

Posted in Regular Expressions | Leave a comment

Regular Expression Syntax

In our last post I went through a quick overview of the PHP functions that can be used with regular expression patterns.  Let’s take a closer look at these patterns. I always assign my reqular expression to a variable, to … Continue reading

Posted in Regular Expressions | Leave a comment