Re: MVC and PHP
| From: | Sérgio Carvalho | Date: | Tue, 03 Feb 2004 15:37:59 +0000 |
| Subject: | Re: MVC and PHP | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-25438@lists.php.net to get a copy of this message | ||
Dirk Zimmermann wrote:
Hi, is there work on a PEAR MVC framework currently in progress?I have no idea, but I'm highly critical of the usage of MVC patterns in web scripting languages. Apache's URL rewriting engine takes care of mapping external URLs to internal URLs. Its faster than any PHP solution and its extremely terse, though not very easy to use. It can easily take care of the kind of features provided by web MVC frameworks, such as the one existent in .NET. Furthermore, it's written already. It's extremely stable and in production use for several years now. I've yet to see a requirement for an MVC framework that can't be handled by the URL rewriting engine. For those that haven't used the URL rewriting engine, have a look at Ralf Engelschall's URL Rewriting Guide: http://www.engelschall.com/pw/apache/rewriteguide/ Cheers, Sérgio