| Author |
Topic Search Topic Options
|
trendecide
Groupie
Joined: 26 May 2002
Location: United States
Status: Offline
Points: 54
|
Posted: 11 July 2003 at 4:55pm |
hmmm... I've done this trick once already and disagree in any similarities between the two languages. ASP very clearly is a much more sophisticated scripting language, while PHP offers many programming benefits and the two vastly differ.
My suggestion, if you know ASP, spend your time learning C, C++ or .NET. Once you know one of these languages it will be much easier to pick up PHP.
|
|
Love, Peace and Chicken Grease!
|
 |
Bliss
Groupie
Joined: 25 April 2003
Location: United States
Status: Offline
Points: 181
|
Posted: 14 July 2003 at 12:46pm |
|
I personally like ASP better because it looks better. PHP has too many $'s and ?'s and when I look at it my head just starts to hurt for some reason. ASP just has lots of .'s , ()' and %'s, and they're rounded characters, so I like them better for some reason.
|
 |
Sapien
Newbie
Joined: 19 October 2002
Location: Canada
Status: Offline
Points: 37
|
Posted: 28 July 2003 at 6:11pm |
One thing nobody has mentioned about PHP is that when using a MySQl database, it's probably the fastest combo available right now. (from what I've experienced and read anyways)
I've priced both PHP and MySQL. Their free. I don't think that ASP or Access is free.
The only thing I don't like about PHP, is their include virtual sucks compaired to ASP. Other then that, I think their fairly equal languages.
|
 |
Bliss
Groupie
Joined: 25 April 2003
Location: United States
Status: Offline
Points: 181
|
Posted: 30 July 2003 at 2:29pm |
|
I don't know about speed. ASP and SQL Server may be faster that PHP and MySQL, but I don't have any data to prove it...
|
 |
ray12
Newbie
Joined: 31 July 2003
Status: Offline
Points: 11
|
Posted: 31 July 2003 at 12:46am |
Regarding speed and performance, here's an interesting comparison of the PHP and ASP versions of the same search engine script: http://www.wrensoft.com/zoom/benchmarks.html
It doesn't use a SQL database though, so the functionality involved here would only include stuff like file operations, arrays/data structures, and lots of string comparisons and even regular expressions. It seems that PHP has a huge gain in speed and scales much better too.
|
 |
ljamal
Mod Builder Group
Joined: 16 April 2003
Status: Offline
Points: 888
|
Posted: 31 July 2003 at 1:10am |
|
Actually, that benchmark was on web site search queries and nothing more.
|
|
|
 |
ray12
Newbie
Joined: 31 July 2003
Status: Offline
Points: 11
|
Posted: 31 July 2003 at 10:00pm |
Yes, but they're benchmarks of the ASP and PHP version of a website search script - of how long each version takes to produce results given a search query. The operations involved in such a function would include what i mentioned... and shows how PHP and ASP versions of similar code/algorithm can have such a big difference in the overall application performance. Note that its for _this_ application obviously, and you can't judge overall ASP performance based on that. But it's interesting nonetheless.
|
 |
cr*piecorn
Senior Member
Joined: 24 July 2002
Location: Belgium
Status: Offline
Points: 273
|
Posted: 05 August 2003 at 8:29am |
the benefits of php
- easy to run on a linux server
-php/my sql => killer duo (speed)
-mysql is free (not like ms sql)
-easy to learn
- much more ..
|
|
|
 |