AhliuMVC Express 0.0.1 alpha

由於 AhliuMVC 0.1 alpha 架構只適用於描述複雜的系統流程, 故須推出「AhliuMVC Express」系列應付 rapid prototyping, AhliuMVC Express 只包含:

1. Request dispatcher

2. 基本 templating 支援

3. 僅提供 Action handler 的 helper class, 並不包括 Action 基類、exception handling、transaction 及 validation framework

——————————–

亦因應 PHP 5.3 快將正式推出, AhliuMVC 將開始陸續使用新支援 anonymous function/closure, 例如:

$action = System::useAction(”UserLoginAction”);
$action->run(”login”, function($errs) {
// post-validation handling

}, function($e) {
// post-exception handling

});

注意, 使用者仍可沿用現時提供的 declarative validation 及 exception handling

Leave a Reply

Security Code: