The reason I'm posting in this list is because I'm trying to write a module in 
objective-c that will work with apache and this is a list on objective-c and I 
know I wouldn't get much of a reply on the apache lists. And I'm not writing a 
apache module just for a web application, I'm writing it so I can get the 
language of Objective-C to the web easier and better. I am getting closer to 
figuring out how to compile a module in cocoa. I think I can take it from here 
and I will post the first Objective-C module's source here for all to see and 
possibly use.

Thanks for the tips,
Mr. Gecko

On Nov 28, 2009, at 12:21 AM, Jens Alfke wrote:

> 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