2011年4月6日星期三

PHPBuilder.com: The PHP Fat-Free Framework: Slim Down Your PHP Development


On PHPBuilder.com Jason Gilmore has posted another article in his series looking at lightweight frameworks. In this latest article he looks at the PHP Fat-Free Framework, a PHP 5.3 framework the comes bundled in a single 55KB file.



If you're keen to start capitalizing upon the great framework-oriented features you've heard so much about but aren't yet ready to invest the significant time required to master one of the more involved solutions, consider investigating one of the lightweight solutions such as the PHP Fat-Free Framework. In this article I'll show you just how easy it is to get started building Web sites using this deceptively tiny (55kB) framework.


You'll need a PHP 5.3 install to get the framework working - several bits in its core use 5.3-only features. He shows how, at its simplest, the framework can be used to generate "clean URLs" even if it just routes to HTML files. Next is setting up dynamic routing then building page templates and MySQL integration. If you're looking for more detail on the framework and what it has to offer, visit the project's page on SourceForge.

没有评论:

发表评论