General Development

PHP vs. JSP – spade89

spade89

Member

Posts: 561
From: houston,tx
Registered: 11-28-2006
hey,guys i know a bit of jsp and i don't know any php, and i wanted to know which technology you think is better php or jsp?

------------------
The Truth Shall set you Free

kenman

Member

Posts: 518
From: Janesville WI
Registered: 08-31-2006
You will find more information on .php. I think you may find it harder to find servers with .jsp installed, virtually every good server has .php 4.0 installed.

SSquared

Member

Posts: 654
From: Pacific Northwest
Registered: 03-22-2005
They are different. You need to decide which one is best for your needs.

PHP is terrific when paired with MySQL and used for database driven, dynamic web pages. It's fairly easy to use and there are plenty of web sites with tutorials. PHP is geared towards web development. I recommend using PHP 5 as it moves into the world of Object Oriented Programming (OOP), which is extremely beneficial to learn.

JSP gives you access to the Java language, which, obviously, offers you quite a lot of functionality not present in PHP. If you have more powerful requirements and require lots of underlying business logic rules, then JSP may be more what you need.

In either case, you will need a server running. Both of these run well with Apache. For database, I recommend MySQL. Earlier this year I installed Apache, MySQL, and PHP on my computer and it was fairly straightforward.

If you want to do mainly database driven, dynamic web pages, then PHP is really well suited for this. The API set to MySQL is terrific. And there is plenty of information regarding PHP on the web (not nearly so true with JSP).

Regarding jobs, I see plenty of jobs for PHP, Apache, MySQL needed. I don't really see companies asking specifically for JSP programmers, although I'm sure there are many out there.

In the end, I guess I would choose PHP. Sorry for being so long-winded. I kind of wrote out my thoughts and you are reading them unfolding.

jestermax

Member

Posts: 1064
From: Ontario, Canada
Registered: 06-21-2006
i'm generally one of the few here that promotes Java, but in this case, i would suggest checking out ASP.NET. You can get Visual Web Developer Express and SQL Server Express (and the SQL Manager) all for free. so development is cheap, and you can do some crazy things right out of the box.

I've used JSP along with EJBs and JEE and its a lot of manual labour compared to ASP.NET (or it is in my experience so far)

samw3

Member

Posts: 542
From: Toccoa, GA, USA
Registered: 08-15-2006
I code in php personally and jsp professionally. The reason for PHP is dirt cheap web hosting. If you can, learn to code them both. There is not much difference in syntax structure. They are both curly-langs.

------------------
Sam Washburn

bwoogie

Member

Posts: 380
From: kansas usa
Registered: 03-12-2005
i've never coded in jsp. but i do like php. alot...

------------------
~~~boogie woogie woogie~~~

spade89

Member

Posts: 561
From: houston,tx
Registered: 11-28-2006
i don't code in php,but i really like jsp,it adds soap,and other java stuff to you pages.

------------------
Matthew(22:36-40)"Teacher, which is the greatest commandment in the Law?" Jesus replied: " 'Love the Lord your God with all your heart and with all your soul and with all your mind. This is the first and greatest commandment. And the second is like it: 'Love your neighbor as yourself.All the Law and the Prophets hang on these two commandments."
Whose Son Is the Christ