[読み込み]lerdorf's no-framework PHP MVC framework

1318 ワード

Rasmus Lerdorf, creator of the PHP langauge, has a new tutorial on his site today that looks at the creation of a "no-framework PHP MVC framework"using PHP5, the Yahoo! User Interface Library, and JSON.
He steps through the entire process of working up the "non-framework"- the goals of the project, why to go with the MVC approach for the structure, and, of course, the code.
That arose the PHP's own MVC Pattern discussion in PHP Community.But i have my own view.Here is my response in one of most famous PHP community: lerdorf PHP AJAX , cid 。 AJAX ,lerdorf controller View , ? push JSON , a.php b.php
, lerdorf Include xxx.inc controller, , MVC page controller, cid Front controller ,Front Controller PC , 。 FC ,asp.net page controller ?
: PHP AJAX ,lerdorf , ……
if(isset($_POST[''])){} , 。 view , 。
AJAX controller View , a.html a.php, , 。 ?

記事の出典:http://blueoxygen.dflying.net/3/archive/42_lerdorfs_no-framework_php_mvc_framework.html