I find it interesting how people will grab one particular part of a post and completely disregard the rest. I don't really care too much about this rather silly discussion, but ability to bludgeon doesn't make you correct and I feel the need to point that out.

Apache takes a request (string + other request information) and translates it to a specific action. That may be showing an directory index, serving up the contents of a file, or executing a particular bundle of code (via CGI or any number of other methods). Depending on how it is configured, it can perform access control / authorization and numerous other bits of functionality.

That is what a dispatcher does. There is no requirement that the thing a dispatcher decides to do is in one particular arbitrarily defined bundle of code.

Using apache as your only dispatcher may be out of fashion, or outmoded, or whatever you choose to call it, but that doesn't mean it isn't a dispatcher.

Point being that frameworks provide more than choosing what to do, and if you stop the comparison at that point, then you might as well include every web server in your comparison.

It was intended to point out one of the problems with the benchmark, using an extreme example.

I need to remember that subtlety has no place on mailing lists.

Jay


Hmm, you’re right. I guess I’ll start writing my apps as lots of
little CGI scripts so that I can use the Apache dispatching.

No wait, this isn’t 1992 anymore.
(Except for many PHP people who’re still stuck there.)

Last I checked, Apache’s URI translation won’t route requests to
particular methods within an app that’s launched from a single
script, so no, Apache is not a dispatcher in the sense that
Catalyst or RoR is.

You can of course load your app *into* the webserver with
mod_perl, in which case you can configure Apache to dispatch the
URI to a particular method in your app; but I mentioned that as
an exception in the previous mail anyway. I assumed that would be
enough of a hint, but I guess I expected too much.

Are we done splitting this hair now or do you need more
clarification?

Regards,
--
Aristotle Pagaltzis // <http://plasmasturm.org/>

_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/ [email protected]/
Dev site: http://dev.catalyst.perl.org/

---
America will never be destroyed from the outside. If we falter and lose our freedoms, it will be because we destroyed ourselves. -- Abraham Lincoln



_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to