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 7837045
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T14:26:36+00:00 2026-06-02T14:26:36+00:00

There are tons of socket.io how to’s to create the simplest chat room but

  • 0

There are tons of socket.io “how to’s” to create the simplest chat room but I found nothing showing how to use it for a more advanced one.

I have created from scratch a chat system (using php/mysql/ajax) with these characteristics:

  • advanced members management (login, avatars, personal info, stored pseudo for exclusive use etc..)
  • users can join an existing chatroom or create a new one
  • possibility to create private rooms within each public chatroom to talk privately with anyone
  • possibility to administrate and moderate each chatroom by banishing a member according to his pseudo and/or IP address, delete a specific message among others
  • etc…

The problem is that the system I created is not very scalable as it is using short polling techniques which threaten to crash the server if I have too many users online.
Apparently, using socket.io will fix that problem but it implies to use javascript from a to Z on both the server and client side (I’m not a javascript developper, just a javascript user).

I have no problem in learning new things but the tons of tutorials on the web showing you how to use socket.io for a chat are limited to very minimalist one’s (connect, write, read, that’s all) which is fine for a start but not very useful for a more ambitious project.

It also seams that, with socket.io, the database is out of the picture but how to rethink your system accordingly (store the user and his personal info permanently, retrieve messages history, filtering among all the previous messages, showing the 15 previous messages when a user connects himself, going back and forth from a private room to the main public one while still having access to all the previous messages you expected to on each room, etc…).
Whithout a database, I can’t figure out, even on paper, how to achieve all of this and I didn’t find anything about this anywhere.

I don’t expect to find an existing soket.io version of my php advanced chatroom and that’s not what I’m looking for. I’m looking for comprehensive tutorials (free or not) giving me all the background required to create a system with the above mentionned functionalities using socket.io.

I’ve search the net for two days and I still don’t know how to go beyond the simplest chat system. I know how to write something and push it to all users browsers for them to read it. It’s neat but now what?

Any references or advices?

Thank you (and sorry for my poor english).

PS: I tried to use “socket.io” and “tutorials” tags but even if they exist, for whatever reason, I’m not allowed to use them…

  • 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-06-02T14:26:37+00:00Added an answer on June 2, 2026 at 2:26 pm

    If you need an advanced tutorial on Node based chat. Check this:

    Nodechat.js continued – authentication, profiles, ponies, and a meaner socket.io

    It is Node.js and Socket.Js built on BackBone.Js.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

There are tons of info on the subject but nothing i saw gave me
There are tons of books, tutorials, examples that explain how to create your more
There are tons of good date pickers out there for Windows forms, but I
I know there are tons of threads regarding this issue but I have not
I know there are tons of questions about paperclip, but I failed to find
There are tons of codes that sort an array of strings lexicographically but I
I am making an accordion FAQ. There are tons of scripts online, but I
I have searched everywhere, and there is tons of documentation, but is is all
I know how to use a fancy boxes and I know there are tons
There are tons of questions about this topic, but I have a slightly altered

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.