Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6182163
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T01:09:14+00:00 2026-05-24T01:09:14+00:00

I have an application whose primary function works in real time, through websockets or

  • 0

I have an application whose primary function works in real time, through websockets or long polling.

However, most of the site is written in a RESTful fashion, which is nice for application s and other clients in the future. However, I’m thinking about transitioning to a websocket API for all site functions, away from REST. That would make it easier for me to integrate real time features into all parts of the site. Would this make it more difficult to build applications or mobile clients?

I found that some people are already doing stuff like this: SocketStream

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T01:09:15+00:00Added an answer on May 24, 2026 at 1:09 am

    Not to say that the other answers here don’t have merit, they make some good points. But I’m going to go against the general consensus and agree with you that moving to websockets for more than just realtime features is very appealing.

    I am seriously considering moving my app from a RESTful architecture to more of an RPC style via websockets. This is not a “toy app”, and I’m not talking about only realtime features, so I do have reservations. But I see many benefits in going this route and feel it could turn out to be an exceptional solution.

    My plan is to use DNode, SocketIO, and Backbone. With these tools, my Backbone models and collections can be passed around from/to client and server by simply calling a functions RPC-style. No more managing REST endpoints, serializing/deserializing objects, and so forth. I haven’t worked with socketstream yet, but it looks worth checking out.

    I still have a long way to go before I can definitively say this is a good solution, and I’m sure it isn’t the best solution for every application, but I’m convinced that this combination would be exceptionally powerful. I admit that there are some drawbacks, such as losing the ability to cache resources. But I have a feeling the advantages will outweigh them.

    I’d be interested in following your progress exploring this type of solution. If you have any github experiments, please point me at them. I don’t have any yet, but hope to soon.

    Below is a list of to-read-later links that I’ve been collecting. I can’t vouch that they are all worthwhile, as I’ve only skimmed many of them. But hopefully some will help.


    Great tutorial on using Socket.IO with Express. It exposes express sessions to socket.io and discusses how to have different rooms for each authenticated user.

    • http://www.danielbaulig.de/socket-ioexpress/

    Tutorial on node.js/socket.io/backbone.js/express/connect/jade/redis with authentication, Joyent hosting, etc:

    • http://fzysqr.com/2011/02/28/nodechat-js-using-node-js-backbone-js-socket-io-and-redis-to-make-a-real-time-chat-app/
    • http://fzysqr.com/2011/03/27/nodechat-js-continued-authentication-profiles-ponies-and-a-meaner-socket-io/

    Tutorial on using Pusher with Backbone.js (using Rails):

    • http://blog.pusher.com/2011/6/21/backbone-js-now-realtime-with-pusher

    Build application with backbone.js on the client and node.js with express, socket.io, dnode on the server.

    • http://andyet.net/blog/2011/feb/15/re-using-backbonejs-models-on-the-server-with-node/
    • http://addyosmani.com/blog/building-spas-jquerys-best-friends/
    • http://fzysqr.com/2011/02/28/nodechat-js-using-node-js-backbone-js-socket-io-and-redis-to-make-a-real-time-chat-app/
    • http://fzysqr.com/2011/03/27/nodechat-js-continued-authentication-profiles-ponies-and-a-meaner-socket-io/

    Using Backbone with DNode:

    • http://quickleft.com/blog/backbone-without-ajax-part-ii
    • http://quickleft.com/blog/backbone-without-ajax-part-1
    • http://sorensen.posterous.com/introducing-backbone-redis
    • https://github.com/cowboyrushforth/minespotter
    • http://amir.unoc.net/how-to-share-backbonejs-models-with-nodejs
    • http://hackerne.ws/item?id=2222935
    • http://substack.net/posts/24ab8c
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a setup project whose primary output is from a Winforms based application.
In my WPF application I have a CheckBox whose IsChecked value is bound to
I have a C# Windows Forms application, whose prototype was created on SQL Server
In a VB6 application, I have a Dictionary whose keys are String s and
We have an application whose virtual memory rises and keep going for over a
On an embedded platform (with no swap partition), I have an application whose main
I have a Java application whose UI relies heavily on audio. On Windows and
I have a Zend Framework application whose sole purpose is to serve as an
i have a MVC application that works fine; but now i need to put
I have created one function whose purpose is to add data to database (I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.