★ wanayoo — archive 1999 http://www.devshed.com/Talk/Forums/Forum16/HTML/000093.htmlNouvelle recherche | Portail wanayoo
DevShed Menu
* DevShed Home
* Developer News
* DevShed Brain Dump




UBBFriend: Email This Page to Someone!
  DevShed Discussion Forums
  Beginners
  ASP / PHP compared?

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   ASP / PHP compared?
benliong
Junior Member
posted July 18, 2000 12:51 PM     Click Here to See the Profile for benliong   Click Here to Email benliong     Edit/Delete Message Reply w/Quote
I'd learnt sufficient of PHP to construct shopping carts / Forum and other applications. How practical is it for me to learn ASP? What are the advantages of using ASP over PHP besides the the platform for the server?

and if I really want to learn it from the beginning, is there any ASP site that provide beginner tutorials?

Thanks a lot

firepages
Member
posted July 19, 2000 12:08 AM     Click Here to See the Profile for firepages   Click Here to Email firepages     Edit/Delete Message Reply w/Quote
http://www.hotscripts.com is chocka full of ASP scripts and tutorials.

But really, unless you already know a lot of ASP/VB you are better off sticking to PHP. If its for database access / dynamic pages etc PHP is just plain easier to use and probably more powerful.

------------------
Simon Wheeler
FirePages -DHTML/PHP/MySQL

ikaros
Member
posted July 19, 2000 07:17 AM     Click Here to See the Profile for ikaros   Click Here to Email ikaros     Edit/Delete Message Reply w/Quote
quote:
What are the advantages of using ASP over PHP besides the the platform for the server?

What are the advantages with NT platform?? With php you can choose if you want to use NT or Linux, but with Linux you will have a much more stable server, and much faster too.

There is no use in learning asp, unless you are offered job with asp...

peterbe
Junior Member
posted July 19, 2000 07:59 AM     Click Here to See the Profile for peterbe   Click Here to Email peterbe     Edit/Delete Message Reply w/Quote
Consider ASP with JScript to begin with. Very much similar to JavaScript and not equally as different to PHP as VBScript is.

Off the topic:
In PHP4, if you have an error in your page and try to view it. Nothing is done with any of the code unless the code is "corrected".
I've had disasters with ASP where I both have a INSERT INTO table or UPDATE table AND a VBScript error.
Reloading the browser to test fixes to the VBScript error can cause the SQL stuff to be done more than once.

------------------

¬ peterbe.com ¬

Hartmann
Member
posted July 19, 2000 09:36 AM     Click Here to See the Profile for Hartmann   Click Here to Email Hartmann     Edit/Delete Message Reply w/Quote
PHP is just cooler to say

And I think it is a lot easier....

ledjon
Member
posted July 19, 2000 10:06 AM     Click Here to See the Profile for ledjon   Click Here to Email ledjon     Edit/Delete Message Reply w/Quote
Not to mention that the next release of ASP (ASP+) will no longer support VBScipt. So learning it now is a waist of your time. You'll have to know full blown Visual Basic or JScript to use it.

I know both ASP and PHP, let me tell you... PHP beats the pants off of ASP. It similar to perl... maybe that's why I feel that way.

benliong
Junior Member
posted July 19, 2000 10:51 AM     Click Here to See the Profile for benliong   Click Here to Email benliong     Edit/Delete Message Reply w/Quote
Thanks. I think I'd stick with PHP for the moment. But let's say I want to take a job that requires ASP, is there any introductory site that I can visit? and off the topic, should I really be learning ASP+ instead of ASP given that I know Visual Basic?

Dano
Junior Member
posted July 19, 2000 01:07 PM     Click Here to See the Profile for Dano   Click Here to Email Dano     Edit/Delete Message Reply w/Quote
For a pretty decent set of ASP tutorials check out http://www.activeserverpages.com

It's got a lot of good tutorials

Dan

billyo
Member
posted July 19, 2000 05:28 PM     Click Here to See the Profile for billyo   Click Here to Email billyo     Edit/Delete Message Reply w/Quote
I don't know what it is, but I have yet to see an employer say this in an ad:
"looking for someone who has experience with apache/mysql/php..."
Yet everyone else swears by that combo (myself included). It's frustrating because microsoft products have that name recognition and it seems a lot of businesses think: "hey if the system costs more than 5 grand to set up, it must be the best..." If PHP so's hot, then why aren't more companies into it? (I know there's some big guns running it, but they're a minority compared with ASP.)

Hartmann
Member
posted July 19, 2000 07:49 PM     Click Here to See the Profile for Hartmann   Click Here to Email Hartmann     Edit/Delete Message Reply w/Quote
Because companies have what I like to call, The Microsoft Bug. They own these servers that are NT and Win2000 because Microsoft told them it was the right thing to do. School systems all over the country use Microsoft servers..... It is like a catch phrase....

But then oneday a company is going to realize that they can't do something because their server doesn't do that kind of thing.........

dwarf
Member
posted July 20, 2000 04:00 AM     Click Here to See the Profile for dwarf     Edit/Delete Message Reply w/Quote
Just a quick note: once I ran into an article on how to make a script to upload files via HTTP (i.e. from a browser) in ASP. The article was fairly long, as was the code. In Perl this is an extremely easy procedure. In PHP also. It is but a few lines of code...

So I would freely say that both PHP and Perl (and even Python) are far more powerful than ASP. The fact that most sites use ASP, has nothing to do with it. Yahoo! uses Python for its web mail, for instance.

ledjon
Member
posted July 24, 2000 12:26 PM     Click Here to See the Profile for ledjon   Click Here to Email ledjon     Edit/Delete Message Reply w/Quote
You'll only see asp on sites that rely heavily on database calls. This is for several reasons:
1) Microsoft's SQL server is the best, most powerful and most reliable SQL server on the market.
2) NT servers (which is required for MS SQL) is designed to run ASP's, not PHP (though it can be done).
3) Since database is designed to handle data between the server and the user, there's no need for easy e-mail functions or uploads... so ASP is designed purely for database integration. E-mail and upload functions are all after thought add-ons.

But since *nix systems are so much better for web servers sendmail stuff, perl, Python and PHP have easy e-mail and upload functions.

To sum it all up: If you're running a major database driven website for e-commerce, use ASP (and yes, learning ASP+ will be more beneficial for the future, but now you'll need to know VBScript). If you're doing ANYTHING else, use a real language like Perl.

I'm a perl person myself, but have to use ASP for work... and I hate it more and more everyday .

Stick with PHP, Perl and other Unix based languages.

All times are MST (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | DevShed.com

Copyright © 1997-2000 ngenuity. All rights reserved.

Powered by: Ultimate Bulletin Board, Version 5.41a
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 1999.