This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi Javaranchers. For our software project we are making a dynamic website. It will be a system that takes data from 7 or so different locations fo PE fitness results. The system will allow the data to be entered into the system. Students will also be able to log in a view their results compared to national averages.
I would personally rather use JSP over PHP. Mainly so I can study for the SCJP at the same time. What I need to do though is convince my team that JSP is the best language for the job. Some of the people in my team prefer PHP for it's easier syntax.
These are the main functionality that needs to be completed with the system
* Interact with a mySQL database * Create a user interface * Create graphical representations of the data (big part)
Can someone plz tell me where I can find out more info on creating graphs, etc with JSP, without using XML and flash.
The other issue is that the learning curve is harder with JSP than compared to PHP. Any advice would be appreciated.
Rather than picking the one you want to use and then going out to find evidence to prove that it's the better technology, why not do some honest research to find out which is really the best for this project?
Both can interact with a relational database very easily. Both can produce HTML very easily. What I would do, if this were my project, would be to research the graphical libraries that are available for each to see which has the best ones for your needs. Google is your best friend for that task.
You might also want to consider where this is going to be hosted. Just about every $5.00 a month hosting company will give you PHP and Mysql for no extra charge. Hosting companies that offer server side Java are more rare (and thus, tend to be more expensive).
One of the downsides to PHP is that it's harder to add 3rd party libraries to your project. If it's not already installed on the server, you may need to convince the hosting company to integrate it for you. Most will be very reluctant. If you find a hosting company that lets you deploy war files, you can add any java libs (jars) you want.
I wonder who started the rumor that PHP's syntax is easier than JSP's. The syntax for model 1 JSP (scriptlets) is almost identical to PHP. Once you start breaking up your code into MVC, each of the individual tiers becomes simpler. [ June 28, 2006: Message edited by: Ben Souther ]