0

JS with C# or JS with PHP

What option to choose? JS (Vue) with C# (.net) or JS (Vue) with PHP (Symfony)?

27th Jul 2018, 2:52 PM
grzesiekmq
grzesiekmq - avatar
7 Respuestas
+ 2
JS with PHP and Ajax is better. I would advice you not to use ASP.net as it does not have a great performance as a server-side language.
27th Jul 2018, 3:47 PM
Femi
Femi - avatar
+ 2
Oh Sorry For mixing that up that it is not a language
27th Jul 2018, 5:11 PM
Femi
Femi - avatar
+ 1
If you go the C# route you could easily integrate a client side rendering framework by using Asp.net core. Also by using ASP.net core it could run on multiple OSes. You'll also pick up C# too. Personally, I'll say pick up ASP.net core and go from there.
27th Jul 2018, 3:22 PM
Don
Don - avatar
+ 1
Don Am not saying is slow what am trying to say is that in terms of comparision between PHP and ASP.net PHP is a dynamically typed language while ASP.net is a statically typed language which make PHP it more efficient to use. PHP can be used to solve a lot of problems as it has a great scalability while ASP.net is limited. PHP is flexible ASP.net is not EDIT:Mistake ASP. Net web framework
27th Jul 2018, 4:07 PM
Femi
Femi - avatar
+ 1
Yeah Don A statically typed language has a better performance for hardware efficiency while dynamically typed languages have a better performance for programmer efficiency. So I was talking about programmer efficiency between PHP and ASP. Net framework
27th Jul 2018, 5:16 PM
Femi
Femi - avatar
0
Ishola Obafemi Actually the performances on ASP.Net Core (which is the future to ASP.Net) is actually blazing fast. I don't know where you're seeing that it's slow. And a ton of employers are using .Net and .Net Core. It'll be more beneficial to pick that up rather than PHP in my honest opinion. A ton of opportunities comes out of learning C# alone.
27th Jul 2018, 3:52 PM
Don
Don - avatar
0
Ishola Obafemi ASP.Net core is not a language it's a framework. C# is statically typed, and Dynamically typed language are inheritantly slower than statically typed language. I would suggest looking into that. You mixed the two up. The interpreter has much overhead when dealing with dynamic languages due to figure out types at run time and whatnot. With that said. We can conclude that the performance on average is just going to be better (which it is actually). Now say you turned your argument around and said Php speeds up development processes because it's dynamic, then maybe one could argue that all day. To conclude. ASP.Net core is a web framework. Statically typed languages are normally faster than Dynamically typed languages and scale far better due to type checking and all that comes with the environment. In this case Visual studio. Now to the original poster. I still would recommend learning C# and then diving into ASP.Net core.
27th Jul 2018, 4:21 PM
Don
Don - avatar