A
A
avikik2017-11-23 06:59:51
PHP
avikik, 2017-11-23 06:59:51

What is better to choose for asp.net or php?

Good day to all!
I have such a problem. Now I'm on the path of choosing two platforms for my learning.
From the baggage of knowledge, there is good knowledge in C # (theory). And it so happened that I want to start doing the web. At first, I began to figure out what is now popular and choose. As a result, I came to 2 platforms
1) Asp.net mvc
2) Php
The first platform was chosen, according to the parameters that the internal part is written in C # itself, with which I have already worked. Yes, and they wrote that she seemed to be not too bad for hacking. But the very small number of lessons and projects that can be viewed is very scary.
The second platform was chosen because it has a lot of lessons and projects that you can feel. Yes, and it seems like updates often come out. But at the same time, they wrote on Habré that it is quite susceptible to hacking.
I ask the help of knowledgeable people in the council, in which direction to step.
I'm still an oiler on the web and could mess up something even higher than what was written.
Thank you for your attention!)

Answer the question

In order to leave comments, you need to log in

4 answer(s)
V
V Sh., 2017-11-23
@JuniorNoobie

Well, yes, not quite the correct comparison. MVC is a whole system that implements an architectural pattern. In addition to the main language in which the platform is written (C#), there are many more things to learn: models, views, controllers, ORM, routing, accepted conventions. Also, knowledge of "applied" things will not interfere: IIS, .NET, Visual Studio, database (Oracle, MS SQL, etc)
And I do not agree that there is little literature on ASP.NET MVC. She's full. There are even good Russian-language resources such as Professorweb and metanit .

I
Ilya, 2017-11-23
@rpsv

You are comparing incorrectly:
End applications / frameworks and servers are subject to hacking, and not the language itself in which you develop.
If both of these platforms-languages ​​are equal for you (and you really monitored the market), then feel free to take what you like best.
And it is better to take not naked PHP, but along with some kind of framework.
Read more here .

E
Eugene Volf, 2017-11-23
@Wolfnsex

The first platform was chosen due to the fact that the internal part is written in C# itself, with which I have already worked.
I'll tell you a story about myself in a nutshell: I worked as a sis. admin and system programmer (assembler, C++), went to the web N-tsat years ago, when there were still DialUp modems... knew them...
Yes, and they wrote that she seemed to be not too bad for hacking.
Those who make such inferences have dry thoughts. The days of PHP-3 are long gone, and some still won't calm down...
And so, once again, programs are full of holes , not languages.
But the very small number of lessons and projects that can be viewed is very scary.
This is due to the fact that outside of the corporate environment, very few people are interested in leaky windows (with not too leaky ASP, as we found out earlier) :)))
The second platform was chosen because it has a lot of lessons and projects that you can feel.
Believe me, when you can "probe projects" - lessons will no longer be needed ...
Yes, and it seems like updates often come out.
I won't comment on it...
But at the same time, they wrote on Habré that it is quite susceptible to hacking.
And this too (I will not comment) :)))
I ask the help of knowledgeable people in the council, in which direction to step.
ASP.NET / .NET / C# / Windows is a much loved enterprise ecosystem. But, I must say, those who are really ardently fond of it are those who are generally not familiar with other systems or almost not familiar ... In other words, decide why you want to study all this, in which country and where (freelance, company, etc.) to work? If exclusively in / in the USA or countries close to them, you can safely choose the Windows stack and go into battle, because this system, for obvious reasons, is almost in the state. subsidies sits. And if you are going to work in any (or any other) part of the world, choose any OpenSource stack, incl. PHP, Python, Ruby and so on (in your case, this would be PHP).
Why? By the fact that:
1. ASP.NET / .NET / C# - has a very indirect relation to OpenSource
2. All these developments and developments belong to one , large commercial , foreign company, with all the consequences
TV and who learns about watered news at the moment when even in a local bar "it" becomes the topic of the day.
And then ... it's up to you to decide :)

A
Anton Mashletov, 2017-11-23
@mashletov

to hack

Forget it. They say so about PHP because it is a pop language and there are a lot of coders writing crooked parts in it, and not because PHP itself is full of holes. Your first apps won't be any better no matter what language you choose.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question