A
A
ALMAZNO2013-12-25 01:09:09
PHP
ALMAZNO, 2013-12-25 01:09:09

Which language to choose for creating sites?

Greetings, a question arose about the choice of language for developing sites, namely, more complex ones than business cards. For example, the goal was to develop a bulletin board.
Knowledge in:
HTML/HTML5
CSS/CSS3
JavaScript/JQuery - basics
Initially, my choice fell on PHP, but when I started looking for tips to get started in this business, I saw a lot of negativity regarding this language. Even here on the Toaster, there are a lot of comments like "You shouldn't even start", "Waste your time and nerves" or "Better start with Java or C#".
So I had a question, specifically for creating websites, which language should I choose to learn, on the eve of 2014, which choice will be justified.
Thank you for your attention.

Answer the question

In order to leave comments, you need to log in

12 answer(s)
N
Nazar Mokrinsky, 2013-12-25
@nazarpc

There is also a lot of information on the Internet about older versions of PHP.
The current versions 5.4 and 5.5 are very good.
There are weaknesses in any language, the main thing is to be able to use the strengths.
PHP is a fairly mature language in which you can write high-quality and modern sites.

E
Evgeny Skuridin, 2013-12-25
@skuridin

PHP is not as bad as they say. And the choice of CMS on it is great.
Do you want amenities, ready-made solutions, whistles and lotions? - Ruby.
Do you want to be ahead of the rest? - Node.js

A
anitspam, 2013-12-25
@anitspam

If between the lines in your question is "Will I be able to buy bread and butter after 5 years of working with PHP?", then the answer is yes, you can.
If between the lines in your question is "Will I be able to get more money with PHP in 5 years than with Java and C #?", then the answer is more likely no than yes.
As for the rest, it all depends on you. And in 10 years, as a professional programmer, you will not care what to write on.
I would now delve into javascript for the client side - and you will have a job, and you will be at the peak of technology :)

L
link0802, 2013-12-25
@link0802

What matters is your approach. If you look up to high-quality code and are not lazy, php will be convenient and beautiful.
Although if you are just starting to learn programming, pascal / delphi, c ++ will be a great start (although these are not web-oriented languages.). But that's just my priority, which at the present time is sometimes considered quite controversial.
And so @skuridin already said everything).

O
OnYourLips, 2013-12-25
@OnYourLips

Depends on what you expect.
If you want satisfaction from the programming process (without perversions) - don't touch PHP.
If you want a stable income and many jobs, PHP is a great choice.

C
Crash, 2014-01-12
@Bandicoot

PHP.
Lowest threshold of entry
Easier to find a job/part-time job
Easier to place a project on a hosting
A lot of ready-made solutions, practically no need to reinvent the wheel
Huge community
As for the negativity towards this language, the quality of the code primarily depends on the developer himself.

D
Dmitry Kireev, 2013-12-25
@AutomationD

In fact, the realities in Russia are such that the easiest way to start is with php - low entry threshold, wide community, 98% of shared hosts support it. And if you think about the future - there will be work =) If you have the luxury of choosing technologies regardless of the financial part (number of clients) - go towards ruby, nodejs. It's really cool and nice, really :)

A
Alexander, 2013-12-25
@kryoz

Recently, a friend also began to ask me about choosing php or something else for sites. After thinking, I came to the conclusion that, by and large, there are several main criteria for comparison:
1) The programming paradigm is synchronous / asynchronous.
2) The number of ready-made solutions (gems, composer, etc.).
3) Support of the language by the community and maintainers.
4) Conciseness of syntax.
5) Ease of refactoring.
If we consider php, then:
1) the synchronous paradigm, although there are attempts to make some things asynchronous, such as phpDaemon projects or for example mysqlnd calls;
2) Packagist today has already accumulated quite a lot of ready-made packages so as not to reinvent the wheel + mature frameworks everywhere;
3) the language has existed for more than 10 years, and the rate of development over the past 3 years has increased by an order of magnitude;
4) not everything is smooth with conciseness, there is excessive verbosity, but there are worse languages ​​in this regard, such as Objective-C
5) quite tolerable refactoring, in this respect, ruby ​​should be worse, since it is more "dynamic", but Java head and shoulders above due to static typing.
In general, the outflow of people from PHP in the last 5 years is mainly due to the fact that worthy alternatives have appeared + there was a very sluggish development of the language and a large number of projects with legacy code.

L
lnked, 2013-12-25
@lnked

if you know javascript look towards nodejs

N
Nikolai Vasilchuk, 2013-12-25
@Anonym

I would start with Java. It's still more of an enterprise, there are higher salaries, and the scope is not limited to websites.

S
saaivs, 2013-12-25
@saaivs

As another alternative, I suggest PlayFramework v2.
It is better to choose Scala as the language.
Play is quite young, but its creators managed to absorb some of the best industry practices in recent years (ideologically, a lot from ASP.NET MVC, Ruby, Spring MVC)

F
fenric, 2014-01-12
@fenric

Everyone advises what is closer to him, choose what you like best. I strongly doubt that someone's comment here will be decisive in your choice. I can only say one thing, do you want to always have a job (or employees)? then php, especially if you do not live in a city of a millionaire.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question