Discussion: PHP versus JSP

From: Kevin (javarox2000_at_hotmail.com)
Date: 03/29/04


Date: 29 Mar 2004 06:15:01 -0800

Hi! I recently completed a graduate level Java class at a local
university. For our class project my group built a web-based
application. Basically, the application would let a manufacturing
company sell any 'extra' inventory to any authorized user via the
internet. The users could log in, view the inventory available, and
make a bid on any of the inventory available. At the end of the day,
the highest bidder 'wins' that inventory and would receive an email
saying as much. The customer could then log in again and enter a
purchase order number and a sales order would be generated.

This application was pretty basic. We used MySQL, Tomcat, and JSP. I
especially liked working with JSP (give me JSP over servlet
programming anyday!). However, a friend of mine said that he would
rather use PHP for web-based apps and asked me what I thought of
re-doing the app using PHP. Well, I've never really done a lot with
PHP (other than go through one of those 'Learn PHP in 24 hours' books)
so I'm not sure what the advantage or disadvantage would be in doing
that. I'm not even sure if PHP could be used to acess MySQL or other
databases (my book didn't get into that).

This brings me to my question: What are your thoughts on JSP versus
PHP? I'm not an expert on either one, but I'd be interested in the
thoughts of others on these two different web development tools.

Thanks and have a great week!

Kevin



Relevant Pages

  • Re: Discussion: PHP versus JSP
    ... I recently completed a graduate level Java class at a local ... > company sell any 'extra' inventory to any authorized user via the ... We used MySQL, Tomcat, and JSP. ... > re-doing the app using PHP. ...
    (comp.lang.java)
  • Re: HTML "scrape" causes loss of query string in URL
    ... >> in PHP with several PHP scripts interacting with one Java servlet, ... >> which interacted with several Java classes. ... > process to go from PHP to JSP. ...
    (comp.lang.java.help)
  • Re: Ruby performance woes
    ... Now here's my take on all this: PHP and JSP and what I inquired ... S-expressions used as a directly alternate expression of SGML or XML. ... By the way, I've never had access to a Web server that can run ASP, ...
    (comp.lang.lisp)
  • Re: PHP5 a threat, or a complement to server-side java?
    ... and moving their scripts to PHP. ... What I currently DON'T see is Sun making a big push for JSP, ... In short: MINDSHARE, MINDSHARE, MINDSHARE. ...
    (comp.lang.java.programmer)
  • Re: my little comments on jsp and php
    ... Why do you talk about struts and hibernate when talking about JSP, ... I learned jsp for about 5 years, and learned php for about 4 ... When I do JAVA webapp project, I just use one IDE and can finish all ...
    (comp.lang.java.programmer)