Page 1 of 1

Ops , PHP vs Java again

Posted: Thu Feb 09, 2006 1:40 am
by quocbao
The story about "PHP and Java" seems last forever

But this's new , i think you guys should take a look at this article

http://blinduser.blogspot.com/2006/02/php-vs-java.html

Maybe after you read this article , leave him a comment :D

Thanks Aaron Crane

Posted: Thu Feb 09, 2006 2:19 am
by Christopher
You know, I read that post and another one about PHP on large websites. Both seemed strangely out of date -- like the guys had been locked in a closet for a year or so. I thought that they had reinstalled their blog and the dates had updated to this year. My impression is that the converstation has moved far past any of the articles on that site.

Posted: Thu Feb 09, 2006 3:45 am
by patrikG
Off course PHP scales, but consider how many mobile devices run PHP-apps and how many Java-Apps. PHP is a web-based language (forget GTK) and it hasn't transcended the platform-barrier (i.e. webserver -> mobile devices): it's doubtful it ever will.

Posted: Fri Feb 10, 2006 8:53 am
by BDKR
patrikG wrote: PHP is a web-based language (forget GTK) and it hasn't transcended the platform-barrier (i.e. webserver -> mobile devices): it's doubtful it ever will.
It would be a viable contender if it was capable of threading.

Posted: Fri Feb 10, 2006 3:12 pm
by timvw
A long time ago (around 1999) i choose to use PHP instead of Perl for my webapps because PHP was especially written for the web.. Afterwards it seemed to be a good choice because most webhosts offered mod_php but refused to offer cgi/mod_perl..

A reason not to use Java (HttpServlet, JSP, JSF, ... ) for webapps was that it required me to look for a special webhost. I don't know how valid that reason is these days. With a java webapp i know that i will run, as is, in a container that supports the standard. With PHP it's a pita to get the php.ini settings right, the required extensions to be installed, .. More and more i end up with the feeling that both approaches require me to look for a customized webhost environment...

Anyway, as the OP already wrote in his first post, today it's more about PHP AND Java. Because you use the one it doesn't mean you can't use the other one. They can even communicate with each other.. Hiring a couple of cheap workforces to write a php frontend for your existing java backend seems like the way to go...

Posted: Sat Feb 11, 2006 4:40 pm
by patrikG
BDKR wrote:
patrikG wrote: PHP is a web-based language (forget GTK) and it hasn't transcended the platform-barrier (i.e. webserver -> mobile devices): it's doubtful it ever will.
It would be a viable contender if it was capable of threading.
Possible, but by the time that would be a feature, even my Grandma's calculator runs Java ;)

Posted: Sat Feb 11, 2006 11:13 pm
by BDKR
patrikG wrote:
BDKR wrote:
patrikG wrote: PHP is a web-based language (forget GTK) and it hasn't transcended the platform-barrier (i.e. webserver -> mobile devices): it's doubtful it ever will.
It would be a viable contender if it was capable of threading.
Possible, but by the time that would be a feature, even my Grandma's calculator runs Java ;)
Got that right!
Goes in other room to play Tetris on cell phone[/i]

hey guys

Posted: Sun Feb 12, 2006 1:20 am
by userjs8448
I am the owner of this blog (http://blinduser.blogspot.com)

you guys are right, a couple of my last articles were slightly out of date (I actually pulled them from some old archived articles that I found interesting). I should have looked through it a little bit more and just posted the stuff that I found useful.

most of my articles are pretty much up to date ;-)