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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T08:14:51+00:00 2026-06-05T08:14:51+00:00

I am impressed of Node.js but have small problems trying to imagine how I

  • 0

I am impressed of Node.js but have small problems trying to imagine how I could combine two different server-side apps.

Example:

Imagine you have some little Facebook clone.
Now it would be a good idea to do let node.js (or express) handle chat function.

Should I know just use node.js for this single task and if I know want to access some chat messages in the main app by PHP than just fetch tha chat message with some orm or odm?
So that only the database is a connector between JavaScript and PHP serverside?

Doesn’t this two world development make things harder?

Regards.

  • 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-05T08:14:52+00:00Added an answer on June 5, 2026 at 8:14 am

    As first approach you can do the following (we have this implemented and works ok):

    1. Php to nodejs comm: implement a ‘handler’ in nodejs to listen for curl petitions launched from php to it.

    2. nodejs to php: use http.get() method in nodejs to call some kind of api in your php application

    Easy and robust 🙂

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

Sidebar

Related Questions

I have been trying out a few index views and am impressed but I
I have never used Perl, but I am really impressed by the ack ,
I'm relatively new to both scala and jodatime, but have been pretty impressed with
I have started using mustache.js and so far I am very impressed. Although two
I've always been impressed by the StackOverflow hive mind, and was hoping you could
I'm a new user to knockout.js and so far have been very impressed with
I've seen this and I have to admit I'm pretty impressed: (source: blogspot.com )
I am enormously impressed with the ease of use of XLWT, but there is
I have started learning Code Igniter and I am very impressed, and have had
I'm pretty new to jQuery... so far I'm impressed. But I encountered a situation

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.