Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
In my projects, I do this:
We write the application on cordova on html5 (it immediately turns out to be cross-platform)
We deliver the message via web sockets
On the server, we use the php + mysql bundle for the application logic and CppComet for message delivery
As a result, it turns out that all this requires a minimum of work and a minimum of knowledge, but the output will be a web version and a mobile application for both platforms.
Here is a minimal example of a chat that can be rolled up inside a cordova application in 15 minutes.
And the performance is normal, since the most important part of the message delivery in C ++ is implemented, and at the same time you do not spend a lot of your time writing the business logic of the application on something more complicated than javascript and php.
This approach works especially well in freelancing, where not many customers have the budget to pay for several months of work for a team of programmers who will write native applications for each of the platforms.
The most important technology to know: Google Search.
The best projects in the world are built on the basis of this technology.
The server is written in Erlang, the client in Haskell. Third-party libraries are not needed, everything you need is out of the box. For a beginner, that's it. The Internet is full of literature.
Instead of piling up the next collective farms, it's easier to take XMPP \ IRC. Libraries are generally available for any language, everything is as concise as possible and run in for decades. In the case of xmpp, there are an incredible amount of xeps for any occasion.
on the server, you can build nginx with the nginx-push-stream-module module and implement long-polling
conveniently if you write server logic in php
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question