php vs asp

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

m2babaey
Forum Contributor
Posts: 364
Joined: Sun May 20, 2007 9:26 am

php vs asp

Post by m2babaey »

I have heard asp is more powerful that php.
is that correct?
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

No. 'Powerful' is very subjective.
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

Post by Charles256 »

I would say that ASP.NET 2.0 along with web developer may lead to quicker development times than someone using say PHP and Zend. Granted, tha tis sort of like comparing cake and apples. To be fair when using web developer you'd probably have to be using some sort of framework along with PHP to even out the advantage but even then I think web developer would allow slightly quicker development time assuming equal levels of experience. I wouldn't use the word "powerful" though. In my opinion, I am more "powerful" than any language. :-D
m2babaey
Forum Contributor
Posts: 364
Joined: Sun May 20, 2007 9:26 am

Post by m2babaey »

I meant there are sites that can be built by asp but not by php
is that true?
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

You'd certainly have to give an example. The last company I worked for converted all of their ASP pages into PHP.

I think the only things that would even possibly be ASP-exclusive would also be IE-exclusive, which is useless in my opinion.
User avatar
The Phoenix
Forum Contributor
Posts: 294
Joined: Fri Oct 06, 2006 8:12 pm

Post by The Phoenix »

m2babaey wrote:I meant there are sites that can be built by asp but not by php
is that true?
We'd need more context. We can't 'prove' that PHP 'can do anything', so we'd need to understand what ASP is doing in the example, to show whether PHP can.

But as a general statement, PHP can usually do what ASP can (just in dramatically different ways).
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Post by alex.barylski »

Anything you can do in ASP.NET you can do in PHP. Infact I would argue that PHP (via extensions) is likely more powerful in this regard.

ASP.NET does have the advantage of a standard framework and a excellent IDE which can speed up development time.
User avatar
yacahuma
Forum Regular
Posts: 870
Joined: Sun Jul 01, 2007 7:11 am

your are tied to microsoft

Post by yacahuma »

I cant imagine any language being easier than php. certainly not jsp. But you are asking about asp. ASP is a piece of junk, period. Your are tied to Microsoft product all the way. PHP you can do shell and web development all in one multiplatform language.

About your next question. No, there is nothing php cannot do.

My friend, PHP is cool and easy. Dont waste your time on anything else.


Where can I get an I love PHP t-shirt?

BTW, charles256 asp development faster than PHP? Give me a break. Well, maybe if the php developer is sleeping at the time. It may happen. I am not sure.
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

m2babaey wrote:I meant there are sites that can be built by asp but not by php
is that true?
No it's not true. What is a site? Nothing more than (dynamically generated) html... Any webplatform would allow you to achieve that... I believe it's a lot harder to generate real-life websites that are standards compliant (x)html with asp.net than with php

(ignoring the silly demos that ms gave us to showcase that asp.net can actually generate compliant html if you don't use any of the controls provided with the framework....)
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Re: your are tied to microsoft

Post by timvw »

yacahuma wrote:No, there is nothing php cannot do.
Ok, show us how to do multithreading with php then...
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

Rudimentary threading: pcntl_fork()
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

Re: your are tied to microsoft

Post by Charles256 »

yacahuma wrote:I cant imagine any language being easier than php. certainly not jsp. But you are asking about asp. ASP is a piece of junk, period. Your are tied to Microsoft product all the way. PHP you can do shell and web development all in one multiplatform language.

About your next question. No, there is nothing php cannot do.

My friend, PHP is cool and easy. Dont waste your time on anything else.


Where can I get an I love PHP t-shirt?

BTW, charles256 asp development faster than PHP? Give me a break. Well, maybe if the php developer is sleeping at the time. It may happen. I am not sure.
I'm going to reply to this as calmly as possible.. : bites off smart remark : Have you ever used ASP.NET 2.0 with Visual Web Developer? Ever? Ever even seen someone else use it? Unless you're argument is tied to something more than "microsoft sucks " go.... : resists another smart comment : . I left in my thoughts about the smart comments so you can fill in the data if you're creative. If not, oh well.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

Can someone show me the code "written" by this editor?
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

Post by Charles256 »

Workig on generating some code. Complete newb with ASP 2.0 and this IDE so it'll take me a second because I can't yet remember how to do anything. :-D
EDIT: Not to mention my computer is running oddly slow... :-/
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Re: your are tied to microsoft

Post by superdezign »

Charles256 wrote:I'm going to reply to this as calmly as possible.. : bites off smart remark : Have you ever used ASP.NET 2.0 with Visual Web Developer? Ever? Ever even seen someone else use it? Unless you're argument is tied to something more than "microsoft sucks " go.... : resists another smart comment : . I left in my thoughts about the smart comments so you can fill in the data if you're creative. If not, oh well.
Why so defensive? Didn't you just recently start learning ASP?
Post Reply