![]() |
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? |
I thought asp was mainly for windoze servers? shrugs, fuck if I know
|
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.
|
Quote:
Something tells me I should like PHP more than ASP. |
Quote:
|
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.
|
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 |
So is ASP just good for creating dynamic pages? or can it do more?
|
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.
|
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.
|
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:
|
Quote:
|
Quote:
|
Quote:
Edit: someone beat me to it. Drat. |
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.
|
I bought PCP for dummies, but... it didnt help with my programming much
|
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. |
Quote:
I do listen to punk music and am an anarchist though, if that helps. |
Quote:
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. |
Quote:
hehe :) Have you checked MSDN lately? Infact, check http://www.asp.net/Tutorials/quickstart.aspx :) |
.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. |
Quote:
: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 |
Quote:
|
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 :) |
Quote:
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. :) |
Quote:
you're clueless, GNU software for internet is robust and its pissing on Microsoft's crap... |
Quote:
:1orglaugh Feel Better? :thumbsup |
|
Quote:
|
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.
|
Quote:
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? |
Quote:
|
Quote:
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. |
Quote:
.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 :) |
Quote:
|
Quote:
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 |
Quote:
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. |
Quote:
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! |
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 |
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 :) |
Quote:
|
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 |
Quote:
: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