<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://java.dzone.com"  xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dz="http://www.developerzone.com/modules/dz/1.0">
<channel>
 <title>Javalobby - Comments for &quot;Open-source Web applications, PHP vs. Java (Part 1 of 2)&quot;</title>
 <link>http://java.dzone.com/news/open-source-web-applications-p</link>
 <description>Comments for &quot;Open-source Web applications, PHP vs. Java (Part 1 of 2)&quot;</description>
 <language>en</language>
<item>
 <title>It won&#039;t be justifiable to</title>
 <link>http://java.dzone.com/news/open-source-web-applications-p#comment-3055</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;It won&#039;t be justifiable to compare a horse with a dolphin, right? I am not providing an analogy but wanted to make my view clear. I am sure that in future Java would definitely come neck to neck with what PHP and Ruby have achieved in the &amp;quot;open source web applications scope&amp;quot;. &lt;/p&gt;</description>
 <pubDate>Sat, 03 May 2008 11:22:40 -0400</pubDate>
 <dc:creator>nitinpai</dc:creator>
 <guid isPermaLink="false">comment 3055 at http://java.dzone.com</guid>
</item>
<item>
 <title>As the title suggests, the</title>
 <link>http://java.dzone.com/news/open-source-web-applications-p#comment-3015</link>
 <description>&lt;!--paging_filter--&gt;As the title suggests, the scope of the comparison was open-source Web applications outside the enterprise. Nobody is questioning the unsuitability of PHP for the enterprise. Atlassian does have some high quality products in the areas analyzed, but they are neither open-source nor lightweight.</description>
 <pubDate>Fri, 02 May 2008 03:41:25 -0400</pubDate>
 <dc:creator>sky_HALud</dc:creator>
 <guid isPermaLink="false">comment 3015 at http://java.dzone.com</guid>
</item>
<item>
 <title>Reading this article one</title>
 <link>http://java.dzone.com/news/open-source-web-applications-p#comment-3013</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Reading this article one would be bound to feel that PHP scores over Java. But I have a different opinion. The comparison done above are majorly related to the web application used for common usages. Like Blogs, Wiki&#039;s CMS which have become a norm for any organization lately. Yes, Java may not be a major contendor in these spaces but it was never meant to be. It started out with applications which utilized remoting services. After establishing in that space it tried to make its mark in the web application development since nowadays the web rules. &lt;/p&gt;&lt;p&gt; Having said that, it would not be justifiable to compare the &amp;quot;web based&amp;quot; approach of PHP and Java. With PHP you can make web applications, fine. But can you make an entire application for an Enterprise. Okay I have bought in the big &amp;quot;E&amp;quot; but the fact is, huge applications need robustness and scalability. Can it be done using PHP. Will an organization be able to build a banking application using PHP? Such applications are complex and contain enormous critical features which include transactions, security, messaging etc. And moreover having done the application it should be scalable as industries scale up the volume of business quite quickly especially in the finance domain.  I have seen applications which have the utmost complexity built into them and so many different product of J2EE utilized in them. And the J2EE stack does quite well in bridging the components.  &lt;/p&gt;&lt;p&gt; The J2EE stack has been maturing from the past and it has been changing drastically with the advent of EJB3, Annotations, Grails, OSGI, etc. It is trying to tame a mammoth just for making the work of developers less, which will definitely take time. But can PHP scale up to the same level as J2EE (its now Java EE) in the future. &lt;/p&gt;&lt;p&gt;If you ask me what would I choose to develop a blog application, my answer would be definitely PHP or Ruby. But if I ask you to build a full fledged financial application would your answer be PHP?  The comparison does not come on similar terms in my opinion. As far as hosting is concerned, once again it has been mentioned PHP is the better one. But it is only limited to hosting your blogs, wiki&#039;s and CMS. Coming back to financial institutions, they have their own servers to host the applications. Why would any big organization go for 3rd party hosting? It violates their security as well.&lt;/p&gt;&lt;p&gt;I did not find a mention of Atalssian Confluence in this entire article. Major organizations prefer it for their online knowledge management and what about bug tracking systems like JIRA. Obviously PHP cannot scale up to the size as them. Confluence too has the plugin system as Wordpress. &lt;/p&gt;&lt;p&gt; So all in all, both the technologies have their fare share in the things they are doing the best. It only depends on where they are compared to vizualise the potential benefits. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
 <pubDate>Fri, 02 May 2008 03:26:25 -0400</pubDate>
 <dc:creator>nitinpai</dc:creator>
 <guid isPermaLink="false">comment 3013 at http://java.dzone.com</guid>
</item>
<item>
 <title>10 years ago I was</title>
 <link>http://java.dzone.com/news/open-source-web-applications-p#comment-2940</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;10 years ago I was developing applications with ColdFusion and ActiveServerPages. ASP was full of crap at that time, mysterious database errors etc. However, I have never been so productive as I was when I did CF. There arised few problems though. The problems were targeted with a light gun and I felt I needed a better tool, so I switched to Java.&lt;/p&gt;&lt;p&gt;After 10 years of Java programming - have I gotten a heavier gun? Yes. What about productivity? Down in the rabbit hole. It&#039;s like.. every project went on to search a better method of doing things because of problems met with earlier approaches. Tried JSTL here, mvc XML/XSLT there and pure JSP at somewhere else. The Magical API just isn&#039;t there. The problem is that for some very odd reason every Java project try to become bigger than they really should be. Practically every opensource java library adds gazillion JARs and when you do that, your memory requirement goes up like a rocket. So there you are, screaming &amp;quot;I WANTED SOMETHING LIGHTWEIGHT&amp;quot; and your application has a number of libraries some of them causing odd Exceptions you have no clue about. &lt;/p&gt;&lt;p&gt;Meanwhile in the PHP world.. The PHP has had some very serious issues.  They have been modifying the core api quite a many times which has broken the older code and caused me some mistrust with that technology. Some years ago I had to write a few PHP projects, so I spent few days and wrote a form, validation, database, session classes myself - on top of the standard PHP code, simply because I wanted to isolate myself from the possible changes in the underlying technology. These were well spent few days. Productivity went up the roof. I used Smarty on the presentation layer and I organized all my other code to produce stuff that Smarty can swallow. I even did few nice templates that can print out a basic form simply by configuring it easily. I still hate the PHP, but love the productivity with it.&lt;/p&gt;&lt;p&gt;Back in the Java world. Searching for the Magic bullet, which isn&#039;t there. I have now quit searching for new APIs even though they seem simple at first glance. Most of them are simply new gimmicks which looks good and then hit you hard with sledgehammer and I have to start looking at just another new API. These are not the solution to the productivity and at the end of the day it&#039;s what counts. &lt;/p&gt;&lt;p&gt;What I did? I started writing my own lightweight APIs that work for me. If something goes wrong I can only blame myself, but if that happens - I can fix it myself. The only bigger problem, so far, is the lack of template engine that offers at least the same capabilities as smarty but writing a one by myself is simply too much. Many Java template engines boast how they can produce html, sql, xml, pdf .. but can&#039;t accomplish simple thing: template must be so easy that a HTML designer/graphician can learn it very quickly. Take a look at &lt;a href=&quot;http://smarty.php.net/&quot;&gt;http://smarty.php.net/&lt;/a&gt; and compare that documentation to Java template engines. You decide what you like, but I do like Smarty approach. &lt;/p&gt;&lt;p&gt;Quercus (Caucho&#039;s PHP5 implementation in Java) just might do the trick in mixing Java and PHP. Getting the best of two worlds could be the new path for Java on the server? Same happened to ColdFusion already. When guys at LiveSoftware added ColdFusion support to the JRun Server - the manufacturer of Cold Fusion - Allaire bought them. I don&#039;t know what&#039;s the current status but I think at least some version of the official Cold Fusion was written in Java. Allaire then went on and was merged to Macromedia and which was then again merged to Adobe. &lt;/p&gt;&lt;p&gt;Maybe something similar happens with the Java and PHP, too?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
 <pubDate>Wed, 30 Apr 2008 05:41:23 -0400</pubDate>
 <dc:creator>tpanula</dc:creator>
 <guid isPermaLink="false">comment 2940 at http://java.dzone.com</guid>
</item>
<item>
 <title>peterkirn wrote: Yeah, I&#039;m</title>
 <link>http://java.dzone.com/news/open-source-web-applications-p#comment-2931</link>
 <description>&lt;!--paging_filter--&gt;&lt;div class=&quot;quote&quot;&gt;&lt;div class=&quot;quote-author&quot;&gt;&lt;em&gt;peterkirn&lt;/em&gt; wrote:&lt;/div&gt; Yeah, I&#039;m with some other commenters here ... look, I love Java to death, but it&#039;s just not the right platform for *everything* -- it shouldn&#039;t be. I don&#039;t think hosting alone is the answer here. I&#039;ve found with heavily-trafficked PHP sites, you really need a dedicated server; those cheap hosting solutions aren&#039;t all they&#039;re cracked up to be for PHP any more than Java.&lt;/div&gt; &lt;p&gt; There is no question in my mind that PHP needs less server resourses to run than Java.  Ive seen too much evidence to the contrary.  Its because of the very different architectures.  Im not saying PHP is faster or a better technology, simply that he can handle more concurrent traffic than Java can on a comprable system.&lt;/p&gt;&lt;p&gt;I really believe the world needs a JSP-like techology that runs like PHP.  It would basically be be a mod_java type thing that invokes a VM with garbage collection and JIT technolgy turned off for each process.  It shouldnt be based on servlets or anything.  I dont think it would be that hard.  &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
 <pubDate>Tue, 29 Apr 2008 19:46:10 -0400</pubDate>
 <dc:creator>qweniden</dc:creator>
 <guid isPermaLink="false">comment 2931 at http://java.dzone.com</guid>
</item>
<item>
 <title>Yeah, I&#039;m with some other</title>
 <link>http://java.dzone.com/news/open-source-web-applications-p#comment-2929</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Yeah, I&#039;m with some other commenters here ... look, I love Java to death, but it&#039;s just not the right platform for *everything* -- it shouldn&#039;t be. I don&#039;t think hosting alone is the answer here. I&#039;ve found with heavily-trafficked PHP sites, you really need a dedicated server; those cheap hosting solutions aren&#039;t all they&#039;re cracked up to be for PHP any more than Java. PHP just happens to be a good choice for these particular kinds of projects, and there&#039;s a community around them, and a long history of development there. I don&#039;t see anything wrong with that.&lt;/p&gt;&lt;p&gt;Where I&#039;m really looking at Java is RIA and client, in which case it can complement these solutions; that&#039;s why JavaFX is so important. &lt;/p&gt;</description>
 <pubDate>Tue, 29 Apr 2008 17:49:22 -0400</pubDate>
 <dc:creator>peterkirn</dc:creator>
 <guid isPermaLink="false">comment 2929 at http://java.dzone.com</guid>
</item>
<item>
 <title>The elephant in the middle</title>
 <link>http://java.dzone.com/news/open-source-web-applications-p#comment-2928</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;The elephant in the middle of the room that everyone want to pretend isn&#039;t there is .NET.&lt;/p&gt;&lt;p&gt;I&#039;m not a Microsoft shill; hear me out.&lt;/p&gt;&lt;p&gt;Useable .NET hosting is about as cheap (under about $10/month) as useable PHP hosting.  There are arguably more open-source forum, blog, wiki and CMS options in the .NET space than there are in the Java space (look around on codeplex.com and csharp-source.net and see for yourself).  If someone wants to build new and interesting functionality on an existing stable, object-oriented, type-safe, managed-code, scalable platform with civilized code syntax and  easy-to-manage, cost-effective hosting, then they might turn to .NET before they turn to Java.  And that would be a loss for the Java platform. &lt;/p&gt;&lt;p&gt;By only catering to deep-pocketed, big enterprise-with-a-capital-E organizations that can afford to host their own servers, the Java community is missing out on a huge opportunity to serve an important, growing, enthusiastic user base.  I can just hear all the zealots shaking their heads, thumping their chests and pontificating about the technical superiority of their favorite platform, and how evil and misguided the Microsoft platform is.  I&#039;m not going to get into that debate, because it doesn&#039;t matter.  I just have two words to say about it: Sony BetaMax.&lt;/p&gt;&lt;p&gt;I love the Java platform.  But it scares me to think that it&#039;s &lt;a href=&quot;http://en.wikipedia.org/wiki/Balkanization&quot; target=&quot;_blank&quot;&gt;Balkanizing&lt;/a&gt; itself by creating too many choices for developers, without producing complete end-to-end solutions that are economical to implement (that includes the hosting story).&lt;/p&gt;&lt;p&gt;I find two recent developments in the Java space encouraging.  First, OSGI might allow application servers to be better managed in cost-effective virtualized and shared hosting  environments.  Second, the full open-sourcing of Java should allow it to be bundled more consistently in most Linux distributions, allowing it to achieve the ubiquity that PHP now enjoys.&lt;/p&gt;&lt;p&gt;It may be that the Java community has been optimizing the wrong things.  Platform choice has to be a matter of superior cost-benefit, not just superior technology.  &#039;Better&#039; isn&#039;t better if it&#039;s cost-prohibitive, or so complicated that it&#039;s risky.&lt;/p&gt;</description>
 <pubDate>Tue, 29 Apr 2008 17:40:02 -0400</pubDate>
 <dc:creator>jimben</dc:creator>
 <guid isPermaLink="false">comment 2928 at http://java.dzone.com</guid>
</item>
<item>
 <title>99% of everything I do</title>
 <link>http://java.dzone.com/news/open-source-web-applications-p#comment-2923</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;&lt;br /&gt;99% of everything I do amounts to get data out of a database (MySQL typically) and displaying it to the user and occasionally taking it from the user and putting it in the database. Just about any decent scripting language would suite. PHP + MySQL meets the write once run anywhere promise that Java made.  I have a fair amount of experience with Java and love it as a language but most people I know working with it now are over engineering products. It is a mind set thing really. The wonderful thing about webservices and websites is no one knows whether you are a few hundred lines of PHP script or several meg of Java libraries - and guess what - nobody cares :)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
 <pubDate>Tue, 29 Apr 2008 15:25:57 -0400</pubDate>
 <dc:creator>rh17781</dc:creator>
 <guid isPermaLink="false">comment 2923 at http://java.dzone.com</guid>
</item>
<item>
 <title>sky_HALud wrote:dn68495</title>
 <link>http://java.dzone.com/news/open-source-web-applications-p#comment-2913</link>
 <description>&lt;!--paging_filter--&gt;&lt;div class=&quot;quote&quot;&gt;&lt;div class=&quot;quote-author&quot;&gt;&lt;em&gt;sky_HALud&lt;/em&gt; wrote:&lt;/div&gt;&lt;div class=&quot;quote&quot;&gt;&lt;div class=&quot;quote-author&quot;&gt;&lt;em&gt;dn68495&lt;/em&gt; wrote:&lt;/div&gt; &lt;p&gt;&amp;gt;you can use just JSP and thats pretty simple, but people who are doing that type of web-development &lt;/p&gt;&lt;p&gt;&amp;gt;1) would find Java more difficult than PHP&lt;/p&gt;&lt;p&gt;Why? What is the difference betwwen the plain JSP and PHP? Take existing taglibs for JSP - JSTL, Coldtags ( http://www.servletsuite.com/jsp.htm of course :) etc. and you can develop even faster than in JSP. Just see for example the Coldfusion world. They are more than alive with their simple approach &lt;/p&gt;&lt;p&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;In my experience, even plain JSP pages are simpler to develop and maintain (without using an IDE) than those PHP based. If you add taglibs to your JSPs, you already get a far superior combination.&lt;/p&gt;&lt;p&gt;&lt;/div&gt; &lt;/p&gt;&lt;p&gt; I agree that the taglibs are a much cleaner approach, but in the JSP-only model, any business logic will be implemented in Java itself and its just been my experience that hobbiest programmers feel more comfortable with PHP because it has so many accessible utility methods and you dont need to learn OO concepts.  And thats not even talking about deployment.  With PHP you just upload your files into a directory, with Java you have to know about WAR files, web.xml and JDBC and the like.  For use who know this stuff inside and out, it seems simple, but for the non-proffessional hobbiest coder or someone who is more a &amp;quot;designer&amp;quot; than programmer, that stuff is a barrier to entry.&lt;/p&gt;&lt;p&gt;&lt;div class=&quot;quote&quot;&gt;&lt;div class=&quot;quote-author&quot;&gt;&lt;em&gt;sky_HALud&lt;/em&gt; wrote:&lt;/div&gt;&lt;/p&gt;&lt;p&gt;PHP does also have its fair share of Web frameworks. One should rather compare Struts and Spring MVC against those. &lt;/p&gt;&lt;p&gt;&lt;/div&gt; &lt;/p&gt;&lt;p&gt;Most PHP developement isnt MVC so the best apples to apples comparison is probabbly raw JSP to raw PHP.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
 <pubDate>Tue, 29 Apr 2008 09:43:27 -0400</pubDate>
 <dc:creator>qweniden</dc:creator>
 <guid isPermaLink="false">comment 2913 at http://java.dzone.com</guid>
</item>
<item>
 <title>Not bad, some of your links</title>
 <link>http://java.dzone.com/news/open-source-web-applications-p#comment-2912</link>
 <description>&lt;!--paging_filter--&gt;Not bad, some of your links aren&#039;t working, but it&#039;s not bad. I know it&#039;s good since it&#039;s 100MB to download.     I&#039;m going to download this and see if I can start a new javalobby that runs on java -  seriously.</description>
 <pubDate>Tue, 29 Apr 2008 09:03:34 -0400</pubDate>
 <dc:creator>sybrix</dc:creator>
 <guid isPermaLink="false">comment 2912 at http://java.dzone.com</guid>
</item>
<item>
 <title>dn68495 wrote:&gt;you can use</title>
 <link>http://java.dzone.com/news/open-source-web-applications-p#comment-2911</link>
 <description>&lt;!--paging_filter--&gt;&lt;div class=&quot;quote&quot;&gt;&lt;div class=&quot;quote-author&quot;&gt;&lt;em&gt;dn68495&lt;/em&gt; wrote:&lt;/div&gt;&lt;p&gt;&amp;gt;you can use just JSP and thats pretty simple, but people who are doing
that type of web-development &lt;/p&gt;&lt;p&gt;&amp;gt;1) would find Java more difficult than PHP&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Why? What is the difference betwwen the plain JSP and PHP? Take existing taglibs for JSP - JSTL, Coldtags  ( http://www.servletsuite.com/jsp.htm of course :) etc. and you can develop even faster than in JSP. Just see for example the Coldfusion world. They are more than alive with their simple approach &lt;/p&gt;&lt;p&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;In my experience, even plain JSP pages are simpler to develop and maintain (without using an IDE) than those PHP based. If you add taglibs to your JSPs, you already get a far superior combination.&lt;/p&gt;&lt;p&gt;PHP does also have its fair share of Web frameworks. One should rather compare Struts and Spring MVC against those. &lt;/p&gt;</description>
 <pubDate>Tue, 29 Apr 2008 08:58:39 -0400</pubDate>
 <dc:creator>sky_HALud</dc:creator>
 <guid isPermaLink="false">comment 2911 at http://java.dzone.com</guid>
</item>
<item>
 <title>maddcast wrote:I don&#039;t see</title>
 <link>http://java.dzone.com/news/open-source-web-applications-p#comment-2910</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;&lt;div class=&quot;quote&quot;&gt;&lt;div class=&quot;quote-author&quot;&gt;&lt;em&gt;maddcast&lt;/em&gt; wrote:&lt;/div&gt;I don&#039;t see Liferay in the list of CMS. I think it&#039;s the best of its kind.&lt;/div&gt;&lt;/p&gt;&lt;p&gt;Konstantin, thanks for pointing this out. I updated the original post with some info about Liferay. &lt;/p&gt;</description>
 <pubDate>Tue, 29 Apr 2008 08:48:51 -0400</pubDate>
 <dc:creator>sky_HALud</dc:creator>
 <guid isPermaLink="false">comment 2910 at http://java.dzone.com</guid>
</item>
<item>
 <title>&gt;you can use just JSP and</title>
 <link>http://java.dzone.com/news/open-source-web-applications-p#comment-2908</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;&amp;gt;you can use just JSP and thats pretty simple, but people who are doing
that type of web-development &lt;/p&gt;&lt;p&gt;&amp;gt;1) would find Java more difficult than PHP&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Why? What is the difference betwwen the plain JSP and PHP? Take existing taglibs for JSP - JSTL, Coldtags  ( http://www.servletsuite.com/jsp.htm of course :) etc. and you can develop even faster than in JSP. Just see for example the Coldfusion world. They are more than alive with their simple approach &lt;/p&gt;</description>
 <pubDate>Tue, 29 Apr 2008 07:30:23 -0400</pubDate>
 <dc:creator>dn68495</dc:creator>
 <guid isPermaLink="false">comment 2908 at http://java.dzone.com</guid>
</item>
<item>
 <title>While I am obviously biased,</title>
 <link>http://java.dzone.com/news/open-source-web-applications-p#comment-2907</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;While I am obviously biased, I would argue that dotCMS (www.dotcms.org) is by far the best open source Java WEB content management solution available.  It is really feature complete.  And while documentation has been scarce - we are working on that - there is an active and engaged community behind it.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
 <pubDate>Tue, 29 Apr 2008 07:27:55 -0400</pubDate>
 <dc:creator>wezell</dc:creator>
 <guid isPermaLink="false">comment 2907 at http://java.dzone.com</guid>
</item>
<item>
 <title>I don&#039;t see Liferay in the</title>
 <link>http://java.dzone.com/news/open-source-web-applications-p#comment-2905</link>
 <description>&lt;!--paging_filter--&gt;I don&#039;t see Liferay in the list of CMS. I think it&#039;s the best of its kind.</description>
 <pubDate>Tue, 29 Apr 2008 06:02:46 -0400</pubDate>
 <dc:creator>maddcast</dc:creator>
 <guid isPermaLink="false">comment 2905 at http://java.dzone.com</guid>
</item>
</channel>
</rss>
