D
D
Dmitry2012-04-29 03:32:09
PHP
Dmitry, 2012-04-29 03:32:09

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

11 answer(s)
D
DbLogs, 2012-04-30
Smotrov @DsXack

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.

A
Anatoly, 2012-04-29
@taliban

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.

R
RainWarrior, 2012-04-29
@RainWarrior

I also advise you to pay attention to Twisted

S
Sergey Lerg, 2012-04-29
@Lerg

Best of all Python + Twisted. You can also go if you want.

M
Mikhail Osher, 2012-04-29
@miraage

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 .

J
jov, 2012-04-29
@jov

Now I plan to implement the server part of the project myself, I look towards erlang - I read the manuals intensively.

R
relgames, 2012-04-29
@relgames

Python? Or even Java?

N
nill, 2012-04-29
@nill

I think Node.js is best for you if the project is small and Ruby if there is a lot of code.

E
EugeneOZ, 2012-04-29
@EugeneOZ

There is a web server on D: habrahabr.ru/post/142964/
A very interesting language, in my opinion.

G
grossws, 2012-04-29
@grossws

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".

A
ajaxtelamonid, 2012-04-30
@ajaxtelamonid

If you know php - phpdaemon.net

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question