Web application programming using objective-c? Web application programming using objective-c? apache apache

Web application programming using objective-c?


You can leave the server almost as-is. I'd run it as a daemon in the background.

I'd split the controller part. One part of it resides on the server as a connection between HTTP requests and the daemon.

  • You could run a self-made http server.
  • You could build it into a Apache module as you mentioned.
  • You could access your controller through CGI. This is the easiest option as I see it.

The second part of the controller is written in Javascript in the browser, exchanging data with the server and updating the GUI.

The view part is written completely in javascript.


  • You could - if you want - leave out the controller on the server and make the model understand HTTP requests.

  • For the Controller / View part consider using a framework.

    • jQuery for only a light interface. (Or a similar framework.)
    • I haven't yet found a framework that leaves all the model stuff to the server. Maybe you can use SproutCore or Cappuccino accordingly.
    • SproutCore, the full-backed MVC framework that is used by Apple. (Think so at least.)
    • Cappuccino, another full-backed MVC framework.


Have you looked at Cappuccino? http://cappuccino.org/

I have not used but have heard many good things about it.


There is a new web development platform for Objective-C/Cocoa called Bombax. It sounds like exactly what you're looking for (it is designed to allow you to write entire web applications in Objective-C). Perhaps you could even combine it with Cappuccino. You can check it out at http://www.bombaxtic.com.