<?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. Perl vs. Java &#8211; a student&#8217;s question.</title>
	<atom:link href="http://www.killerphp.com/articles/php-vs-perl-vs-java-a-students-question/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.killerphp.com/articles/php-vs-perl-vs-java-a-students-question/</link>
	<description>Dedicated to teaching web designers PHP.</description>
	<lastBuildDate>Mon, 29 Aug 2011 11:56:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: SQL training</title>
		<link>http://www.killerphp.com/articles/php-vs-perl-vs-java-a-students-question/comment-page-1/#comment-148330</link>
		<dc:creator>SQL training</dc:creator>
		<pubDate>Thu, 20 Jan 2011 03:48:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.killerphp.com/articles/?p=207#comment-148330</guid>
		<description>I think PHP is more preferable to use when you are creating a web site.</description>
		<content:encoded><![CDATA[<p>I think PHP is more preferable to use when you are creating a web site.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Mischook</title>
		<link>http://www.killerphp.com/articles/php-vs-perl-vs-java-a-students-question/comment-page-1/#comment-105792</link>
		<dc:creator>Stefan Mischook</dc:creator>
		<pubDate>Tue, 19 Jan 2010 15:45:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.killerphp.com/articles/?p=207#comment-105792</guid>
		<description>PHP strength has never been in the elegance of it&#039;s syntax - not that bothers me personally.</description>
		<content:encoded><![CDATA[<p>PHP strength has never been in the elegance of it&#8217;s syntax &#8211; not that bothers me personally.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paolo</title>
		<link>http://www.killerphp.com/articles/php-vs-perl-vs-java-a-students-question/comment-page-1/#comment-105791</link>
		<dc:creator>Paolo</dc:creator>
		<pubDate>Tue, 19 Jan 2010 15:40:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.killerphp.com/articles/?p=207#comment-105791</guid>
		<description>If we only could do without that $this-&gt;attribute thing in PHP. OO languages usually let you access attributes by name and you use this or self (depends on the language) only to resolve ambiguity. PHP programs would be easier to write and to read if we weren&#039;t forced to use $this-&gt; almost on every single line. It becomes noise instead of information.</description>
		<content:encoded><![CDATA[<p>If we only could do without that $this-&gt;attribute thing in PHP. OO languages usually let you access attributes by name and you use this or self (depends on the language) only to resolve ambiguity. PHP programs would be easier to write and to read if we weren&#8217;t forced to use $this-&gt; almost on every single line. It becomes noise instead of information.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: A dude</title>
		<link>http://www.killerphp.com/articles/php-vs-perl-vs-java-a-students-question/comment-page-1/#comment-101611</link>
		<dc:creator>A dude</dc:creator>
		<pubDate>Fri, 13 Nov 2009 17:37:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.killerphp.com/articles/?p=207#comment-101611</guid>
		<description>I&#039;ve recently started a blog, the information you provide on this site has helped me tremendously. Thank you for all of your time &amp; work.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve recently started a blog, the information you provide on this site has helped me tremendously. Thank you for all of your time &amp; work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Kimsal</title>
		<link>http://www.killerphp.com/articles/php-vs-perl-vs-java-a-students-question/comment-page-1/#comment-97239</link>
		<dc:creator>Michael Kimsal</dc:creator>
		<pubDate>Wed, 02 Sep 2009 16:33:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.killerphp.com/articles/?p=207#comment-97239</guid>
		<description>Speaking as someone who has been doing PHP since 1996, and made a decent living at it, Java has strengths PHP may never have.  Java as a language itself it terribly verbose, and has a slower startup speed, and many other drawbacks.  But, using a framework on top of Java - specifically Grails (in my view) makes a lot of web development much much easier than with any PHP code (raw or with any framework).

I can&#039;t explain the entirety of why I prefer Grails over any PHP framework, but here&#039;s a few:

GORM - the ORM tool with Grails - makes it easy to express relationships and queries programmatically.  Having &#039;typed&#039; class properties allows the framework to infer much more about how to operate than the simple &quot;public/protected/private&quot; which PHP forces on you.

Private by default - all class properties are private by default, unless otherwise specified.  getters and setters are created during compilation, but can be overridden with manually-written code.  This saves a tremendous amount of boilerplate code that people used to write in Java (and now most PHP frameworks emulate, because the PHP language itself doesn&#039;t support any other approach).

Domain-driven design - data models are created in &#039;domain&#039; classes, which are inspected and DB models are created automatically, including relationships, timestamp columns, and automatic ids.  Plugins exist for audit logging for any data changes.  This allows me to simply design my data objects and run the app - the creation and management of the database (whichever one I want, and Java supports many DBs) is handled for me.  Yes, I can override it&#039;s behaviour and decisions if I want to, but I rarely want to do that.  Additionally, coming preconfigured with an in-memory database allows for rapid sketching out of ideas without even needing a &#039;real&#039; database to start with.

Scaffolding - some PHP frameworks offer this as well, so it&#039;s not a total win just for Grails, but it is something which allows people to be pretty productive very rapidly.  

Yes, this is a PHP website, and yes, I still use PHP on a regular basis.  I would still encourage people to look outside of the PHP world to learn from other camps, and take time to study those ideas and implementations.  You will look at PHP differently, and likely be a better developer for it in the long run.</description>
		<content:encoded><![CDATA[<p>Speaking as someone who has been doing PHP since 1996, and made a decent living at it, Java has strengths PHP may never have.  Java as a language itself it terribly verbose, and has a slower startup speed, and many other drawbacks.  But, using a framework on top of Java &#8211; specifically Grails (in my view) makes a lot of web development much much easier than with any PHP code (raw or with any framework).</p>
<p>I can&#8217;t explain the entirety of why I prefer Grails over any PHP framework, but here&#8217;s a few:</p>
<p>GORM &#8211; the ORM tool with Grails &#8211; makes it easy to express relationships and queries programmatically.  Having &#8216;typed&#8217; class properties allows the framework to infer much more about how to operate than the simple &#8220;public/protected/private&#8221; which PHP forces on you.</p>
<p>Private by default &#8211; all class properties are private by default, unless otherwise specified.  getters and setters are created during compilation, but can be overridden with manually-written code.  This saves a tremendous amount of boilerplate code that people used to write in Java (and now most PHP frameworks emulate, because the PHP language itself doesn&#8217;t support any other approach).</p>
<p>Domain-driven design &#8211; data models are created in &#8216;domain&#8217; classes, which are inspected and DB models are created automatically, including relationships, timestamp columns, and automatic ids.  Plugins exist for audit logging for any data changes.  This allows me to simply design my data objects and run the app &#8211; the creation and management of the database (whichever one I want, and Java supports many DBs) is handled for me.  Yes, I can override it&#8217;s behaviour and decisions if I want to, but I rarely want to do that.  Additionally, coming preconfigured with an in-memory database allows for rapid sketching out of ideas without even needing a &#8216;real&#8217; database to start with.</p>
<p>Scaffolding &#8211; some PHP frameworks offer this as well, so it&#8217;s not a total win just for Grails, but it is something which allows people to be pretty productive very rapidly.  </p>
<p>Yes, this is a PHP website, and yes, I still use PHP on a regular basis.  I would still encourage people to look outside of the PHP world to learn from other camps, and take time to study those ideas and implementations.  You will look at PHP differently, and likely be a better developer for it in the long run.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amedj</title>
		<link>http://www.killerphp.com/articles/php-vs-perl-vs-java-a-students-question/comment-page-1/#comment-96949</link>
		<dc:creator>amedj</dc:creator>
		<pubDate>Fri, 28 Aug 2009 16:22:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.killerphp.com/articles/?p=207#comment-96949</guid>
		<description>You should also look into the library support for each programming language. IF you intend to use MYSQL as your database layer, PHP would be the ideal choice since it offers many functions to do just that.  
I would also say that PHP is written primearely for the web application, where as java is for both web and desktop application. Thus, if your application requires integration of both web and desktop application, Java would be a suitable choice..</description>
		<content:encoded><![CDATA[<p>You should also look into the library support for each programming language. IF you intend to use MYSQL as your database layer, PHP would be the ideal choice since it offers many functions to do just that.<br />
I would also say that PHP is written primearely for the web application, where as java is for both web and desktop application. Thus, if your application requires integration of both web and desktop application, Java would be a suitable choice..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexandr Ciornii</title>
		<link>http://www.killerphp.com/articles/php-vs-perl-vs-java-a-students-question/comment-page-1/#comment-96229</link>
		<dc:creator>Alexandr Ciornii</dc:creator>
		<pubDate>Tue, 18 Aug 2009 07:46:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.killerphp.com/articles/?p=207#comment-96229</guid>
		<description>In Perl you need to use such tools as Perl::Critic, perltidy, Moose.</description>
		<content:encoded><![CDATA[<p>In Perl you need to use such tools as Perl::Critic, perltidy, Moose.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

