Glad You're Ready. Let's Get Started!

Let us know how we can contact you.

Thank you!

We'll respond shortly.

[Standup][SF] 12-28-2011 X-window communication and remote files

Ask for Help

“What’s the best way to deal with cross-window communication?”

It’s done for now by having the Javascript constantly polling the server. Some other solutions could be using long-polling, websockets (to use websockets with Rails, EM-WebSocket seems to be a good solution). If you have a better answer, Matthew Kocher would be interested!

Interesting Things

“If you want to read remote files, the best way to do it is using GET requests.”

One alternative would be to use run ‘cat filename’ which gives you a text output that you can store. But the issue with this option is that it will add control characters in your text which cannot be parsed and can consequently make everything blow up.

Post a Comment

Your Information (Name required. Email address will not be displayed with comment.)

* Copy This Password *

* Type Or Paste Password Here *