ASP.NET vs. PHP

Which is better in your opinion?

Page 1 of 1

10 Replies - 10160 Views - Last Post: 06 March 2010 - 12:20 PM

Poll: ASP.NET vs. PHP (10 member(s) have cast votes)

Does ASP.NET have cleaner (readable) code than PHP?

  1. Yes (4 votes [40.00%] - View)

    Percentage of vote: 40.00%

  2. No (6 votes [60.00%] - View)

    Percentage of vote: 60.00%

Is ASP.NET more powerful (functional) than PHP?

  1. Yes (2 votes [20.00%] - View)

    Percentage of vote: 20.00%

  2. No (8 votes [80.00%] - View)

    Percentage of vote: 80.00%

Do you like ASP.NET or PHP better?

  1. ASP.NET (2 votes [20.00%] - View)

    Percentage of vote: 20.00%

  2. PHP (8 votes [80.00%] - View)

    Percentage of vote: 80.00%

  3. Either (0 votes [0.00%])

    Percentage of vote: 0.00%

Is ASP.NET easier to code in than PHP?

  1. Yes (4 votes [40.00%] - View)

    Percentage of vote: 40.00%

  2. No (6 votes [60.00%] - View)

    Percentage of vote: 60.00%

Vote Guests cannot vote

#1 nemosis  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 67
  • Joined: 24-June 09

ASP.NET vs. PHP

Posted 05 March 2010 - 03:23 PM

ASP.NET
(Active Server Pages)
[http://www.asp.net/]
Is a framework that allows the creation of dynamic webpages, and can use different languages such as: C#, J#, and VB.

PHP
(Hypertext Preprocessor)
[http://php.net/]
A scripting language that can be embedded in HTML, and you may build it from source code. PHP is similar to C, which it was built from.

I personally like PHP better, because the code seems cleaner, there are curly braces to specify a block of code instead of (end if OR next OR loop), and it's fairly simple to learn. (whereas I have to install silverlight to watch tutorials about how to use ASP.NET [from the asp.net webpage]) I also like being able to use my own Javascript in my own webpages, but ASP.NET makes it very easy to control inputs for forms.

What do you think?

This post has been edited by nemosis: 05 March 2010 - 03:23 PM


Is This A Good Question/Topic? 0
  • +

Replies To: ASP.NET vs. PHP

#2 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1638
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: ASP.NET vs. PHP

Posted 05 March 2010 - 03:42 PM

There is no better technology, they both have their merits, uses and shortcomings, it all depends on what you're needing to do and how you chose to go about it.
Was This Post Helpful? 1
  • +
  • -

#3 raziel_  Icon User is offline

  • Like a lollipop
  • member icon

Reputation: 464
  • View blog
  • Posts: 4,255
  • Joined: 25-March 09

Re: ASP.NET vs. PHP

Posted 05 March 2010 - 04:30 PM

or
ASP.NET vs PHP
Was This Post Helpful? 0
  • +
  • -

#4 Kein  Icon User is offline

  • New D.I.C Head

Reputation: 10
  • View blog
  • Posts: 36
  • Joined: 04-March 10

Re: ASP.NET vs. PHP

Posted 05 March 2010 - 04:31 PM

codeing in asp for about 2 years, its kinda ok, but still php's my best friend, whenever i need something, php is there for me.
Was This Post Helpful? 0
  • +
  • -

#5 programble  Icon User is offline

  • (cons :dic :head)

Reputation: 49
  • View blog
  • Posts: 1,315
  • Joined: 21-February 09

Re: ASP.NET vs. PHP

Posted 05 March 2010 - 07:22 PM

View PostNoBrain, on 05 March 2010 - 05:30 PM, said:


LOL who uses IIS
Was This Post Helpful? -3
  • +
  • -

#6 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1638
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: ASP.NET vs. PHP

Posted 05 March 2010 - 09:55 PM

View Postprogramble, on 05 March 2010 - 05:22 PM, said:

LOL who uses IIS


Lots of companies: NewEgg, DotNetNuke, ASPnix (hosting company) and many others.
Was This Post Helpful? 0
  • +
  • -

#7 programble  Icon User is offline

  • (cons :dic :head)

Reputation: 49
  • View blog
  • Posts: 1,315
  • Joined: 21-February 09

Re: ASP.NET vs. PHP

Posted 05 March 2010 - 10:29 PM

Right...
Was This Post Helpful? 0
  • +
  • -

#8 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1638
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: ASP.NET vs. PHP

Posted 05 March 2010 - 10:34 PM

Right what? If you don't know something is it your initial reaction to ridicule them? If you were to do some research you would see those companies use Windows Server (which utilizes IIS) for their web presence. I know NewEgg is hosted on Windows Server 2008 which uses IIS7 and ASPnix (who hosts over 6500 domains, 9 for me) uses Windows Server 2008 and IIS7 and even Microsoft hosts on Windows Server with IIS.

And in case you're wondering NewEgg & Microsoft are pretty damn large companies. Another large programming community that uses IIS is CodeProject.com so as you can see large companies do in fact use IIS
Was This Post Helpful? 0
  • +
  • -

#9 nemosis  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 67
  • Joined: 24-June 09

Re: ASP.NET vs. PHP

Posted 06 March 2010 - 04:56 AM

Yes there are companies that use IIS, and I don't blame them.
The video was pretty funny. :P
People would use IIS if they wanted to run ASP and PHP. Which might be ideal in certain situations.

There are companies/organizations that use IIS listed here: http://www.asp.net/get-started/

I'm just asking for your opinions. That's all...
I'm just curious what other people think of the codes.

Do you prefer C style over VB/J#/C#?
That's really the bottom line.

Someone could imitate what ASP.NET does with javascript and ajax.
PHP is limited to your coding ability, and what the server you're hosting it on allows you to do.
ASP.NET seems like it's more secure, but PHP does have a "safemode" option.
ASP.NET has a lot of objects that a person can do.

I haven't found anything that I wanted to script that PHP can't do.
Was This Post Helpful? 0
  • +
  • -

#10 raziel_  Icon User is offline

  • Like a lollipop
  • member icon

Reputation: 464
  • View blog
  • Posts: 4,255
  • Joined: 25-March 09

Re: ASP.NET vs. PHP

Posted 06 March 2010 - 05:36 AM

dont get me wrong i dont understand a thing of web deployment but if you need to use PHP and ASP.NET together IIS7 is the way i guess.
Another Funny Video on that theme
Was This Post Helpful? 0
  • +
  • -

#11 AdaHacker  Icon User is offline

  • Resident Curmudgeon

Reputation: 452
  • View blog
  • Posts: 811
  • Joined: 17-June 08

Re: ASP.NET vs. PHP

Posted 06 March 2010 - 12:20 PM

View Postnemosis, on 06 March 2010 - 05:56 AM, said:

ASP.NET seems like it's more secure, but PHP does have a "safemode" option.

I don't think you quite understand what you're saying there. You claim to like PHP, yet you bring up safe_mode, which is itself one of the best arguments against PHP.

Safe mode exemplifies everything that's wrong with PHP. For starters, it isn't even a real security feature - it's a cheap hack for sysadmins who are too lazy or ignorant to secure their servers properly. It really only applies to shared hosting environments, and it's only relevant if the host has not properly isolated user accounts from each other. In all other cases, it's nothing but an impediment to developers. And if that wasn't enough, the implementation isn't even reliable. By my count, roughly two-thirds of the releases in the PHP 5 series contain safe_mode fixes. What kind of "security" feature needs fixing every other release? It certainly doesn't make you "safe" in any meaningful sense, and it doesn't even pretend to address the most common security issues in web applications. The entire thing was ill-conceived and never should have been added in the first place.

On the up side, safe_mode was deprecated in PHP 5.3 and will be removed in PHP 6. If only they'd done that years ago....
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1