4 ms·
Cocoa (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 recent
by btrask 15y ago
Cocoa (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.