Vinh Posted May 6, 2003 Share Posted May 6, 2003 Is ASP and PHP about the same or is there a big advantage over each other? Most companies want web developers with ASP... ASP and PHP use the same database sql right? is sql same as mysql? Sorry if im not understandable, its 2:30am and im dead tired, heading to bed in a few mins. Link to comment Share on other sites More sharing options...
0 Tim Dorr Veteran Posted May 6, 2003 Veteran Share Posted May 6, 2003 ASP is more corporate, PHP is more for small/medium size operations. That doesn't mean there aren't cases of large corporations use PHP (Yahoo, Lycos), but that's generally how things work. ASP costs more to implement, PHP costs less. As for speed, it's arguable depending on what you want to do. I just say they're even... SQL is a language for database interaction. MySQL is just a database that implements a SQL interface. You write up queries in SQL and get the data you need that way. Link to comment Share on other sites More sharing options...
0 fdiaz2day Posted May 6, 2003 Share Posted May 6, 2003 also, php is alot more compatible with different browsers than asp is... :p Link to comment Share on other sites More sharing options...
0 [idkfa] Posted May 6, 2003 Share Posted May 6, 2003 also, php is alot more compatible with different browsers than asp is... :p both languages are server-sided, so the browser just gets pure HTML. but in generally, you can say most PHP programmers code proper HTML since they know there are standards ;) Link to comment Share on other sites More sharing options...
0 john smith 1924 Veteran Posted May 6, 2003 Veteran Share Posted May 6, 2003 it depends if ya wanna be a corporate microsoft hoe or not :p Link to comment Share on other sites More sharing options...
0 mezz Posted May 6, 2003 Share Posted May 6, 2003 I have played with ASP.NET and I must say it's very nice. When, PHP5 releases and it will be back equal to the ASP.NET. I have played with the PHP5 development version and it's very nice with the new OOP, but there have some strange bugs of memory leak with Apache. ASP does better job on Windows than PHP does. PHP does better job on *nix than ASP does. ASP rocks when it's on Windows, PHP rocks when it's on *nix. But, I like to code in PHP better, which it's my personal prefer. It's really apple and orange. Link to comment Share on other sites More sharing options...
0 Rusty.Metal Posted May 6, 2003 Share Posted May 6, 2003 it depends if ya wanna be a corporate microsoft hoe or not :p lmfao Link to comment Share on other sites More sharing options...
0 rabidFan Posted May 6, 2003 Share Posted May 6, 2003 also, php is alot more compatible with different browsers than asp is... :p php as a scripting language generally has more cross platform web server installers than asp. asp generally only comes with microsoft IIS, on microsoft platforms (though chillisoft can be used). php has installers for linux, unix, win32, and solaris I believe. It will work with a number of pieces of web serving software. as a language, I find PHP much better suited for creating dynamic web sites or applications. it was basically built from ground up as a web scripting language, so, the creators have done a lot of things to make it's use as a programmer doing common 'web scripting' things easier or less painful... whereas asp is basically a vbscript twist towards doing web stuff. also, as I mentioned, your code can be a little more portable..(say, if you have something on a win32 test server and have to move it to a unix based hosting service) again, as a few people here said, depends on the environment you work in. if you're a linux/unix based all apache org, you're probably going to be using php or perl. if you run all microsoft, it's just easier to write asp, than to be installing a php interpreter on all your web servers. right? as for browser compatible, if you're into writing non-standard html code, it don't matter what server side scripting language is being used, as someone mentioned. Link to comment Share on other sites More sharing options...
0 joetheblow Posted May 6, 2003 Share Posted May 6, 2003 rabidFan has basically said what it is that makes the 2 different. I would agree that if you want to be a web designer or a network/internet manager or the like you should learn both. Learning both will give you the edge and will allow you to consult or design websites when budget is a consern or the host server needs to be Linux or transferable to other platforms. There is also j2ee, CFM and something else... can't remeber. But those are not as important as ASP and PHP Link to comment Share on other sites More sharing options...
0 Dick Montage Posted May 6, 2003 Share Posted May 6, 2003 Not sure if this adds anything to the conversation but... I use ASP at work on nice big in-house IIS servers. When I am coding my own site where cost is a consideration I use PHP. I can accomplish most tasks equally well in each. I'd say it really a prefernce/cost issue. Link to comment Share on other sites More sharing options...
0 redavenger Posted May 7, 2003 Share Posted May 7, 2003 Let me put it to you this way. I use asp and I make 200,000 + a year. Use what you like, but the money is with asp. ASP vs PHP is fairly even although I will give the nod to ASP because of the superior server technologies on the windows platform... Its very close though. And depending on your environment could go either way. Also ASP has a variety of languages that you can use. PHP you are stuck with PHP. ASP.net is hands down the winner. If you don't know anything and are just starting out I would recommend ASP.net. The class libraries are incredible and it is compiled code which equates to superior performance. ASP.net easily outperforms anything that has come before it. Plus it makes a lot of things much easier to accomplish programming wise. HTH, RedAvenger Link to comment Share on other sites More sharing options...
0 romant Posted May 8, 2003 Share Posted May 8, 2003 can i run asp on apache ? Link to comment Share on other sites More sharing options...
0 John Veteran Posted May 8, 2003 Veteran Share Posted May 8, 2003 kudos to vinh (warcraft 3 rules!) for making this thread. thanks for all the info guys, i've been wondering too, since i have only used asp before. i know neowin is run with php, and a lot of the code that the programmers here share is php. because of this, i've wanted to possibly start learning php, but i'm losing interest in the programming field in general. still lots of fun for me, just that i'd rather do other things like networking. edit: i know asp can use vb and javascript, and asp.net can use any language that runs on .net, but i was wondering, could php be run somehow inside an asp script? not sure why anyone would ever use this, but i just wanna know if it's possible, features-wise. Link to comment Share on other sites More sharing options...
0 MZatko55 Posted May 9, 2003 Share Posted May 9, 2003 asp and php are almost irrelevent today. The only two that matter anymore are JSP and ASP.net. ASP.net is more like jsp than asp. The big difference is JSP is open source and runs on any platform... Link to comment Share on other sites More sharing options...
0 CtotheJ Posted May 9, 2003 Share Posted May 9, 2003 can i run asp on apache ? Yes it can. http://www.chilisoft.com/ And neither ASP or PHP is more compatable with web-browsers... that's like saying images made in Photoshop are more compatable with high-resolution then images made in Fireworks. No web browsers know how to parse ASP OR PHP. It's all done server side, so once it's set up it works with everyone. Link to comment Share on other sites More sharing options...
0 Rathamon Posted May 9, 2003 Share Posted May 9, 2003 you make 200,000 a year from ASP? **** me I want your job! Link to comment Share on other sites More sharing options...
0 John Veteran Posted May 9, 2003 Veteran Share Posted May 9, 2003 hehe.... (re-thinks future career....) :D Link to comment Share on other sites More sharing options...
0 redavenger Posted May 12, 2003 Share Posted May 12, 2003 Well I am going to be looking to hire some people here in the short future. Will post back later... If any of you guys are looking for summer work, check out asp.net and send me a resume. Peace, RedAvenger Link to comment Share on other sites More sharing options...
Question
Vinh
Is ASP and PHP about the same or is there a big advantage over each other?
Most companies want web developers with ASP...
ASP and PHP use the same database sql right? is sql same as mysql?
Sorry if im not understandable, its 2:30am and im dead tired, heading to bed in a few mins.
Link to comment
Share on other sites
17 answers to this question
Recommended Posts