Click to See Complete Forum and Search --> : ASP PHP or JSP???
Cyrus13
Jun 6th, 2002, 10:30 AM
Hello!! I have the question above!! Which do you think is the most cutting edge technology??? I’ve heard that JSP is coming to conquer the web and I notice day by day that servers running jsp pages (which web server does it take to run JSP pages really??) are growing in number!!
PHP has also the vast advantage that is “free” (I mean the Apache web server)!
ASP has Microsoft’s reliability (????) and support which is an advance!!
cpradio
Jun 6th, 2002, 10:38 AM
honestly php and jsp are the two top ones if you ask me. Both are reliable and growing each day. ASP is like Visual Basic, a bunch of ineffecient code that just screws with your mind.
PHP is like C and C++, effecient, has shortcuts, and is easy to understand.
-Matt
Cudabean
Jun 6th, 2002, 10:56 AM
Tough question.
I've used all three at one point or another. ASP and PHP are easier to work with than JSP. JSP would be a good choice if you either have a good familiarity with Java or you WANT to have a good familiarity with Java.
JSP is my current choice, but, I also try to avoid doing too much with it and write Java servlets to handle interactions with the database. One thing that's nice about JSP is you can distribute the compiled objects without releasing the jsp source.
Both PHP and JSP will run on multiple & free platforms. For JSP I recommend the stand-alone Tomcat by Apache. You can install just Tomcat and be up and running--no Apache server required. From a performance standpoint I hear that JSP is the slowest, but Everything I've done with it, so far, is quite acceptable.
Session variables
ASP and JSP have them, I presume PHP has them now too, but it's just a guess. They are one method that lets you maintain state between one page and the next. If a user fills out a form giving you their name on one page, with session variables you can keep the name associated with the user as they visit other pages during the session. In ASP each unique session variable is limited to containing a single value--either a number or a string.
JSP and Servlets, on the other hand, have the ability to create complex object-oriented Session variables like arrays and other objects.
cudabean
JoshT
Jun 6th, 2002, 10:57 AM
PHP runs decently on IIS as well.
ASP gives you a choice of langauages - VBScript, JScript, Perl, Python, Ruby, Haskell, and Lua are the ones I've seen so far. Heck, use PerlScript instead of VBScript, and cpradio's crack about ineffecient code is dead wrong.:p
Also, if you use Apache, you can use stuff like mod_perl or mod_python, not just mod_php (I'm assuming you don't want to run as CGI).
cpradio
Jun 6th, 2002, 11:00 AM
Im not going from the experience and debugging I have done in ASP code when I talked about it.
PHP has been able to handle sessions for a long time, and it can handle arrays inside a session too so its pretty much somewhat related to jsp in a sense of speaking.
-Matt
Cyrus13
Jun 7th, 2002, 06:16 AM
All right! Thank you for your answers! However what would you suggest for someone that’s starting his way in Internet Applications Development?? PHP or JSP (I believe ASP might be easier for someone familiar with Visual Basic like me but it confines you. It’s also quite expensive –IIS I mean-). As far as I could understand JSP has more potentials and since I’m curious about learning JAVA (I’ve heard that it… “Pays” a lot(!!!)) I think this will be my choice. :rolleyes:
On the other hand as Cudabean suggested, I’ve noticed that JSP sites are slower than others. Any other drawbacks on JSP that might prevent me from starting to get into it???
:(
anoop007
Jun 7th, 2002, 10:02 AM
If you know a bit of C++ then I definitely would
recommend PHP
Also, lots more resources for PHP on the net!
Cyrus13
Jun 7th, 2002, 10:17 AM
Actually my knowledge regarding these applications is confined to Visual Basic, C++, Java in the order mentioned. So PHP might be the best solution, but I’d like your opinion on which language I should “invest”, meaning I should get into it professionally.
JoshT
Jun 7th, 2002, 10:56 AM
Well, ASP isn't a language - it's about 5 or so objects you can learn in a weekend (or less if you already know CGI or PHP).
I'd learn the basics HTTP, then the basics of CGI, then PHP, then ASP, and you should be set.
Hawk
Jun 7th, 2002, 03:52 PM
Hi JoshT,
You said that ASP can be learn in a weekend. In your opinion, how long will it take to learn PHP?
Also, I have heard you talk about Perl Script. I know VB Script pretty well. How long will it take to learn Perl Script?
Thanks Mr. Net Wizard!!! ;)
cpradio
Jun 7th, 2002, 05:40 PM
I learned PHP in a weekend due to the fact I had 2 years of C++, 1 year in C, and 2 years in JavaScript that helped me out a bundle.
PHP is exactly like the above three. The syntax, the code (with a few minor changes), and the power you have.
I personally thought the hardest thing to get a handle on was Regular Expressions due to the ackward symbols you use to define them.
The main parts I would say you have to learn are the following and it will just take you a few hours:
1) Interaction with a SQL or MySQL database
2) Sessions (a bit complicated but if you do a search here you will find many resources just in the forums alone)
3) Cookies
4) Proper handling of Passed Variables (talk to Scoutt ;))
-Matt
The Hobo
Jun 7th, 2002, 06:03 PM
I've messed around with alot and liked PHP the best. I picked it up extremely fast too, and I only had experience with Visual Basic and CGI/Perl at the time.
Hawk
Jun 7th, 2002, 06:17 PM
Thanks for the info.
So, would you choose PHP over ASP or ASP.net? Actually, is there any point to learn ASP.net? :D
The Hobo
Jun 7th, 2002, 10:42 PM
For now, I'm satisfied with where I am. I'm in love with PHP. She's my baby.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.