SockJS-Erlang and Yaws Webserver - websocket

Thanks in advance but can anyone provide some guidance how I would use sockjs-erlang together with the Yaws Web Server. I have found some material on sockjs and cowboy but none on Yaws.
Thanks

Have a look at the yaws websocket documentation:
http://yaws.hyber.org/websockets.yaws
Also checkout this project:
https://github.com/sockjs/sockjs-erlang
sockjs-erlang works with Cowboy but it could be ported to Yaws. I didn't dig through the codebase, but assuming they aren't making many calls Cowboy, it should be relatively straightforward to port the library.
Hope this helps!

Related

Titanium Mobile Sockt programming

I had Mobile project using Titanium which need Chatting functionality so i found two way to do that...like using socket programming and by using Web services so which way is better and what are the Requirements for Sockets Based programming .....plz Help me.....
i had got reference for code
https://github.com/appcelerator-modules/ti.cloud/tree/master/commonjs/example/windows/chats
but i confuse which way i have to fellow ...
Dilip
If you want to implement chat application you have more option to do that.
I have already do that with socket.io that is really fine for me and also helps me a lot. And its very speedy .
And i have also experience with cloud that is also good but as per i say that socket.io is good compare to webservices.
Socket.io In Appcelerator
Prefer this it really helps you to you to understand socket.io
Socket.io
Thanks,
Dharmik

Is there a socket.io port to Dart?

I've taken a look at the basic websocket capabilities in Dart, using this simple example:
https://github.com/financeCoding/chat-websocket-dart
But I was wondering if there's a nice library I could use to build a realtime online game using websockets. I've had experience in this using node.js with socket.io, which worked out quite well. I need to be able to have "rooms", join rooms, leave rooms, broadcast to clients in a room, etc. as well as some nice notion of connection "health", reconnection etc. So what I'm asking is if there's a nice library for dart that has similar functionality? Even cooler would be a library on top of that library that could enable nice RPC functionality with variable syncing etc. such as http://nowjs.com/ which achieves this using socket.io. But I guess that might be too ambitious.
If anyone's had any experience or found a project which is similar to what I'm talking about, let me know :)
Duct is clone of Socket.IO in Dart which aims to be protocol-level compatible with the original implementation.
https://github.com/petrhosek/duct
Sorry, at the time of this writing, I'm not aware of a socket.io port for Dart. socket.io is nice because it has a bunch of implementation options for browsers that don't support Web sockets.
Sounds like a good idea for a hackathon project!

WSO2 WSF/Ruby - anyone using it?

Have been using Savon for my webservice stuff so far, but need to talk to a more "secure" service now, needing WS Addressing and WS Security Extensions.
Have started to extend this fork of Savon to handle it, but then found WSO2 WSF/Ruby - so wondering if anyone has any experience of it, pros/cons etc. That is, is it worth my switching to it? I cant see much out there about it, besides on their own site - their forums seem awfully quiet, which does not bode well.
Currently dev on OSX/Snow Leopard, deploying on CentOS.
Thanks in advance,
Chris
It does not seem so (from the lack of replies...)

Options for a server container framework for Ruby/JRuby

Looking to do a Ruby-based server component and wondering what wrapper to give it, if any?
It will be JRuby, so Spring comes to mind - but perhaps there are more Ruby-centric options?
Thanks in advance, Chris
The most "rubyish" thing would be to use mongrel or webrick, but I don't think very many folks do that.
I think the most common thing is to use Rails or Sinatra, then package them using as a war file using warbler. At that point, anything that can host a war file can host the app.
There's a pretty good list here.

Server push in php

In an app, I am looking forward to implement server push functionality. I have gathered some information about the technology also, but I am little confused that with which language should I prefer for and what else requirement needed(note: this is going to be a social n/w app)?
I have just finished a project based on php / mysql, so will PHP be a good option or ruby on rail.
So can anybody guide me here. also if any good article before start working on it?
Thank you in advance.
What you're looking for is Comet. With PHP, your options are somewhat limited; see here for details.

Resources