Community Page
- toxicsoftware.com Jump to website »
-
Subscribe -
Community
-
Top Commenters
-
Popular Threads
-
Recent Comments
- thank you for the information..
- I'm interested in migrating an EE site to WordPress, but I'm not as tech savvy as you. Do you ever do freelance jobs?
- just found your page, do you if there is a "generic" bluetooth app to remote control the nxt with a mac book? your software works only with space navigator?
- Three things: www.bitbucket.org causes a certificate problem because of the "www" subdomain. Pure python keychain access:...
- Hi. So can you please provide the the code for that application? Would be really appreciated!
Jump to original thread »
Is that an HTTP server in your Cocoa application or are you just pleased to see me?
Started by schwa · 10 months ago
This is a little 30 second/1.4MB screencast showing a little idea I had to embed a simple HTTP server inside a Cocoa application. The screencast just shows an application hosting a basic HTML form that allows someone browsing to the application’s address to modify the applications defa
... Continue reading »
3 years ago
3 years ago
It is quite easy to embed Twisted into a Cocoa app via PyObjC. It is even possible to inject said solution into a Cocoa app that is already running.
Because of the design of Twisted, the I/O happens on a thread, but the actual request handling happens in the main event loop. As a result, there is no need to deal with threading issues.
Combined with Nevow and MochiKit, one can relatively easily develop rich web based clients to your Cocoa app's internals.
I really should put a demo together.
3 years ago
3 years ago
Where I see the promise for your idea is for writing some interesting AJAX kinds of web applications in Cocoa.....
3 years ago
3 years ago
It handled just one type of request, a request to subscribe to a feed. The idea was that people could put a button on their site that linked to a url like http://127.0.0.1:5335/subscribe?url=http://some... -- and the request would then go to NetNewsWire on your desktop, which would subscribe to the feed. Easy one-click subscribing.
It wasn't my idea -- Radio UserLand was already doing this, and we figured we had to do the same thing.
(But then there was the issue of how to manage two aggregators that want to listen to the same port -- and then more apps that would come along and want to listen on that port too. I decided to remove the http server before it became something to fight over.)
But anyway -- I always thought the idea was interesting, that connection between web page and the desktop. (It doesn't have to be feed-subscribing, of course.)
2 months ago