Over 10 years of community discussion and knowledge are maintained here as a read-only archive.
We're also looking at basing a rather large project on PureMVC for PHP -- more demos would be fantastic from our end as well -Chris
# This is the Zend rewrite that sends all requests to the index.php page.RewriteEngine OnRewriteCond %{REQUEST_FILENAME} -s [OR]RewriteCond %{REQUEST_FILENAME} -l [OR]RewriteCond %{REQUEST_FILENAME} -dRewriteRule ^.*$ - [NC,L]RewriteRule ^.*$ index.php [NC,L]
$facade = ApplicationFacade::getInstance(); $facade->retrieveProxy( "RequestProxy" )->setRequest( $_SERVER['PHP_SELF'] );
$facade = ApplicationFacade::getInstance(); $facade->startup( $_SERVER['PHP_SELF'] );