GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   What is the difference between ASP and PHP? (https://gfy.com/showthread.php?t=117996)

BRISK 03-21-2003 05:05 AM

What is the difference between ASP and PHP?
 
I'm not into programming. But I do hire people to create stuff for me and I'd like to know more about ASP and PHP.

Correct me if I'm wrong, but is ASP just for creating dynamic pages, whereas PHP can do that and much more?

DrewKole 03-21-2003 05:06 AM

I thought asp was mainly for windoze servers? shrugs, fuck if I know

Mutt 03-21-2003 05:08 AM

the major difference between ASP and PHP is that there is only one 'P' in ASP whereas if you look closely you will see there are two 'P's in PHP. Of course even a layman can understand that PHP is twice as powerful because it has twice the 'P' power.

BRISK 03-21-2003 05:09 AM

Quote:

Originally posted by DrewKole
I thought asp was mainly for windoze servers? shrugs, fuck if I know
Yeah, I think ASP can only be run on windows servers, but I'm not sure.

Something tells me I should like PHP more than ASP.

BRISK 03-21-2003 05:10 AM

Quote:

Originally posted by Mutt
the major difference between ASP and PHP is that there is only one 'P' in ASP whereas if you look closely you will see there are two 'P's in PHP. Of course even a layman can understand that PHP is twice as powerful because it has twice the 'P' power.
Thank you for clarifying that. :winkwink:

FATPad 03-21-2003 05:11 AM

Different syntax, usually different OS's (although there are applications which will let you do things like run ASP pages on a Unix server). ASP is an MS product for NT servers and PHP is an open source product for Unix servers.

Marcus 03-21-2003 05:11 AM

I used to work in a microsoft shop and we were running asp pages on IIS (3 or 4, dont remember) and the thing was crashing all the time. Anything more than 10k hits and the stupid site would slow down

it was a nightmare running that shit http://www.teenvag.com/tard.gif

BRISK 03-21-2003 05:13 AM

So is ASP just good for creating dynamic pages? or can it do more?

Libertine 03-21-2003 05:13 AM

ASP is Windows although there are versions that can also run on other servers, PHP is primarily *nix, although it can also be used on other servers. Besides that, ASP is object oriented, while PHP is not.

Validus 03-21-2003 05:14 AM

Yea, to my knowledge they are basically the same. PHP runs on Linux servers whereas ASP on windows machines. I have a ASP programmer in my family, she says that both PHP and APS have their own weaknesses and strengths. More, I do not know.

Voodoo 03-21-2003 05:15 AM

Correct me if I'm wrong, but, I don't believe you can embed/mix html with ASP, as you can with PHP.:2 cents:

Libertine 03-21-2003 05:15 AM

Quote:

Originally posted by BRISK
So is ASP just good for creating dynamic pages? or can it do more?
Like PHP, that's what it's best equipped for, although, like PHP, it can also be used for different purposes.

FATPad 03-21-2003 05:16 AM

Quote:

Originally posted by Voodoo
Correct me if I'm wrong, but, I don't believe you can embed/mix html with ASP, as you can with PHP.:2 cents:
Okay. You're being corrected. ;)

Libertine 03-21-2003 05:19 AM

Quote:

Originally posted by Voodoo
Correct me if I'm wrong, but, I don't believe you can embed/mix html with ASP, as you can with PHP.:2 cents:
You're wrong, sorry.

Edit: someone beat me to it. Drat.

BRISK 03-21-2003 05:28 AM

I might go buy PHP For Dummies. I just wanna know more about it when I talk to guys making stuff for me so I'll understand all it's capable of doing.

DrewKole 03-21-2003 05:29 AM

I bought PCP for dummies, but... it didnt help with my programming much

flashfreak 03-21-2003 05:30 AM

ASP can be installed on unix servers too, there's a module that can be installed in apache, also there's a php version that can be configured to run on WinNT/Win2k without problems.
as validus said they're different script processors with their own weakness and strengths. php is easier to understand and you can find tutorials online way easier than for asp.

Libertine 03-21-2003 05:38 AM

Quote:

Originally posted by Voodoo


So, I'm curious... What makes you punk? Do you have a mohawk? What about liberty spikes? Maybe some Misfits tattoos?

What exactly is it about you that makes you punk? Is it your attitude toward society? Maybe it's the music you listen to? Inquiring minds want to know.

Actually, the reason for this nick is that I had a site called PunkWorld a long long long long time ago. For some odd reason I continued using it as a username for certain things.

I do listen to punk music and am an anarchist though, if that helps.

lEricPl 03-21-2003 05:55 AM

Quote:

Originally posted by punkworld
ASP is Windows although there are versions that can also run on other servers, PHP is primarily *nix, although it can also be used on other servers. Besides that, ASP is object oriented, while PHP is not.

Regular ASP is not object oriented.

ASP.NET is a total new ball game that makes php and regular asp look like childs play, and it is in fact fully OO.

lEricPl 03-21-2003 05:58 AM

Quote:

Originally posted by flashfreak
php is easier to understand and you can find tutorials online way easier than for asp.

hehe :)

Have you checked MSDN lately?

Infact, check http://www.asp.net/Tutorials/quickstart.aspx

:)

notjoe 03-21-2003 06:06 AM

.NET applications suck my cock and i would never actually signup to anything which actually used it.

A global registry which spans multiple sites is just giving M$ more of a foothole in taking over our lifes and to better profile us.


ASP will run on windows/unix machines but it runs natively on NT and the Unix versions have been known to be buggy and riddled exploitable security holes, just like the FrontPage Extensions for Unix.

PHP was originally designed on a unix machine and later on started to get ported to windows. You dont need apache to run PHP on a winidows machine as IIS will do a fine job.

The other thing is that you, depending on your os, can write programs to do crontabs and shit like thatl much in the same way you could use perl to do many automated jobs on your *ix machine.

Whether PHP is better than ASP or ASP is better than PHP, that all depends on who you ask. If you want the ability to pack up your code and move to a different server, any server, i would go with PHP since it runs on (with more stability) just about every OS out there.

lEricPl 03-21-2003 06:14 AM

Quote:

Originally posted by notjoe
.NET applications suck my cock and i would never actually signup to anything which actually used it.

A global registry which spans multiple sites is just giving M$ more of a foothole in taking over our lifes and to better profile us.



:1orglaugh

lol


Holy Shit...

I have heard some very screwy misconceptions about .NET from people who have not even looked at the .NET Framework, but that takes the cake!

So, tell me...how does developing a page or application in .NET keep a global directory?


I would love for you to explain.


:thumbsup

Libertine 03-21-2003 06:16 AM

Quote:

Originally posted by lEricPl



Regular ASP is not object oriented.

ASP.NET is a total new ball game that makes php and regular asp look like childs play, and it is in fact fully OO.

I'm just following what the php bible says on that. I'm a *nix programmer, my gf does the windows stuff.

lEricPl 03-21-2003 06:17 AM

Just to explain...

.NET is a new development platform.

You can develop regular desktop applications OR ASP.NET web pages in 25+ languages including....

Visual Basic.NET
C#
C++
Cobol
Cobra

etc.

It is nothing else...just a better way to program :)

lEricPl 03-21-2003 06:20 AM

Quote:

Originally posted by punkworld


I'm just following what the php bible says on that. I'm a *nix programmer, my gf does the windows stuff.

The actual ASP code is just script...thus why asp is a 'scripting language'..

Now, you can access COM Objects in your regular .asp page that may infact be written in an OO language like C....but like php, asp is just a scripting langage.

:)

flashfreak 03-21-2003 07:07 AM

Quote:

Originally posted by lEricPl
Just to explain...

.NET is a new development platform.

You can develop regular desktop applications OR ASP.NET web pages in 25+ languages including....

Visual Basic.NET
C#
C++
Cobol
Cobra

etc.

It is nothing else...just a better way to program :)

dude.. who is using ASP.NET nowadays?
you're clueless, GNU software for internet is robust and its pissing on Microsoft's crap...

lEricPl 03-21-2003 07:18 AM

Quote:

Originally posted by flashfreak


dude.. who is using ASP.NET nowadays?
you're clueless, GNU software for internet is robust and its pissing on Microsoft's crap...


:1orglaugh

Feel Better?

:thumbsup

Jer 03-21-2003 07:24 AM

http://www.ranknet.com.br/jer/google.gif

NineNine 03-21-2003 07:32 AM

Quote:

Originally posted by Marcus
I used to work in a microsoft shop and we were running asp pages on IIS (3 or 4, dont remember) and the thing was crashing all the time. Anything more than 10k hits and the stupid site would slow down

it was a nightmare running that shit http://www.teenvag.com/tard.gif

Someone in your office was a really, really clueless programmer, then. REALLY clueless.

NineNine 03-21-2003 07:43 AM

Since I've been an ASP programmer since day 1, I can sum it up by saying that ASP and PHP are very similar. ASP came out first, then PHP copied it. They both do pretty much the same thing. A difference is that ASP, while it does run very fast, is also designed to be kind of a "glue" scripting langauge to tie together web servers and COM objects. I'm not sure how easy it is to handle other programs/dlls/out-of-process executables with PHP. The "best" way to use ASP isn't necessarily to drop DB connections straight into it, but to build a COM object (VB, C++, whatever), then use that as your heavy lifter. I actually prefer to put as much work as possible in the database, but that's just me. Still, ASP and PHP are *very* similar. Oh course, PHP is optimized to run on *nix machines, and ASP is optimized to run on NT/W2K machines. Performance wise, they can both be great, or they can both suck, depending on whether the programmer know what in the hell he's doing.

notjoe 03-21-2003 07:46 AM

Quote:

Originally posted by lEricPl



:1orglaugh

lol


Holy Shit...

I have heard some very screwy misconceptions about .NET from people who have not even looked at the .NET Framework, but that takes the cake!

So, tell me...how does developing a page or application in .NET keep a global directory?


I would love for you to explain.


:thumbsup


isnt the entire point of the .NET concept to make it easier for surfers to signup/become members of other .NET Applications/sites?

To make it easier to build websites which support the frame work for it.

Im probably wrong as i dont touch any windows crap except for a Workstation but that but then could you explain why i can use my Hotmail .NET account to log into about 1000+ other websites which claim to support the .NET framework?

NineNine 03-21-2003 07:52 AM

Quote:

Originally posted by notjoe



isnt the entire point of the .NET concept to make it easier for surfers to signup/become members of other .NET Applications/sites?

To make it easier to build websites which support the frame work for it.

Im probably wrong as i dont touch any windows crap except for a Workstation but that but then could you explain why i can use my Hotmail .NET account to log into about 1000+ other websites which claim to support the .NET framework?

Yes and No. It's widely (or at least I thought) known that the .Net name was a total clusterfuck. Lots of different parts of MS used it for different things. .NET was an initiative to do something like MSN Passport, but I think that it's been scrapped. .NET is also the name of their new architecture, just like COM and COM+. .NET ALSO has something to do with application service providers, which I think has also been tabled for now. So, right now, generally when you hear .NET, it's pretty much just referring to a new, language-independent COM+ platform.

lEricPl 03-21-2003 05:06 PM

Quote:

Originally posted by notjoe



isnt the entire point of the .NET concept to make it easier for surfers to signup/become members of other .NET Applications/sites?

To make it easier to build websites which support the frame work for it.

Im probably wrong as i dont touch any windows crap except for a Workstation but that but then could you explain why i can use my Hotmail .NET account to log into about 1000+ other websites which claim to support the .NET framework?

That's just MSN Passport authorization.

Yes, ASP.NET web pages can use it, but no body except MS really does.

I can write my site to allow you to log in via Passport...but I really have no need.

.NET is much, much more than authorization methods.

lEricPl 03-21-2003 05:19 PM

Quote:

Originally posted by notjoe



isnt the entire point of the .NET concept to make it easier for surfers to signup/become members of other .NET Applications/sites?

To make it easier to build websites which support the frame work for it.

Im probably wrong as i dont touch any windows crap except for a Workstation but that but then could you explain why i can use my Hotmail .NET account to log into about 1000+ other websites which claim to support the .NET framework?


.NET is basically the .NET Framework.

The .NET Framework is basically made up of 3400+ classes organized in 'Namespaces'.

It allows developers to develop applications in over 25 true OO languages. (Desktop and ASP.NET Web Pages)

I use Visual Basic.NET to write all of my ASP.NET Web Pages and XML Web Services.

What's cool is you can take that same exact method you wrote for a Web Page, and drop it in a desktop application.

Also, since all languages access the CLR (Common Language Runtime) no language is any better than the other.

It's just syntax preference.

If you like PHP, you will learn C# very easily. It's a nice bracket language.

You can write a ASP.NET Webpage that resizes jpeg images, and copy that same method into a desktop application that can do the same exact thing.

Also whats neat about ASP.NET is its all pre compiled.

With every Web Application I build, I use a 'code behind' page.

This 'code behind' page contains all of the classes, properties, methods that handle all of the page processing.

This 'code behind' is compiled into a .dll automatically.

Since it's pre compiled, its much faster than asp and in some cases php.

With ASP.NET I never have to worry about hiding my code. It's done for me automatically :)

I just have to give the client the .dll

:)

NineNine 03-21-2003 05:23 PM

Quote:

Originally posted by lEricPl



.NET is basically the .NET Framework.

The .NET Framework is basically made up of 3400+ classes organized in 'Namespaces'.

It allows developers to develop applications in over 25 true OO languages. (Desktop and ASP.NET Web Pages)

I use Visual Basic.NET to write all of my ASP.NET Web Pages and XML Web Services.

What's cool is you can take that same exact method you wrote for a Web Page, and drop it in a desktop application.

Also, since all languages access the CLR (Common Language Runtime) no language is any better than the other.

It's just syntax preference.

If you like PHP, you will learn C# very easily. It's a nice bracket language.

You can write a ASP.NET Webpage that resizes jpeg images, and copy that same method into a desktop application that can do the same exact thing.

Also whats neat about ASP.NET is its all pre compiled.

With every Web Application I build, I use a 'code behind' page.

This 'code behind' page contains all of the classes, properties, methods that handle all of the page processing.

This 'code behind' is compiled into a .dll automatically.

Since it's pre compiled, its much faster than asp and in some cases php.

With ASP.NET I never have to worry about hiding my code. It's done for me automatically :)

I just have to give the client the .dll

:)

I dropped out of professional development about a year ago, and I haven't kept up since then. I *only* use W2K for my servers... Is .Net as effective on W2K, or is there some kind of benefit to use XP? I don't plan on "upgrading" any time soon, so it's a matter of either using .Net on W2K, or not using .Net. Just curious. Performance is great with traditional ASP and some well writted stored procs, but I'm just curious.

lEricPl 03-21-2003 05:30 PM

Quote:

Originally posted by NineNine


I dropped out of professional development about a year ago, and I haven't kept up since then. I *only* use W2K for my servers... Is .Net as effective on W2K, or is there some kind of benefit to use XP? I don't plan on "upgrading" any time soon, so it's a matter of either using .Net on W2K, or not using .Net. Just curious. Performance is great with traditional ASP and some well writted stored procs, but I'm just curious.


For my development I solely use Windows 2000 Pro. and Windows 2000 Server.

Windows 2000 is stable like a rock. I really did not care for Windows XP.

Windows XP really has nothing to do with .NET.

As long as you have the .NET Framework installed (It's free) and IIS, you can develop in ASP.NET

Also, it's Free to develop ASP.NET Web Pages too!

I use Visual Studio.NET so I can develop desktop applications too, but MS has released a free program just for writing ASP.NET Web Pages. It's called 'ASP.NET Web Matrix'

Check out http://www.asp.net/webmatrix/default...dex=4&tabid=46

:thumbsup

lEricPl 03-21-2003 05:37 PM

Quote:

Originally posted by NineNine


Performance is great with traditional ASP and some well writted stored procs, but I'm just curious.

I still use Stored Procedures for all database transactions...

If you have written in asp, ASP.NET will blow your mind.

You can do SO much more.

Basically an ASP.NET Webpage can do anything a regular desktop application can do.

Since it's written in a real programming language like C# or Visual Basic .NET, you can either build a Web Page or Desktop application to do what you want. If you want to turn the functionality of your webpage into a desktop app. or vice versa, just copy the methods. It's that easy.

ASP.NET is something totally new. It makes asp look like childs play.

NineNine 03-21-2003 05:45 PM

Quote:

Originally posted by lEricPl


I still use Stored Procedures for all database transactions...

If you have written in asp, ASP.NET will blow your mind.

You can do SO much more.

Basically an ASP.NET Webpage can do anything a regular desktop application can do.

Since it's written in a real programming language like C# or Visual Basic .NET, you can either build a Web Page or Desktop application to do what you want. If you want to turn the functionality of your webpage into a desktop app. or vice versa, just copy the methods. It's that easy.

ASP.NET is something totally new. It makes asp look like childs play.

That's very interesting. I'm not sure if it'll help or hurt the web site, since I prefer to use my RAM on the database, where most of the serious work is done (my sites are the only things that I still program for). I wouldn't move code into dll's unless there was a serious performance improvement, since performance of cached ASP pages + cached DB results is pretty good now. Still, my bottleneck would be the DB, so I'm not sure if ASP.NET would help. Although, if I could do something on the fly that I currently do with an AT job and a VB .exe that I wrote, THAT would be cool... can't talk about it though, top secret.

I'll play with .Net on my own for a while. It's still much too new to put on my server. My server's rock solid, and I'd hate to fuck it up!

lEricPl 03-21-2003 06:04 PM

MS employs over 8500 programmers.

They developed asp around 96?

What makes you guys think that they would take a step backwards with ASP.NET?

The only think I can suggest is do some research.

Oh, the point of pre compiling the code is to make it faster!

:thumbsup

galleryseek 03-21-2003 06:07 PM

take a look at the webpoll at www.hotscripts.com

PHP 59.2% 25975 votes
ASP 12.9% 5648 votes
C/C++ 2.4% 1065 votes
CFML 1.5% 663 votes
Flash 2.4% 1047 votes
Java 2.9% 1264 votes
hahahahahahahahahaha 5% 2179 votes
Perl 11.1% 4858 votes
Python 0.8% 372 votes
XML 1.5% 645 votes
Other 0.4% 167 votes

as you can see, PHP is a bit more popular :)

NineNine 03-21-2003 06:09 PM

Quote:

Originally posted by lEricPl
MS employs over 8500 programmers.

They developed asp around 96?

What makes you guys think that they would take a step backwards with ASP.NET?

The only think I can suggest is do some research.

Oh, the point of pre compiling the code is to make it faster!

:thumbsup

Well, it might not be a step backwards, but it might require a shitload more hardware to do the same thing. That, and it's a relatively new technology. .NET has only been around (completed, not Beta) for a year or so. For something as important as my server, I don't play around with relatively new shit. That, and I don't want to have to get new hardware!

dapproid 03-21-2003 06:15 PM

TCO->>>

ASP: server+ windows 2000 server+WinTechnician...

plus you have to have to Win servers to gain half the stability of an Apache server...

PHP(& perl& MySql & SSI & apache httpd): server+ your brain

lEricPl 03-21-2003 06:15 PM

Quote:

Originally posted by NineNine


Well, it might not be a step backwards, but it might require a shitload more hardware to do the same thing. That, and it's a relatively new technology. .NET has only been around (completed, not Beta) for a year or so. For something as important as my server, I don't play around with relatively new shit. That, and I don't want to have to get new hardware!

What makes you think you need a shitload of new hardware to run .net?

:1orglaugh


Let me know when you catch up to speed.


All times are GMT -7. The time now is 07:55 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123