资 源 简 介
Nephtali
Building on the new functional capabilities available in PHP 5.3, Nephtali provides powerful web development capabilities within a small web framework.
Defining features
Functional style (functions are preferred over objects, many framework values are immutable.)
Novel architecture makes use of pipe-controllers (as opposed to the page- or front-controllers) and embedded views, cleanly separating HTML from PHP and empowering designers in the development process.
Wrapper functions for PDO simplify DB work whilst maintaining control and flexibility (working with multiple DB"s and transactions is simple.)
The framework all fits within ONE FILE, less than 3000 lines of code (including comments.)
What it buys you
Nephtali, while small enough to fit within one file, buys you a bunch, including:
* Simple input validation.
* Automatic output html, attribute, url escaping.
* REST-based input