<h2>Design by Contract</h2> <p>Loosely coupled modular design, with orthogonality, reusability and extensibility in mind, to not compromise its future growth. Designing with Contracts is the <a href="http://www.codinghorror.com/blog/files/Pragmatic%20Quick%20Reference.htm">Pragmatic Programmer</a>'s tip 31.</p> <p> Specific preconditions on parameter types are enforced with Type Hinting on objects and arrays, and casts to string, int, bool or float, on primitive types. Therefore, it is of utmost importance to consider the parameter descriptions in the <a href="../doc/html/">documentation</a> and to follow the contracts defined in the interface prototypes. </p> <p> Other preconditions unrelated to type checking are asserted. </p> <p> The rationale for using exceptions is to throw them <i>only</i> for Exceptional Problems (tip 34). The strict following of the contracts should suffice to operate successfully. </p> <?php putFooter();
include_once('lib/paneSchedules.php'); echo "<!-- Hidden Settings Pane -->"; include_once('lib/paneSettings.php'); ?> <div id="widgetpane"> </div> </div> </div> </div> <br> <br> </div> <!-- Content ends here --> <div id="footer"> <? putFooter(); ?> </div> <? // Dialogs go below this echo "<!-- Hidden Configure Widget Dialog -->"; include_once('lib/dlgConfigureWidget.php'); echo "<!-- Hidden Save Filter Dialog -->"; include_once('lib/dlgSaveFilter.php'); echo "<!-- Hidden Add Folder Dialog -->"; include_once('lib/dlgAddFolder.php'); echo "<!-- Hidden Remove Folder Dialog -->"; include_once('lib/dlgRemFolder.php');