File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes servlets or php..urgent Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlets or php..urgent" Watch "servlets or php..urgent" New topic

servlets or php..urgent

Malhar Barai
Ranch Hand

Joined: Aug 17, 2001
Posts: 399
hi buddies..
i know i m going bit far from what this forum intends me to do...but i m stuck on this...unable to decide which tech. to use for my next project...
can anyone point me the diff. between PHP & my dearest Servlets..(i wud like to continue using Servlets )...
pls..this is urgent
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
But you have not described the project or why PHP might be a good solution for it! How can we advise you?
Andres Gonzalez
Ranch Hand

Joined: Nov 27, 2001
Posts: 1561
I'd say that if your website is intented to be small, you can use PHP. The problem is that when your website starts to grow and you need to add more functionality to it, you end up having the html page full of php code, and this is very hard to maintain.
I'd go for jsp + servlets + javabeans (Model II or Model View Controler). You achieve the separation of presentation logic and application, and the maintainability is much simpler than using php. If you develop your pages well, you'll have minimum of java code in your .jsp files.
It depends of what you want as well... we need more info.
That's my opinion

I'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury
I agree. Here's the link:
subject: servlets or php..urgent
It's not a secret anymore!