• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Web development using Objective-C and Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Web development using Objective-C and Cocoa


  • Subject: Web development using Objective-C and Cocoa
  • From: Maxthon Chan <email@hidden>
  • Date: Sat, 10 Aug 2013 00:20:55 +0800

Hi everyone.

Have anyone of you written any Web application (i.e. code that runs on a Web server) in Objective-C? I am currently working on CGIKit (version 6), an open-source Web development framework for Objective-C, sort of a WebObjects replacement. I am here to ask you for any advices (or involvement, which is very welcomed too) on that project. This entire CGIKit project is sole work of mine as of now.

I know that Apple used to have WebObjects but it is deprecated in favour of a Java-based version. I have read some source code of GNUstepWeb (an open-source clone of WebObjects, just like GNUstep itself is an open-source clone of Cocoa) and that seemed like a pretty outdated CGI-based framework for Web development.

Currently my CGIKit have the following features:

1) It is written in modern Objective-C. It is asking for LLVM/clang 3.2+ to compile since it is ARC, made heavy use of GCD and Blocks, and extensively used modern Objective-C syntax.
2) It is designed to be portable. I have carefully selected the Cocoa API I can use so that this library can be ported to Linux (with GNUstep) with minimal code change (As of now, no code need to be changed).
3) It modelled Web applications after Cocoa applications, while provided Web-interfacing objects that is modelled after ASP.net (Microsoft’s Web development framework, I have some experiences with that)
4) Unlike old WebObjects, but more like modern PHP or ASP.net with Mono and Apache, it used FastCGI instead of CGI.
5) Like ASP.net, it also comes with a set of Web UI widgets (placed in the subproject, WebUIKit); but unlike ASP.net, the Web pages written using this widget kit have to be compiled first into Objective-C code and then FastCGI application before running.
6) Unlike either WebObjects or ASP.net, it is open-sourced. (The license is somewhat like the 3-clause BSD license.)
7) Some APIs are reserved for reactivation and merger of another of my project, OChttpd, a lightweight HTTP server written in modern Objective-C. (Apache is just too big for this task.)

My company have developed a server for a game based on a previous version of CGIKit (version 5.1 with over-simplificated FastCGI support that does not survive multiple requests well)

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden


  • Prev by Date: Re: NSToolbar settings not saved
  • Next by Date: Re: Web development using Objective-C and Cocoa
  • Previous by thread: Re: NSToolbar settings not saved
  • Next by thread: Re: Web development using Objective-C and Cocoa
  • Index(es):
    • Date
    • Thread