Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server support #16

Open
vltr opened this issue Jul 26, 2013 · 3 comments
Open

Server support #16

vltr opened this issue Jul 26, 2013 · 3 comments

Comments

@vltr
Copy link

vltr commented Jul 26, 2013

Hi! bone.io looks really interesting. I did some work with NodeJS, but I still need to use other server-side programming languages and technologies for other stuff. Mostly I've been using SockJS and it's various implementations on top of other servers.

For now, bone.io seems to work with socket.io and on top of NodeJS (correct me if I'm wrong). Is there a plan for create a "pluggable" system, where I can map bone.io calls to SockJS (just an example) and then make it work with my own technologies? That would be really interesting.

Best regards,
Richard.

@techpines
Copy link
Owner

Yes, I'd like to not have bone.io tied to socket.io. Socket.io is not even a hard dependency for bone.io right now. I'd like to keep the API the same, but just provide different adapters for the IO component that can be configured in the io.options:

bone.set('io.options', {
  adapter: 'sockjs',
  ...
});

@vltr
Copy link
Author

vltr commented Jul 26, 2013

That's what I'm talking about :)

I think you shouldn't have to do this work because you'll probably be out of enough adapters to supply general demand :) An "abstract" adapter, perhaps? Or an adapter factory? A good example is the way Ext.Direct works: you can make async calls even if you're server part doesn't fully support streaming :)

@olituks
Copy link

olituks commented Sep 26, 2013

Hello,
I want to say if soket.io.js is compatible with Google App Engine websoket ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants