Hi ;-)
We all know that making the route decision from C code (Apache) to PHP code (ZF router) is bad for performances.
I don't have measures, but IMHO , ZF routing is at least 20% less efficiant than Apache's C-written one (one again, I dont have references, but if someone does, just share them )
I already pinged Matthew about developping an Apache module which could be added routes like ZF's router behavior, and populates $_SERVER['module'] , $_SERVER['ctrl'] and $_SERVER['action'] (for example).
A friend of mine, Jerome Renard, has already developped something similar ; let's see http://code.google.com/p/modurlalias/.
The goals are mainly the sames, and by rewriting some parts of this code, we could have something cool.
Are there any C skilled dev in the place (with Apache modules exeperience could be great) ?
Anyway I'm gonna work on that idea for my own, so ping me if interrested.
J.Pauli
2010年1月19日星期二
订阅:
博文评论 (Atom)
没有评论:
发表评论