Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Name: Infinite Recursion
Hello all...
I am curious as to how many people have preference / experience over PHP or ASP. I'm trying to determine what the language of choice is among all of you. If you prefer one over the other, please let me know why.
I personally like PHP but that's because I have used it more recently and I have been beating PHP code in my head for about a month or so, working on random projects to get used to the language...
On the other hand, I have only used ASP for trivial tasks... even bought a $50.00 ASP book but never really use it. (Just added it to my reference library >;)
I ask this question primarily because I see a great deal of ASP related jobs hitting the market in my area and meanwhile I am playing around in PHP (and other languages). I think I will stick to my PHP development because it works quite well in my MySql and Apache environment.
The problem is... I am stretching myself too thin, trying to learn and maintain knowledge of several languages. My primary focus now is C++, Visual Basic, Ada, Java, PHP, CGI and HTML... I've basically abandoned the plethora of languages that I used to use daily and languages that I had only working knowledge of... in pursuit of extending knowledge of the languages that I listed above.
Maybe my inquiry makes sense. If it does, I'm impressed because its 5:45am here....
if not, I can elaborate for those who are confused... lolRegards,
Infinite Recursion

I know how you feel. I spent a good deal of time learning php too, and now all I do is asp because the companies we deal with are only comfortable with that. I'm currently moving away from java and picking up VB and C#. I would have prefered to stay with java, but it seems to be a dead end unless you have weblogic experience also.

I use PHP because its C-like, easy to use, powerfull, great for MySQL, etc, etc. I've tried ASP but didn't like it one bit.
Micah.beginRant("microsloft");
I'll probably learn more ASP just so I can seem a little more versitile when searching for jobs, but I hope I won't have to use it. Ever.
-Micah

I like using PHP mainly because it has a C-like structure
If you look into ASP, behind the scene its VBScript. I like VB for creating quick apps. but its got its weekness.
Just like JSP, behind its all Java Servlets.
I think that companies will be moving more toward Web Services, and since Microsoft .Net platform makes it really easy to do Web Services their are more and more ASP openings since ASP.Net is going to be a part of it.
Personally i like PHP because of the same reason as others have mentions...great flexibility with MySQL and Apache. Although it will work with IIS also (but who wants that)

I use PHP because it's C-like, free, and has excellent online documentation at php.net. A better question for me would be PHP or PERL/CGI. Then I might pick CGI because PERL can be used for general UNIX scripting tasks, whereas PHP is only good for web stuff.
I've never used ASP, but if, as I supspect, it is to VB as CGI in PERL is to PERL in general, it could help if you plan on doing Microsoft stuff. If it's just for web programming, remember that open-source dominates the web, except for intranet stuff at small to medium-sized shops, as I understand.

There are some shops that only use Coldfusion. And really, it does make sense. Their business model is based entirely on someone else's business model, which sorta begs for being dragged through the dirt every couple of version cycles, but hey. You don't need any gurus or ubercoders.
.NET has really improved the MS framework (and ASP has benefitted). It's not just a copy of Java. It has extended Java. And you can ask lots of people, Visual Studio is a killer app.
http://developers.slashdot.org/article.pl?sid=03/09/01/231245JSP has someone doing something for anything (fill in the objects of the nouns yourself). There are so many JSP/Java projects tied to buzzwords and marketing slogans, its massive. If you don't want MS making developement decisions for you, then Java is the next most used thing. JSP is very common.
PHP is the everyman's server scripting language. It has the most mobility of the scripting languages, though it is the least exploited in these areas. It's largest problems are it has no big marketing push, it doesn't cater to Windows and Mac (definitely no killer app associated with it), and not many people try to do something new and marketable with it like they do JSP and ASP.
And Perl does just about everything. But let's face it, no consultant is gonna say, "Look, you guys need enterprise grade. Check CPAN for the module."

PHP is free, and benchmarked faster, and
open source, w/ ASP you get to pay money
for it, also its benchmarked as slower
(meaning no more people calling in saying
"YOUR SITE LOADS TOO FAST!"), also its
propriatary (plus microsoft) so that means
you have a total black out 24/7
its obvious the supior choice is ASP!

Thanks for all of your suggestions everyone...
I think I am going to stick with PHP for MySQL and Apache, I am kinda biased towards it for quite the same reason as everyone else... it is similar to C and the online documenation is pretty sweet. However, I think I am going to add PERL back to my list of used languages, because I actually had a need for it the other day... Now my problem is determing if I should pursue JSP or ASP... (not really worried about learning both of them) lol. I think I will follow the economy and see which one is going to surface in employment opps more than the other.
Thanks again for all of your inputs.
Infinite Recursion

I tend to use ASP, mainly because it tends to be more flexible.
Most of the people who have posted responses so far don't really understand ASP. They don't have a thorough understanding of the technology. Most people seem to be confusing ASP with VBscript. This is incorrect. ASP is a Server Environment, VBScript is a programming language. These are two very seperate things.
ASP is a Server Environment. It is language independent. All that ASP does is provide an environment and a number of objects to enable you to build web applications. By default, it expects VBScript, but as long as you specify your language, you don't have to use VBscript.
So basically, anyone sying that they prefer the syntax of PHP to the syntax of ASP is talking rubbish. What they mean to say is that they prefer the syntax of PHP to that of VBScript. that's fair enough, so why don't they use Jscript or PerlScript with ASP instead?
The truth is that ASP gives you flexibility by offering you a choice of three languages (actually there's more than three but the others are less popular). You don't have to limit yourself to just one either. You can call a PerlScript function from within VBscript and vice-versa. Hell, you can call a VBscript function that in turn calls a PerlScript function from within Jscript if you want to!
You have the power of three programming langues in one package and they can all share the same ASP environment objects! That's what makes ASP so special! That's what makes developing applications in ASP so fast.
The reson so many businesses use ASP is because of the speed of development. Time is money at the end of the day. The faster you can get your application up and running, the more money you can generate. This extra money easily offsets the extra cost of the software.
Sure if you're writing web sites in your bedroom and speed of development isn't important, then use PHP if you want. You're not aiming to make money from your site and the initial cost is cheaper.
Also, if you're writing an application that really does require maximum speed and reliability, then ASP isn't your best option there. However most businesses don't need that kind of performance and their willing to sacrifice some of it to compensate for the faster development time.
For a majority of businesses, ASP is the logical choice.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |