Click to See Complete Forum and Search --> : ASP vs. PHP???


richardginn
04-06-2001, 06:51 PM
any major differences???

which one is better???

please respond.

Nick_B
04-06-2001, 07:05 PM
Originally posted by richardginn:
any major differences???

which one is better???

please respond.



I use ASP for everything I ever do, but I'm positive PHP has its strenghts. It probably depends strongly on what exactly you want to do.

------------------
Nick_B
ICQ: 1697810
P4 1.4 GHz
256 Megs PC800 RDRAM
GeForce2 Ultra
Win 2K

Grizzly
04-06-2001, 08:51 PM
I'm a little new to PHP myself, but Im learning to love it as every day progresses. One obvious strength is it's platform independent. ASP is a windows-only scripting language, while PHP will run on Unix, Solaris, Linux, NT, you name it. PHP is also open source, and as a result is constantly evolving. It's an excellent language.


I have an ASP question I might throw in here in the mean time...
What does ASP call DSN names? (data source ODBC) names. It doesn't appear to refer to it as DSN....just a little curious on what it calls it.



[This message has been edited by Grizzly (edited April 07, 2001).]

namgor
04-07-2001, 04:28 PM
Originally posted by Grizzly:
I'm a little new to PHP myself, but Im learning to love it as every day progresses. One obvious strength is it's platform independent. ASP is a windows-only scripting language, while PHP will run on Unix, Solaris, Linux, NT, you name it. PHP is also open source, and as a result is constantly evolving. It's an excellent language.


I thought ASP is open sourced too? Many website have sample script and all my script are modified from theirs.

PERL is pretty good too, I do all my leisure website's script in PERL and it is pretty powerful, but would only run on Unix.

------------------
I am crab, scoins is crap.

Grizzly
04-07-2001, 09:25 PM
Originally posted by namgor:
I thought ASP is open sourced too? Many website have sample script and all my script are modified from theirs.

PERL is pretty good too, I do all my leisure website's script in PERL and it is pretty powerful, but would only run on Unix.



Open source meaning...the language isn't brought to you by some corporation who has rules and regulations to the language (Like Allaire's Cold Fusion)...the language itself continues to grow and be modified by suggestions and input from users & developers alike. It was created by people like you and me, not some corporation who was out to make money. PHP is completely free...it's like the 'peoples scripting language.' A language made by the people....for the people! http://www.sharkyforums.com/ubb/tongue.gif As a result it's amazingly powerful, and intuitive for those familiar with C based languages. From what I've heard PHP is even capable of Object Oriented development...which is truly an excellent thing. To me....PHP is the first step in the right direction of making Web sites nothing more down and dirty programs. It really does bring web development to a whole new level.

Dengin
04-09-2001, 10:47 AM
Hm, when you use ASP to connect to a database, you can use either a DSN or DSN-less connection string. Depending on that, the connection string will look different.
DSN-less connection: objConn.ConnectionString="DRIVER={Microsoft Access Driver (*.mdb)};" &_
"DBQ=c:\My Documents\database.mdb"
DSN Connection:
objConn.ConnectionString="DSN=database.dsn"
Not sure I understand your question correctly though.

Originally posted by Grizzly:

I have an ASP question I might throw in here in the mean time...
What does ASP call DSN names? (data source ODBC) names. It doesn't appear to refer to it as DSN....just a little curious on what it calls it.

[This message has been edited by Grizzly (edited April 07, 2001).]



------------------
Abit BH6
PIII-750@840
256MB PC133 Crucial RAM
Viper 770 non-Ultra @ 150/183 w. NVidia 5.33 drivers
TennMax Lasagna TNT cooler
Diamond Monster MX300 w. Vortex 2 v.2048 drivers

Grizzly
04-09-2001, 07:40 PM
Ah thanks you answered my question. I understand that my wording was most certainly poor, but you hit the nail on the head with your answer. I was really unsure on how to ask it...but hey...thanks!

drdray
04-13-2001, 01:46 PM
PHP = perl + c/c++ + html. Each brings it best to php making it a nice tool for any webdeveloper. I still haven't tryed it tho. I use perl all the way for now. There was no real need for me to switch to php yet.

As for ASP i never got into it deep enof to judge it. I do know some VB, c, and c++. How ever I never work directly with those languages. I'm a webdeveloper and using html, dhmtl, javascript, and perl for my needs. All i can say about ASP is it's a microsoft version of perl.

namgor
04-13-2001, 01:54 PM
Originally posted by drdray:
PHP = perl + c/c++ + html. Each brings it best to php making it a nice tool for any webdeveloper. I still haven't tryed it tho. I use perl all the way for now. There was no real need for me to switch to php yet.

As for ASP i never got into it deep enof to judge it. I do know some VB, c, and c++. How ever I never work directly with those languages. I'm a webdeveloper and using html, dhmtl, javascript, and perl for my needs. All i can say about ASP is it's a microsoft version of perl.

me too, i use PERL all the way, and so far, it seems like it is powerful enough to doing everything i want to do.



------------------
I am crab, scoins is crap.

drdray
04-13-2001, 02:05 PM
Agree. Perl is also very friendly when it comes to parsing data from forms or into forms/tables. In VB script you may have to make your own function to make up a good prasing set of tools, in perl they are build it(for example the search and replace functions in perl are just soooo nice, this what i looked like when i used em for first time -> http://www.sharkyforums.com/ubb/biggrin.gif ). But ASP probably has some build in things as well.

guy007
04-15-2001, 10:59 PM
Actually, ASP n PHP is almost the same ... those who have been familiar with ASP can program in PHP also.

The difference might be in the syntax themselves as well as the different tags. One thing about ASP is that the visual editor (Visual Interdev) has a built-in library for all the functions which makes it so much easier to program.

However, as I started programming in Perl (CGI) ... I know that Perl is quite powerful, sufficient for cost-effective sites. PHP is a variation of Perl whereby the programming is much easier and thus more intuitive.

Anyone has a different opinion ?

namgor
04-15-2001, 11:59 PM
My perl intrepretor was on the free hosting server, so when I got an error on my script, it takes me so long to compile, and furthermore, sometime simply I forgot to \" instead of " or even left out a ; caused me worthless time to debug :_(

------------------
I am crab, scoins is crap.

Wollington
04-21-2001, 03:46 PM
Just a note about asp, it can be run on other platforms such as linux with the use of a program like ChilliASP.