You absolutely do not want to write an Apache module to implement a web-app! 
That's massive overkill, like building a machine shop in your garage instead of 
just going to Home Depot.

If you need more performance than the basic CGI interface provides, good ways 
to go are either SCGI (which will use an Apache module to make a connection to 
your process and send it requests), or proxying (implement a basic HTTP server 
in your app and proxy to it from Apache; you can then scale up by running 
multiple copies of your app and fanning out.)

This stuff has been done many, many times before; it's just that people don't 
use Cocoa for it. IMHO it's not the right tool for the job in most cases. 
Web-apps tend to be written in interpreted languages like Java, Python, PHP, 
Ruby, etc. About the only developer I know of who does a lot of web development 
in native code is Google, because as you can imagine they have the world's most 
horrific scalability problems to deal with. And they only use that when they 
need to, for core stuff; lots of their apps, like Google Docs, are written in 
Java.

In short, you are on the wrong list for discussing the kind of stuff. You need 
to find a forum about web development, regardless of what language you want to 
use. And my advice would be to avoid native code unless you have known, 
measurable performance problems with any interpreted solution.

—Jens_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to