<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: PHP vs. Java &#8230; and why I hate Java</title>
	<atom:link href="http://www.peterglaeser.com/php-vs-java-and-why-i-hate-java/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.peterglaeser.com/php-vs-java-and-why-i-hate-java/</link>
	<description>opinions on online marketing, mobile advertising and technology</description>
	<lastBuildDate>Thu, 19 Aug 2010 01:48:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Rajnish Gupta</title>
		<link>http://www.peterglaeser.com/php-vs-java-and-why-i-hate-java/comment-page-1/#comment-15848</link>
		<dc:creator>Rajnish Gupta</dc:creator>
		<pubDate>Thu, 11 Feb 2010 05:29:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.peterglaeser.com/?p=182#comment-15848</guid>
		<description>Hi,
  I am M.C.A fresher student. I had started to teach java but i don&#039;t know market position.Someone says php is better than java for job purpose. Please tell me ..</description>
		<content:encoded><![CDATA[<p>Hi,<br />
  I am M.C.A fresher student. I had started to teach java but i don&#8217;t know market position.Someone says php is better than java for job purpose. Please tell me ..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saif</title>
		<link>http://www.peterglaeser.com/php-vs-java-and-why-i-hate-java/comment-page-1/#comment-14882</link>
		<dc:creator>Saif</dc:creator>
		<pubDate>Sat, 16 Jan 2010 03:47:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.peterglaeser.com/?p=182#comment-14882</guid>
		<description>My Comment is different, i am waiting for a time where database manages this better then language. once the database performance gets increased most of the programming language can do better jobs.

Its on database we have to give more concentration. Languages are only mediators.

Java and PHP. two are not good.

Why should we want to stick will an intermediate language like this better we can go for C++ or c compiled language . 

Will can give high performance. 

So my conclusion is,
1. Database is the main part need a good optimisation in performance.
2. Me frameworks have to be developed in c++ or c so that other can do web projects in these language. perfectly.
3. Both Database and language should have a good garbage Collection Methodology.

4. Good IDE for developement. with lots of auto generate facilities.

etc..

I am waiting for such a high performance.</description>
		<content:encoded><![CDATA[<p>My Comment is different, i am waiting for a time where database manages this better then language. once the database performance gets increased most of the programming language can do better jobs.</p>
<p>Its on database we have to give more concentration. Languages are only mediators.</p>
<p>Java and PHP. two are not good.</p>
<p>Why should we want to stick will an intermediate language like this better we can go for C++ or c compiled language . </p>
<p>Will can give high performance. </p>
<p>So my conclusion is,<br />
1. Database is the main part need a good optimisation in performance.<br />
2. Me frameworks have to be developed in c++ or c so that other can do web projects in these language. perfectly.<br />
3. Both Database and language should have a good garbage Collection Methodology.</p>
<p>4. Good IDE for developement. with lots of auto generate facilities.</p>
<p>etc..</p>
<p>I am waiting for such a high performance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Yeates, Baltimore, MD</title>
		<link>http://www.peterglaeser.com/php-vs-java-and-why-i-hate-java/comment-page-1/#comment-13901</link>
		<dc:creator>Nick Yeates, Baltimore, MD</dc:creator>
		<pubDate>Wed, 23 Dec 2009 15:11:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.peterglaeser.com/?p=182#comment-13901</guid>
		<description>I have heard too many times people give the &quot;php is not scalable to enterprise levels&quot;, &quot;java does enterprise well&quot;. I dont think that I can speak to this first hand. 

What I can say is, that I touched both languages and ultimately chose php for its quicker ramp up, ease of use, ease of reading, no headaches for overhead. Java functions, in the past, were hard for me to lookup, understand. Say I wanted a simple existing function that searches a string for a sub-string. It took me ages to find with java, and the code was ugly to read once implemented. Php I found the function in under a minute of searching its docs, and the code was very understandable.

I was coding very small programs for myself and my work basically, NOT enterprise or professional level. So, I always trusted what others said: PHP doesnt scale. Well, now that I have seen a .php stuck into one of the pictures at facebook.... facebook is the ULTIMATE of scaling. I mean, really you cannot scale to more users than that. There really is nothing currently higher in users that I can think of.

I think that PHP can be easy to use/learn, and dangerous to scale. But, if done right apparently, it can shoot you to the moon.

I am going to learn Python I think. It is a mix between java and php qualities. Python is more heavily object oriented and strict and enherently scalable, yet it too is script-based... it compiles as you run it. No need for go-live or compilation headaches.</description>
		<content:encoded><![CDATA[<p>I have heard too many times people give the &#8220;php is not scalable to enterprise levels&#8221;, &#8220;java does enterprise well&#8221;. I dont think that I can speak to this first hand. </p>
<p>What I can say is, that I touched both languages and ultimately chose php for its quicker ramp up, ease of use, ease of reading, no headaches for overhead. Java functions, in the past, were hard for me to lookup, understand. Say I wanted a simple existing function that searches a string for a sub-string. It took me ages to find with java, and the code was ugly to read once implemented. Php I found the function in under a minute of searching its docs, and the code was very understandable.</p>
<p>I was coding very small programs for myself and my work basically, NOT enterprise or professional level. So, I always trusted what others said: PHP doesnt scale. Well, now that I have seen a .php stuck into one of the pictures at facebook&#8230;. facebook is the ULTIMATE of scaling. I mean, really you cannot scale to more users than that. There really is nothing currently higher in users that I can think of.</p>
<p>I think that PHP can be easy to use/learn, and dangerous to scale. But, if done right apparently, it can shoot you to the moon.</p>
<p>I am going to learn Python I think. It is a mix between java and php qualities. Python is more heavily object oriented and strict and enherently scalable, yet it too is script-based&#8230; it compiles as you run it. No need for go-live or compilation headaches.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Memoks</title>
		<link>http://www.peterglaeser.com/php-vs-java-and-why-i-hate-java/comment-page-1/#comment-13019</link>
		<dc:creator>Memoks</dc:creator>
		<pubDate>Tue, 01 Dec 2009 11:35:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.peterglaeser.com/?p=182#comment-13019</guid>
		<description>&quot;if for example Facebook had been written in Java, hardly any of these optional applications would exist and its viral growth wouldnâ€™t have happened.&quot;

Too right.</description>
		<content:encoded><![CDATA[<p>&#8220;if for example Facebook had been written in Java, hardly any of these optional applications would exist and its viral growth wouldnâ€™t have happened.&#8221;</p>
<p>Too right.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim Pixton</title>
		<link>http://www.peterglaeser.com/php-vs-java-and-why-i-hate-java/comment-page-1/#comment-10674</link>
		<dc:creator>Jim Pixton</dc:creator>
		<pubDate>Wed, 23 Sep 2009 17:25:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.peterglaeser.com/?p=182#comment-10674</guid>
		<description>good article on java based php framework http://www.ibm.com/developerworks/opensource/library/wa-quercus/index.html</description>
		<content:encoded><![CDATA[<p>good article on java based php framework <a href="http://www.ibm.com/developerworks/opensource/library/wa-quercus/index.html" rel="nofollow">http://www.ibm.com/developerworks/opensource/library/wa-quercus/index.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kappa</title>
		<link>http://www.peterglaeser.com/php-vs-java-and-why-i-hate-java/comment-page-1/#comment-8405</link>
		<dc:creator>kappa</dc:creator>
		<pubDate>Mon, 27 Jul 2009 07:00:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.peterglaeser.com/?p=182#comment-8405</guid>
		<description>@Shah,

use PHP. Java is for very big projects with its advantages of good refactoring. Given the time, you must go ahead with php and use Kohana framework (MVC architecture) for good understanding and practices. This gives you a good understanding of OOP and atleast one Design pattern. 

At a later stage, learn Design patterns in java (particularly adapter pattern), JSF, JPA and you are to market. 

Looking even further, start learning a function/OO hybrid language like Scala which will replace java eventually. (2 years time) 

Cheers,
kappa</description>
		<content:encoded><![CDATA[<p>@Shah,</p>
<p>use PHP. Java is for very big projects with its advantages of good refactoring. Given the time, you must go ahead with php and use Kohana framework (MVC architecture) for good understanding and practices. This gives you a good understanding of OOP and atleast one Design pattern. </p>
<p>At a later stage, learn Design patterns in java (particularly adapter pattern), JSF, JPA and you are to market. </p>
<p>Looking even further, start learning a function/OO hybrid language like Scala which will replace java eventually. (2 years time) </p>
<p>Cheers,<br />
kappa</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jaime</title>
		<link>http://www.peterglaeser.com/php-vs-java-and-why-i-hate-java/comment-page-1/#comment-7504</link>
		<dc:creator>Jaime</dc:creator>
		<pubDate>Wed, 08 Jul 2009 19:58:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.peterglaeser.com/?p=182#comment-7504</guid>
		<description>I like that java is strongly typed, that way debugging is easier, and always you know what is really happening, without too much hassle.</description>
		<content:encoded><![CDATA[<p>I like that java is strongly typed, that way debugging is easier, and always you know what is really happening, without too much hassle.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shah</title>
		<link>http://www.peterglaeser.com/php-vs-java-and-why-i-hate-java/comment-page-1/#comment-5867</link>
		<dc:creator>Shah</dc:creator>
		<pubDate>Sat, 30 May 2009 16:11:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.peterglaeser.com/?p=182#comment-5867</guid>
		<description>I have read most of these comments and still not sure to start learning more java or get to know php coding at an expert level. Am actually a masters student. We have been taught JAVA and is very boring when it comes to write codes. After Masters, my intentions to pursue a carrier in programming. Right now, I have to start my final project of web application for a shop and have only 3 months to complete it. Should I continue doing JAVA as I have learned it some how in the past 6 months, or work on PHP for it if it&#039;s more demanding at a professional level.

cheers :)</description>
		<content:encoded><![CDATA[<p>I have read most of these comments and still not sure to start learning more java or get to know php coding at an expert level. Am actually a masters student. We have been taught JAVA and is very boring when it comes to write codes. After Masters, my intentions to pursue a carrier in programming. Right now, I have to start my final project of web application for a shop and have only 3 months to complete it. Should I continue doing JAVA as I have learned it some how in the past 6 months, or work on PHP for it if it&#8217;s more demanding at a professional level.</p>
<p>cheers <img src='http://www.peterglaeser.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julian Kennedy</title>
		<link>http://www.peterglaeser.com/php-vs-java-and-why-i-hate-java/comment-page-1/#comment-5774</link>
		<dc:creator>Julian Kennedy</dc:creator>
		<pubDate>Thu, 28 May 2009 14:48:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.peterglaeser.com/?p=182#comment-5774</guid>
		<description>I agree with the two comments above. When looking at enterprize applications, there are other issues which crop up. Like what happens when a low level programmer gets hold of your code. Or when the business needs to develop a complex feature. What about adding the ability to expose functionality as web services in a robust manner, without affecting application availability. Or having accurate debugging and performance statictics.

Having &quot;dirty code&quot; code in your any application is like having cooking oil in your Ferrari engine. And sticking one&#039;s head in the sand with regards to enterprize issues is just shoddy.

Anybody who has worked at the enterprize level should know this. There is nothing wrong with PHP or JAVA. They were built for different reasons. 

Apples and Pears my friend.</description>
		<content:encoded><![CDATA[<p>I agree with the two comments above. When looking at enterprize applications, there are other issues which crop up. Like what happens when a low level programmer gets hold of your code. Or when the business needs to develop a complex feature. What about adding the ability to expose functionality as web services in a robust manner, without affecting application availability. Or having accurate debugging and performance statictics.</p>
<p>Having &#8220;dirty code&#8221; code in your any application is like having cooking oil in your Ferrari engine. And sticking one&#8217;s head in the sand with regards to enterprize issues is just shoddy.</p>
<p>Anybody who has worked at the enterprize level should know this. There is nothing wrong with PHP or JAVA. They were built for different reasons. </p>
<p>Apples and Pears my friend.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dwoos</title>
		<link>http://www.peterglaeser.com/php-vs-java-and-why-i-hate-java/comment-page-1/#comment-4977</link>
		<dc:creator>Dwoos</dc:creator>
		<pubDate>Tue, 12 May 2009 21:50:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.peterglaeser.com/?p=182#comment-4977</guid>
		<description>If you need an enterprise-level, high-performance web application, then choose Java.  The fact that PHP is &quot;easy to learn&quot; is not relevant.  The concept of implementing &quot;dirty code&quot; with PHP or any language is flat-out scary.  For large projects, you&#039;d better have expert developers no matter what the programming language.   Also, the previous comments from SVachon are 100% accurate.

$recommendation =&gt; $java;</description>
		<content:encoded><![CDATA[<p>If you need an enterprise-level, high-performance web application, then choose Java.  The fact that PHP is &#8220;easy to learn&#8221; is not relevant.  The concept of implementing &#8220;dirty code&#8221; with PHP or any language is flat-out scary.  For large projects, you&#8217;d better have expert developers no matter what the programming language.   Also, the previous comments from SVachon are 100% accurate.</p>
<p>$recommendation =&gt; $java;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SVachon</title>
		<link>http://www.peterglaeser.com/php-vs-java-and-why-i-hate-java/comment-page-1/#comment-3305</link>
		<dc:creator>SVachon</dc:creator>
		<pubDate>Sat, 21 Mar 2009 12:40:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.peterglaeser.com/?p=182#comment-3305</guid>
		<description>Your article is more on interpreted vs compiled languages. In fact, java is not compiled to machine code but into bytecode to be interpreted by the jvm. And I don&#039;t think it takes a long time to compile java code, but I admit that it is longer than not having to compile at all. However, you don&#039;t have to compile your Jsp pages. Pages and classes can also be hot redeployed individually on the fly, hence you &quot;can change the website instantly and seamlessly so that deployment isnâ€™t really a big issue.&quot;
I think one of the main advantage of php over java is how easy it is to get an operational  lamp stack so you can start working. 
And finally I don&#039;t think that showing as 404 status error page proves anything about php beign better than java. This is a developer issue, all sites can have broken links.</description>
		<content:encoded><![CDATA[<p>Your article is more on interpreted vs compiled languages. In fact, java is not compiled to machine code but into bytecode to be interpreted by the jvm. And I don&#8217;t think it takes a long time to compile java code, but I admit that it is longer than not having to compile at all. However, you don&#8217;t have to compile your Jsp pages. Pages and classes can also be hot redeployed individually on the fly, hence you &#8220;can change the website instantly and seamlessly so that deployment isnâ€™t really a big issue.&#8221;<br />
I think one of the main advantage of php over java is how easy it is to get an operational  lamp stack so you can start working.<br />
And finally I don&#8217;t think that showing as 404 status error page proves anything about php beign better than java. This is a developer issue, all sites can have broken links.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
