application, the framework itself is obviously stored here. However other libraries such as a custom super-set
of the framework, a database ORM library such as Propel, or a template engine such as Smarty may also be
used.
Libraries can be stored anywhere that the application can find them - either in a global directory or a local
one. A global include directory is one that is accessible to all PHP applications on the server, such as
/usr/php_include (or c:\code\php_include for Windows) and is set using the include_path setting within the
php.ini configuration file. Alternatively, each application can store its libraries locally within the application’s
directory. In this case we use a directory called library, though it is common to see this directory called lib,
include or inc. All applications use library code as everyone reuses previously written code! In a Zend Framework
application, the framework itself is obviously stored here. However other libraries such as a custom super-set
of the framework, a database ORM library such as Propel, or a template engine such as Smarty may also be
used.
Libraries can be stored anywhere that the application can find them - either in a global directory or a local
one. A global include directory is one that is accessible to all PHP applications on the server, such as
/usr/php_include (or c:\code\php_include for Windows) and is set using the include_path setting within the
php.ini configuration file. Alternatively, each application can store its libraries locally within the application’s
directory. In this case we use a directory called library, though it is common to see this directory called lib,
include or inc.
