Well I am regarding writing server-side script. It seemed to me that Cappuccino 
cannot handle server-side tasks well (unless with node.js) but I can do lots of 
heavy lifting in Objective-C that is compiled with clang into native code - for 
example, can you fine-tune tight loops in good old C-styled inline assembler, 
even maybe dip into OpenCL?

On Aug 10, 2013, at 0:28, Glenn L. Austin <[email protected]> wrote:

> I've been using Cappuccino with some good results.
> 
> It *is* Javascript, and requires a separate server (usually a REST server -- 
> that's what I use), but it seems to be pretty comparable to writing 
> Cocoa/Objective-C.
> 
> On Aug 9, 2013, at 9:20 AM, Maxthon Chan <[email protected]> wrote:
> 
>> 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)
> 
> -- 
> Glenn L. Austin, Computer Wizard and Race Car Driver         <><
> <http://www.austin-soft.com>

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to