4 ms·
Ohhhh, yes! This sounds awesome, I've been meaning to write something like this myself. Essentially, a node.js equivalent, but for Cocoa. Of course, I'm way too
by SeoxyS 15y ago
Ohhhh, yes! This sounds awesome, I've been meaning to write something like this myself. Essentially, a node.js equivalent, but for Cocoa. Of course, I'm way too lazy to add that to my work-load, but I'm very glad somebody did.
Now, if only I could use this in an Amazon EC2 environment. I guess with OS X Server supporting virtualization now with Lion, it might be a possibility?
- jonknee 15y agoHow is this similar to node.js? This looks just like a MVC framework that happens to be in Obj-C.
- SeoxyS 15y agoI'm thinking about the fact that neither JavaScript on V8, nor Cocoa are equipped with HTTP networking. So the framework supplies that part. A big part of node, when used for a web app, is that it supplies an HTTP server. Same with this.
- btrask 15y agoCocoa (and CoreFoundation) actually make it pretty trivial to write HTTP servers already. I was completely surprised by how painless it was when I did it recently. Not quite as easy as Node.js, but on the same order of magnitude, IMHO. (Edit) Here's an article that describes the basics: http://macdevcenter.com/pub/a/mac/2006/11/14/how-to-write-a-cocoa-web-server.html http://macdevcenter.com/pub/a/mac/2006/11/14/how-to-write-a-...
- SeoxyS 15y agoYeah, I've done that before. It's not too bad, but there's still a lot of boilerplate that could be made away with.