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

  • Home
  • SEARCH
  • 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 8561323
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T16:28:39+00:00 2026-06-11T16:28:39+00:00

I am working on a project that’s developed with the CodeIgniter framework. My project

  • 0

I am working on a project that’s developed with the CodeIgniter framework. My project has a lot of user interaction like posts, comments, and other notifications that should be live.

I have tried by now to get those notifications in two ways:

1. I’ve tried to build a sort of data pull system with AJAX but in my opinion this was making lots of bandwidth waste on my server

2. I’ve set up a node.js with socket.io server, that only listens for some socket events and pushes the notifications back to the user. For example, when a comment is added, instead having a function that pulls all the new comments from 5 to 5 seconds, I’m having a socket.emit(); that pushes the comment information to node.js and node.js pushes the notification to all connected sockets.

I am not sure if node.js + PHP is a good job ( but, what I’ve learnt so far is that node.js is good for long polling and less resource costs ).

Witch architecture would you consider is better?

  • 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-11T16:28:40+00:00Added an answer on June 11, 2026 at 4:28 pm

    Use Node.js with Socket.IO to get any live data to your clients.

    Yes, you can use this in conjunction with your CodeIgniter-based site… outputting dynamic pages and getting data client-side don’t have to have anything to do with each other.

    The issue you had with Socket.IO wasn’t with Socket.IO itself… it’s with how you built your application. Emit messages as you need to. If you need an initial emit with 5 comments upon connect, do that.

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

Sidebar

Related Questions

I am working on a project that already has begun being developed. ON some
I'm currently working a project that has me working with XML a lot. I
Im working on a project that has an implementation of JOSSO in place. We
I'm working on a project that has two modules: a web and an application
i am working on a project that has an object called Vector2 public static
I'm working on a project that needs XSLT on a variety of Compact Framework
I'm working a project that has recurring, weekly events. Thus, I use several DateTime
I'm working on a project that involves XSLT. And would like to use a
I working on project that displays item according to the location. First time user
Currently working on a project that is being developed in VS2010. I'm running Windows

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.