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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T06:33:47+00:00 2026-06-06T06:33:47+00:00

I want to write a simple chat application (for test use). The users and

  • 0

I want to write a simple chat application (for test use).

The users and messages are getting persisted in MongoDB, the session are getting stored with Redis.

The PHP (Symfony2) is providing authentication, registration, passwort reset, etc. and serves the public site (like /, /contact, etc.).

When the user has logged it has controll to the chat application. Backbone.js handles the application and node.js provides the data through rest (or socket.io).

Should I use either PHP and Node sidebyside or should I only use node?

The pro of only using node would be that there are no port collisions the contra is that the node app gets quite big and not so readable (IMHO: cmf, registration, authorisation, email handling would be easier to do with symfony than node)

  • 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-06T06:33:48+00:00Added an answer on June 6, 2026 at 6:33 am

    It totally makes sense to keep your web application logic in PHP. That’s what PHP is good at, and porting it to node.js code would probably be a wasteful and painful experience.

    Node on the other hand is good at networking and serving long-running connections, such as WebSockets (socket.io, SockJS, etc.). So having a chat server using that also makes sense.

    I suggest you use both, since each one of them solves a specific problem that it’s good at. You can easily connect them using some kind of message queue.

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

Sidebar

Related Questions

I want to write simple application in C++ using ctime library. I'm getting the
I want to write a simple c# application runs on windows mobile 6 which
I want to write a simple C# console application to change the current directory
I want to write simple application with some 3D objects for Windows OS. The
Lets say I want to write an AJAX chat box, just something simple, I
I want the write a simple application, that input some strings, and do something
I want to write a simple chat-client in Ruby for the terminal. The Problem
I want to write a simple P2P test app which uses HTTP as underlying
I want to write a simple automated test to determine if a .ts video
I want to write simple script to copy/backup directory then remove on server startup.

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.