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

IndianGrad

Junior Member
Joined
May 13, 2011
Messages
156
Reaction score
31
Hi

I have to select which one amongst (C# + ASP.NET) vs PHP I would be using in future. What do you guys suggest?

My tasks are not design/graphics oriented but more of logic/scraping/api etc. oriented, if that helps.
 
I like asp.net. Visual Studio is nice. If you know vb.net or c# you can easily create web apps or windows form apps depending on what kind of software you're developing. I work mainly in windows and on windows server so that's just my preference.
 
I like asp.net. Visual Studio is nice. If you know vb.net or c# you can easily create web apps or windows form apps depending on what kind of software you're developing. I work mainly in windows and on windows server so that's just my preference.


My tasks are mostly going to be web oriented projects and not desktop applications.
 
I'm wondering this too, asp.net is great because of c# support and AMAZING tool for developing apps (Visual Studio), but there are more php coders and sites out there.
 
I'm wondering this too, asp.net is great because of c# support and AMAZING tool for developing apps (Visual Studio), but there are more php coders and sites out there.

I feel the same. I have some exposure of ASP.NET and none of PHP but when I see around, I find that most websites are in PHP, most coders for PHP and many apis.
So that just puts me in question!
 
look dear everything have its own pros & cons, PHP also have MVC and framworks, it basically depends what you want to make,

so please first decide what you want to make, then consult with some software engineer, i can also help you in it,

Regards
 
Agreed with @http://www.blackhatworld.com/blackhat-seo/members/36332-embalzon.html
 
look dear everything have its own pros & cons, PHP also have MVC and framworks, it basically depends what you want to make,

so please first decide what you want to make, then consult with some software engineer, i can also help you in it,

Regards

As I had previously said, most of my requirements rotate around web development including scraping of data, using apis etc.

I don't do desktop application development or graphics/designing etc.
 
Hi

I have to select which one amongst (C# + ASP.NET) vs PHP I would be using in future. What do you guys suggest?

My tasks are not design/graphics oriented but more of logic/scraping/api etc. oriented, if that helps.

If you want to work for clients look at the OS they use.

Most small businesses are on linux servers because they are cheaper, that requires PHP.
 
Speaking of which, if I want to automate stuff like angela links, would VB work for that? Or C? I have a background in php and perl, but I'm lost in this .NET world.
 
From my experience, PHP would probably be the better choice for just web application development. .NET is pretty powerful, but as other posters have said, there are many more php programmers around, and a large amount of the web is built on php now, including the apis to go with that.

Another thing to consider, you might want to bring on a freelancer from time to time to get something out quickly or pickup where your skills leave off. You can pretty much throw a rock in any direction and hit a competent php developer in most places.

Another language that is gaining lots of momentum is Ruby, there are already a considerable amount of incredible web-apps built on ruby.

Also, from my experience, ruby isn't too hard to get into, php isn't great because there is a TON of resources to pull advice from on the web and in local communities (almost every major city has a PHP user group meet up, most have a Ruby meet up) .net stuff isn't quite as accessible.

Just like most of lifes questions, php vs .net, at the end of the day, the best answer anyone can truthfully give you is "it depends"

Happy Coding
 
From my experience, PHP would probably be the better choice for just web application development. .NET is pretty powerful, but as other posters have said, there are many more php programmers around, and a large amount of the web is built on php now, including the apis to go with that.

Another thing to consider, you might want to bring on a freelancer from time to time to get something out quickly or pickup where your skills leave off. You can pretty much throw a rock in any direction and hit a competent php developer in most places.

Another language that is gaining lots of momentum is Ruby, there are already a considerable amount of incredible web-apps built on ruby.

Also, from my experience, ruby isn't too hard to get into, php isn't great because there is a TON of resources to pull advice from on the web and in local communities (almost every major city has a PHP user group meet up, most have a Ruby meet up) .net stuff isn't quite as accessible.

Just like most of lifes questions, php vs .net, at the end of the day, the best answer anyone can truthfully give you is "it depends"

Happy Coding

Makes lot of sense. Thanks :)
 
PHP is a pretty easy language to grasp. If it's one of your firsts, I recommend learning some of it as it will help understanding other languages. It has a BIG load of functions that make things that are usually tiresome easier.

Also, what they said: there are hundreds of examples of codes you can learn and use with.
 
PHP is a pretty easy language to grasp. If it's one of your firsts, I recommend learning some of it as it will help understanding other languages. It has a BIG load of functions that make things that are usually tiresome easier.

Also, what they said: there are hundreds of examples of codes you can learn and use with.

True.

I actually already know c,c++,java(only core,not web), a bit of PERL

Also, a bit of c# and ASP.NET.

But none of PHP.

So, as you can see from the above, on account of my previous knowledge, I'm bit inclined towards c# and ASP.NET but wanted to decide if I should get into php right now itself since later on, learning becomes a bit difficult when you're already earning :P

I guess I'll give php a go sometime soon. Hope it is similar to some of the other languages I know of!
 
True.

I actually already know c,c++,java(only core,not web), a bit of PERL

Also, a bit of c# and ASP.NET.

But none of PHP.

So, as you can see from the above, on account of my previous knowledge, I'm bit inclined towards c# and ASP.NET but wanted to decide if I should get into php right now itself since later on, learning becomes a bit difficult when you're already earning :P

I guess I'll give php a go sometime soon. Hope it is similar to some of the other languages I know of!

If you know C, or C++, you don't have much to learn about PHP. Heck, I didn't even know what an int was when I started with PHP. There's only left those things that apply to webapps, that you would probably have to learn with ASP anyway.

You won't lose anything by learning any of those 2, though.
 
I love ASP.NET, but it can be cost prohibitive depending on what you want to do. ASP.NET is more often used in corporate environments, whereas LAMP is the "poor man's" way to do web development. Quality Windows hosting is more expensive than Linux hosting, and if you're going to be in a shared hosting environment, there will be limits to what you can do with your ASP.NET applications. To take advantage of the most powerful features of ASP.NET and SQL Server, you need a VPS at the very least, and preferably a dedicated server where you have full control of IIS, SQL Server, etc.
 
Just look around, most common platform around is LAMP and PHP is reputable part of it, Wordpress, OScommerce, most stable CMS, even Facebook build upon LAMP. Choice of language depends on the platform that you going to use, PHP is not native for windoz environment and vise-verse, asp isn't native for linux-apache.
 
It would be best to learn all of them. It is not that difficult to pick up more programming languages after you've 'mastered' one.

By knowing everything you guarantee that you are capable of picking up any job that your client comes along. Also, you'll be able to use many awesome frameworks that may be available for a language and not for another.

The programming aspect always depends on the particular project you're working on. There is no definite answer. However, despite that said, I prefer PHP with Codeigniter.

It is a light framework that is opensource, has good functions and very customizable if you prefer to build things from scratch...

Hope this helps.
 
Back
Top