(C# + ASP.NET) vs PHP - Which one to prefer?

PHP is the right way to go, for web applications.
It is more flexible than other stuff (in my opinion) and super-easy to use.
I did all my Web Frontend programming in PHP and i see no reason, why any other framework should be better.

Also note that PHP has the highest compatibility, both, client- and server side.
ASP.net often needs mono or Windows Servers, which are a bit more expensive.

Since you know C/C++, it might be interesting for you, that you could write your own php extensions/wrappers for your applications.

kind regards,
SICK
 
Yes, I think it is important to note that you can run PHP code on about any Hosting Service, Linux/Windows/BSD, it's also a very widely used language, and like you said the existing code base is gigantic.

I myself prefer Python over two, but in my opinion PHP is also pretty good. But in the end the best choice you can make is choose one of them and just stick to it.

Hoping this helps you, Xooor.
 
Php I think, especially if you're going to be hunting down data.
A fun book to get started with it is WEBBOTS, SPIDERS, AND
SCREEN SCRAPERS by Michael Schrenk
 
Its not one or the other -- learn PHP, then learn c#. I teach PHP to rural workers, and most end up working in c# its real easy to learn that second/third language, so start with a very easy one to learn.
 
My tasks are mostly going to be web oriented projects and not desktop applications.

both languages are pretty ancient and i generally hate them.

atm i would choose between python, node.js and ruby. those are the 3 best languages for webdev. atm imo.

python
-also good for desktop apps
-hardest
-PyPy, an AMAZING JiT compiler
-mechanize, if youre into spam
-django, pylons

ruby
-easiest
-slowest
-english-like syntax
-you are actually having fun while you code
-mechanize, if you're into spam
-amazingly handy regex handling
-rails

node.js - my fav
-cant write desktop apps in it atm, but it will be possible in the future
-easy concurrency (all code that you write will be concurrent by default
-node.io and tobi as an alternative to mechanize
-fastest to write web apps with high level of dynamics and interactivity
-expressjs

if you are into JVM i would also look into clojure and scala

sorry for the offtopic post ;)
 
Last edited:
I'd have to say ASP .NET MVC, absolutely fantastic framework.

+1 I agree as well. With Asp .net not only do you get a great environment to work in (Visual studio and SQL Management Studio), you also get top of the line documentation for EVERYTHING.

I'm not just talking about official MSDN docs either. MS really takes care of any API/Kit they are trying to push so you can always expect hordes of books on their frameworks.

And, MVC is pure web development heaven. There is so much you can do with it while having only basic-intermediate programming knowledge.

Also, MVC projects can be published to GoDaddy easily :)
 
I am a PHP fan because of the Object Oriented part, I am not sure if ASP.NET is the same, I am just like PHP more because I am a C++ coder also.
 
Php is way more popular. In addition, php is more compatible with cheap web linux based host.
 
Back
Top