Does phantomjs support Bayeux or WebSockets? - websocket

Just simple question, because I didn't find any references in docs..

Just a simple answer: PhantomJS 1.x does not, but PhantomJS 2 does support websockets.
Modernizr output for PhantomJS 2.0.0:

Related

How Meteor works, Client vs Server?

I am really confused at to how Meteor works.
I know there's a server side where you just install it using the terminal.
But what about the client?
Does the client need to install anything?
For example, clients need to install Adobe Flash to run Flash. Are we talking about the same thing here? Or can the client just access it through a regular page without installing anything.
Thanks for the clarification.
<3 StackOverflow
Meteor is a pure javascript web-application framework.
All you need to run meteor is a JavaScript environment.
Server-side, NodeJS is the gold standard javascript environment.
Client-side, all you need is a browser that supports javascript.
There are no plugins required or other magic at work. It's just javascript.
I am assuming you mean the Meteor Http Server? In this case, you can think of it as being very similar to SignalR or node.js. Basically javascript on the client handles receiving events that come back from the server, so you will generally need to include a script on the client side.
You may want to read the following links for more information.
http://meteorserver.org/browser-techniques/
http://www.hanselman.com/blog/AsynchronousScalableWebApplicationsWithRealtimePersistentLongrunningConnectionsWithSignalR.aspx
I think the question refers to http://meteor.com, and if that is the case the client does not need to install anything.
Meteor is a framework for writing Javascript applications, and as such all modern browsers support it "out of the box". The initial request for a web site will download the HTML, CSS and Javascript and it will run just as any other web application like GMail, etc.
You can check out a series of example applications at http://madewith.meteor.com and you should be able to run them without adding any plugins, etc.

Is there a SOAP gem that doesn't depend on nokogiri?

I have tried the savon gem and it works fine.
Unfortunately, I cannot use it for the actual application as we cannot use Nokogiri. I looked at soap4r and it seems to be very old. I also looked at handsoap and have yet to fully test it for my service.
Could someone please share any other gem to consume a SOAP web service using Ruby, without relying on Nokogiri?
You may have luck with one of the more actively maintained soap4r forks.

cURL Ruby Library

Are there any active cURL libraries for Ruby?
Look at HTTPClient and Typhoeus. I've used them both and they're very powerful and easy to use. Both support parallel connections well.
There's also Patron but I haven't used it lately and don't know if it's under active support.

Tools for development SOAP-service on Ruby 1.9

Which set of libraries and tools would you recommend to use for development SOAP-service on Ruby 1.9 - soap-tools, web-servers, or maybe a web-framework?
I have researched this myself. As far as I can tell, there is just one current implementation:
wash_out
It is a very nice to do SOAP in Rails. It does the most basic stuff but it isn't a complete SOAP implementation. I think you are in for a world of hurt if you are building a SOAP service on Rails.
Soap Ui is a pretty good way to test/debug/etc.
Good luck!
Take a look at http://aws.rubyonrails.org/, when it's explained how to create web services within RubyOnRails.
SOAP doesn't seem to be popular in Ruby land. The only library for creating services I know of is SOAP4R (which comes bundled with Ruby), and the documentation for it isn't very detailed.

Exact Target integration with Ruby examples?

Anyone used Ruby or Rails to integrate with Exact Target's API or have a good example of using WSSE with SOAP4r?
http://github.com/sbraford/rbet
I've recently released an open source Ruby on Rails web service library that ties into the ExactTarget SOAP API. It covers most of the major objects and methods, with less used usages being rolled out in subsequent releases.
I hope this helps:
http://bit.ly/a6uOZy

Resources