PDA

View Full Version : Cocoa Server-side Web Framework: Ever?




HiRez
Aug 26, 2007, 02:30 AM
I love programming in Cocoa/Obj-C, but whenevber I want to program a web app, I find myself forced away from it because it has no server-side web framework, such as Rails, Django, Struts (yuck), PHP, etc. You know, a framework that keeps track of cookies, sessions, URL handling, user authentication, database access, binding page views and controls to objects, etc. Now there used to be WebObjects, which is pretty much what I'm talking about, but Apple has abandoned that. They unfortunately chose Java at the wrong time, as it was declining and showing its bloat and cruft in the face of newer, leaner frameworks that were built from the start with the WWW in mind instead of desktop apps (I count Java here because even though applets were envisioned for browser use, they were still stuck more in the desktop app paradigm). Will WebObjects ever be revived for Objective-C, or will some new framework ever fill the void it left?



Eraserhead
Aug 26, 2007, 10:10 AM
You can use Python and Ruby with Cocoa, and the bridges that let you do so are going to be built into Leopard, so you can use that.

Apple might do what you want, but it won't be until at least 10.6 which won't be released for a while.

vihung
Jan 8, 2009, 10:07 AM
I think you are looking for http://cappuccino.org/

It is Cocoa and Objective-C for the Web

Soulstorm
Jan 8, 2009, 05:19 PM
Wow. This framework is completely remarkable. I will definitely have this in mind when I start building my next website.

roamy
Jan 13, 2009, 04:13 PM
I need a little clarification if I can.

1. what is the diff between Cocoa and ObjC and ObjC-2
2. Will snow leopard be intel only

I don't imagine we would see any web stuff for cocoa until they go intel only.

chown33
Jan 29, 2010, 04:55 PM
I need a little clarification if I can.

1. what is the diff between Cocoa and ObjC and ObjC-2
2. Will snow leopard be intel only


Realizing that the above was posted a couple weeks ago...

1. Cocoa is an Apple framework, written in Objective C.

http://en.wikipedia.org/wiki/Cocoa_(API)

Objective-C is a computer language, irrespective of any frameworks or class libraries written in it. For example, NextStep is written in Objective-C, but is not the same as Cocoa.

Objective-C 2 is a revision of Objective-C that adds some features to the language.

http://en.wikipedia.org/wiki/Objective-C

2. Yes, Snow Leopard is Intel-only.

GorillaPaws
Jan 29, 2010, 07:49 PM
Realizing that the above was posted a couple weeks ago...

It was posted a year and a couple weeks ago...

chown33
Jan 29, 2010, 08:14 PM
It was posted a year and a couple weeks ago...

Gaah! <sigh>