Skip to content
redmar edited this page Aug 12, 2010 · 17 revisions

Overview

Collection of patterns/approaches/recipies for Cappuccino.

In many cases you can find what you want by looking through cocoadev.com. Cappuccino “CP” classes will tend to be very similar to Cocoa “NS” classes.

Communicating with your webserver

Cocoadev resource:
http://cocoadev.com/index.pl?NSURLConnection

From #cappuccino,


cratuki: Pilky: An example of something I was thinking about was communication
between UI and the server. I’d guess that this doesn’t really relate to cocoa – is
that fair? But for many things, maybe we could just link to stuff on cocoadev.
Pilky: communication between a “UI” and a server is pretty easy in cocoa
Pilky: it’s pretty much what one of my apps does (though it does cache it)
Pilky: just look up anything to do with NSURLConnection
Pilky: from what I understand, if you treat the Obj-J app as a desktop app
communicating with a web server then it should work fine

Using ruby on rails (activerecord and activeresource)

Because javascript can be freely mixed with your objective-j sources,
Jester could be an interesting choice to use in combination with the cappuccino components.