资 源 简 介
Per its name VLBFF PHP MVC is a very light but fully functional PHP MVC framework. Within its tiny footprint, it provides REST-based web service functionality for all of its URLs, serving up XML, JSON and serialized PHP at the wave of a URL flag (e.g., /xml, /json, /serial). It likewise, of course, provides for HTML rendering via the Smarty templating engine--though other engines could easily be swapped in and the native XML rendering could be used to pass data to XSLT. On the backend, VLBFF is designed to leverage the Pear project DB_DataObject for ORM. Resting on top of the Pear MDB2 code, DB_DataObject also provides for database abstraction--supporting such DB engines as MySQL, PostgreSQL, SQLite, OCI8, etc. Though another ORM engine could fairly easily be swapped in (and is welcome), using DB_DataObject provides ready mechanisms for data set paging (via HTTP parameter-based offsets and limits), SQL debugging (via a /debug flag that also provides data dumps of the currently scope