hi guys.. can anyone tell me which one is better and strong at present? is it PHP or java technologies like JSP, SERVLET or JSF hahah or ASP.net ???? guys i learned Java Core and i learned jsp a lil bit.. but as u all see most of the websites are coded using PHP while still we all believe that Java Is More secure and powerfull... what is the reason behind it? plz lets discuss this thread in a serious manner.. it will be helpfull to all the newbies who wish get into enterprise programming Merry Christmas DAVIN
I think Php is better because is very easy to learn and also it is very fast that's why you see a lot of sites in Php rather than in JSP Even wikipedia runs on Php..
There is an interesting post on http://www.cmswire.com/cms/industry-news/php-vs-java-vs-ruby-000887.php Regards!
I think JSP is better as its based on JAVA. True it's a bit slower then php but only the first time you load the page. one big advantage of jsp is security. and if you know java its very easy to learn jsp.
JSP is time intensive I heard, while ASP.NET only works on Windows hosting, thus making PHP a popular choice among web programmers. :l
The best in Java is the whole architecture around it, j2ee or spring based. You could get security, caching, authorization, transactions almost out of the box, while in PHP one has to do alot of coding to have those. JSP is something like Smarty for php, just a tip of the iceberg. So if you need just a simple page (one or two developers for short period of time) then PHP is probably a better choice. Oh, and it's much much easier to get cheap hosting for it.
I agree with marcbarak, PHP is great, really really great, it is opensource so many free webhosting providers support php , mySQL Hosting for PHP very very cheap compared to JSP and ASP.net I will vote for PHP
I think php is more fit to begginer as it's easy,but if can learn both,different language has different mind.
I think PHP is a great place to start, but once you've covered that, I think it's really worthwhile moving onto Java Server Pages or something, maybe just learn Java.
I agree PHP is easy to learn, But when we consider memory leak and security. Java(JSP) is best one.... In java just compiled class will be enough to run but in PHP we have to use the Source code..
I've been learning both PHP and Java, and my preference is PHP and will always be PHP. PHP is extremely easy to use and can be quite powerful, and in my opinion, it only appears to be less secure since it's more commonly used and hence will have more people trying to find vulnerabilities in it. I suppose it's mostly preference in honesty
PHP is the best, that's for sure !!!! And it's free, and it's opensource, and works well with mysql, and with apache .... And the most of classes are in php, a lot of free php scripts are always available. And if you want to hire a programmer for your website, php programmers are cheaper, and do the work faster Want tell you more ? PHP works in windows and linux, asp.net doesn't Linux servers are better than windows ones hosting in linux servers with php is much cheaper, and are reliable !!! I don't want to talk about JSP or ASp and give you all their negative things, you get the point.