ABSTRACT

Every PHP/MySQL/HTML/JavaScript application has several parts that are the same for every application. Security issues likewise require that certain procedures be followed every time. It stands to reason that it is worthwhile to identify these parts and examine how we can organize them into a reusable template. This is not a template in the same category as a framework, such as the Zend Framework, but a template for laying out and recognizing reusable parts from a project perspective. Chapter 7, “Project Layout Template,” describes the specific files and code patterns common to many applications.