I'm thinking about web browser access, for instance, links that make things happen in shoes apps. I'm wondering if it's reliably possible to make ajax requests to localhost:someport in webapps hosted on internet domains? That would make for a pretty nifty way of sending shoes apps data, and even possibly returning data back at the end, essentially turning Shoes in to a simple web server with camping-like functionality.

It occurs to me though that this is all stuff which could be implemented in pure ruby, as it is in camping itself! Maybe this could be a fun little gem to build for desktop apps that communicate with web pages. We could even marshall the data in to json and make it somewhat JSON-RPC 1.1 compliant, be kinda nifty! :)

I can imagine a LAN based IM app that would send messages by making http requests to the other user's shoes instance that call a method which adds a message to a stack. Fun fun.

Reply via email to