The Object-relational Mapping (ORM) tool in the Istarel Workshop Application Framework has a number of switches that affect the way model object classes are constructed. Consider a simple table for categories (used to characterize articles on this blog).
An application is virtually certain to change design quite drastically from initial conception to launch. A well-conceived shell script that combines the application database schema with the Istarel Workshop Application Framework's object-relational mapping (ORM) tool makes it quite simple to cleanly handle change.
In many environments, session_start() is either meaningless or will generate permission errors for PHP scripts being executed from the command line. Fortunately, the $_SERVER global variable contains data that make it possible to differentiate where a PHP script is being run.