Answer the question
In order to leave comments, you need to log in
Help me choose a programming language for creating an Internet server
Good day, I have a problem and I need advice on choosing a programming language to solve it.
The main components of the program:
1. The server that will listen on the Internet port
2. The protocol may (most likely) be different from http. Microcontrollers will be connected to the server through base stations
3. Simple authorization
4. AES encryption
5. Light-medium load
6. Data will be received, as well as given
7. Data storage in the database.
I was thinking of choosing node.js or php, but would like to clarify what can go wrong in implementing these components using one of those languages.
Answer the question
In order to leave comments, you need to log in
I do the same thing as you: I'm talking about microcontrollers and connecting via GSM. The server part is made in Java, and the part for working with microcontrollers is written using the netty library.
Do it in php, you already seem to know it, you shouldn’t work out on projects with new languages, it’s best to learn new languages when there is at least one who knows him well in the team. Otherwise, there is a chance to go into the cesspool out of ignorance, you won’t go far on the manuals. node.js is a good thing, but there the principle is completely opposite from what people are used to seeing in PHP (and similar linear languages), there is a chance to do something that you won’t be able to gift.
In fact, any language will do for your task.
Rails, Sinatra (I'm not a Ruby expert, I think you can still do something)
Django, Twisted, ...
Node.JS
Play
Yii, Zend, Symfony (we can continue indefinitely)
Personally, I would use the language / framework that I know best .
Now I plan to implement the server part of the project myself, I look towards erlang - I read the manuals intensively.
I think Node.js is best for you if the project is small and Ruby if there is a lot of code.
There is a web server on D: habrahabr.ru/post/142964/
A very interesting language, in my opinion.
If the protocol is custom, then you can also look at Netty (Java). But the barrier to entry is quite high. But this is if you need a load "up to medium".
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question