If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Asp .NET vs PHP

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-22-03, 05:52
karim2k karim2k is offline
Registered User
 
Join Date: Apr 2003
Location: Tunisia
Posts: 192
Angry Asp .NET vs PHP

http://msdn.microsoft.com/library/en...hpvsaspnet.asp
Just focus on , you'll see how much the test suck !!!!
__________________
Open up
Take a look to my Blog http://www****ndom.com/karim2k
Reply With Quote
  #2 (permalink)  
Old 05-22-03, 06:26
rhs98 rhs98 is offline
Super Moderator
 
Join Date: Feb 2002
Location: Hampshire, UK
Posts: 441
Most of the points seem fair in that article....
Reply With Quote
  #3 (permalink)  
Old 05-22-03, 07:46
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
test? what test?

actually, i thought the article was really well written


rudy
Reply With Quote
  #4 (permalink)  
Old 05-22-03, 08:56
karim2k karim2k is offline
Registered User
 
Join Date: Apr 2003
Location: Tunisia
Posts: 192
Cool No way

PHP is the best ,ASP is nothing ,

PHP 10 - ASP 0 !!
__________________
Open up
Take a look to my Blog http://www****ndom.com/karim2k
Reply With Quote
  #5 (permalink)  
Old 05-25-03, 05:10
rhs98 rhs98 is offline
Super Moderator
 
Join Date: Feb 2002
Location: Hampshire, UK
Posts: 441
PHP is not as nice (subjective), or as fast as ASP .NET (objective)...but hey you are allowed your opinion I suppose
Reply With Quote
  #6 (permalink)  
Old 09-08-03, 17:34
kumar303 kumar303 is offline
Registered User
 
Join Date: Sep 2003
Posts: 1
Talking re: PHP vs. ASP article

fortunately for PHP, this article does itself in with each negative example it tries to give for PHP.

-- PHP is open source. this should end the argument right here. There are far more open source utilities available for PHP then there are for .Net and they are generally cheaper Take for example database abstraction tools: you can choose between ADODB, Pear DB, Metabase, just to name a few. Or how about a free shopping cart system? OSCommerce.

-- PHP not fully OO. Funny that microsoft's most stunning reason for this is the lack of private variables. While this is a drawback for PHP it is easily accomplished though the development implementation itself. Since scripts aren't compiled in PHP and code source is available, this is almost irrelevant, since you can see how the object works anyway. The nice thing about PHP compared to .Net is you aren't forced to work objectively if you don't want to.

-- PHP is not strongly typed. it is if you want it to be, like using === operator. And the option explicit equivalent is error_reporting(E_ALL) in PHP. I guess the author of this article wasn't aware of that.

-- PHP objects are copied rather then referenced. This is a problem. But any developer who is aware of the problem knows to pass the object by reference to a function. like function(&$Object) { }. This will be fixed in PHP 5 anyway.

-- the error handling argument is funny because the author says you *can* handle errors by declaring an error_handler function but then he says it is not as easy as using try ... catch? I'm confused. If you declare one function to handle all your errors it's actually a little easier then declaring a try every time. If you want to catch program logic errors you can use trigger_error() as well.
Reply With Quote
  #7 (permalink)  
Old 09-09-03, 03:00
karim2k karim2k is offline
Registered User
 
Join Date: Apr 2003
Location: Tunisia
Posts: 192
Thumbs up cool

oh, thnaks god some peapole got faith in the truth , thank you man !
__________________
Open up
Take a look to my Blog http://www****ndom.com/karim2k
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On