concept default in category php

appears as: default, default, defaults, defaults
Zend Framework in Action

This is an excerpt from Manning's book Zend Framework in Action.

Most developers begin to introduce structure to a website’s code by default, and the concept of reusability dawns. Generally, this means that the code that connects to the database is separated into a file called something like db.inc.php. Having separated out the database code, it then seems logical to separate out the code that displays the common header and footer elements on every page. Functions are then introduced to help solve the problem of global variables affecting one another by ensuring that variables live only within the scope of their own function.

Note that custom fonts are embedded in the PDF document by default. If you really need to keep file sizes down and are sure that your end user has the fonts on his system, you could use the Zend_Pdf_Font::EMBED_DONT_EMBED constant as the optional second argument to fontWithPath().

Listing C.5. Creating a route with defaults and requirements