I
I
Igor Bezlepkin2018-09-19 17:55:24
JavaScript
Igor Bezlepkin, 2018-09-19 17:55:24

What to use for corporate messenger Socket or SSE?

Hey! I am making a small mobile application for an internal corporate messenger, the functionality is the same as in classic WhatsApp and telegrams.
Vue stack + F7 + Cordova, PHP server + NodeJs.
What is better to use to send from the server to the client:

From the client to the server just AJAX and back SSE, Longpoll, Socket?

It's just the first time I'm encountering this.

Or on the screen of the chat itself sockets, and on other SSE to receive message notifications, and in the background push notifications?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
A
AlexxOrlovv, 2018-09-19
@AlexxOrlovv

The question is how much do you want to mess with it. The cart, for example, has a Delivery service. Which can work as TCP\UDP Socket or HTTP client. They also have their own protocol on ProtocolBuffers.
I do not quite understand why you need php? If you are already using node. For a good start, try to do it on sockets.

S
Sergey Savostin, 2015-04-18
@entermix

smsc.ru - 3 years, "not a single break"

R
Radmir, 2015-04-18
@RadmirZ

www.epochtasms.ru - they do everything normally, but for an alphanumeric signature you need to send a letter every time.

X
xmoonlight, 2015-04-18
@xmoonlight

SMS Pilot

D
Dmitry Solomakin, 2015-04-20
@solomakin

SMSINTEL - we have been using it for a year. They have a lot of features and ready-made integrations with many services. Even a built-in mechanism for coupon promotions. Recommend

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question