Can Java CMS match the PHP ones?

One question that keeps being asked about IndicThreads.com is that how come you are running on PHP when you are supposed to be a Java J2EE portal?

Honestly, we would have loved to be on Java and be able to experiment on the site using Java software and also keep generating in house articles about how we manage IndicThreads using X component and how we upgraded to Y server and so on.

However going with a Java Content Management
System (
CMS) wasn’t the best option for us at the time we launched and I am not sure if it still is.? While creating IndicThreads, we tried out and compared several CMSs from the Java as well as the PHP stable. Based on those learnings, below is an attempt to list some of the points that I think make PHP CMSs a better choice than the Java ones:

  • Evolved:
    The PHP CMSs seemed far more evolved. Mambo, PostNuke, Drupal all have huge communities and have been around for quite some time. They are also running on thousands of sites and so are very well tested.
  • Ease of Use:
    PHP CMSs are remarkably easy to use. In 15 minutes time, even a PHP illiterate person can get a site going . I doubt if that can be done with a Java CMS.
  • Hosting:
    Java hosting is not only costly but it is also a specialized segment. Not many hosting providers understand how Java J2EE web applications are deployed. Apache + PHP is so common that even the small hosting companies are good at it and can fix issues in no time.
  • Sleek:
    Some Java CMSs are 10 times bigger and more complex than the popular PHP ones. If you know HTML, you can more or less figure out how a PHP CMS is working. That also makes tweaking the CMS a fairly simple task.
  • Community:
    The community? around Java is one of its strong points but PHP CMS also have huge community bases and so getting help from fellow users is simple.
  • Non Issues:
    Even if we presume that PHP cannot match Java in terms of scalability, object orientation…. it wouldn’t matter much to most website creators. Having a good, simple, feature rich, easy to host and maintain site, are the things that matter most.

As of today, the PHP CMSs seem to have convincingly beaten the Java ones.

Maybe while the Java world was engaged in talking of high end, super techie stuff, with the words ‘enterprise’, ‘transactions’ and ‘SOA ’embedded in every sentence, the PHP guys actually went out and created a lot of simple yet very useful software.

>> PHP CMS: http://www.opensourcecms.com/
>> Java CMS: http://java-source.net/open-source/content-managment-systems

Harshad Oak

Harshad Oak is the founder of Rightrix Solutions & IndicThreads. He is the author of 3 books and several articles on Java technology. For his contributions to technology and the community, he has been recognized as an Oracle ACE Director and a Sun Java Champion. Contact - harshad aT rightrix doT com & @HarshadOak

105 thoughts on “Can Java CMS match the PHP ones?

  • June 25, 2010 at 1:38 pm
    Permalink

    Wow, my Drupal is giving me a hell of trouble. I just googled to see what Java CMSe have to offer. I landed on this page. I think it is quite interesting to read other people's comment.
    I am a Java programmer but I am trying my hands on Drupal due to so much noise which is being made about it. I think it is great and simple to use. I personally have nothing against any programming language. In my opinion, the power of a programming language lies in the craziness of it's developers.
    PHP is now object oriented and hightly scalable. I would prefer using PHP for simple web applications and Java for web applications where security is of higher concern because the logic will be embedded in the servlets I write unlike PHP where my logic can be unveied by crazy guys.

    • June 1, 2011 at 3:18 pm
      Permalink

      I’m a C++ and Java developer with decades of experience and tend to know when software design and architecture goes awry.  After having several months of exposure to Drupal it’s clear that although it does some simple things very nicely, overall it’s the worst hack of a large system I’ve ever seen in my life!

      Thanks for the suggestions here for (proper?) CMS options.

  • April 9, 2010 at 5:06 pm
    Permalink

    I think you make the difference between a page oriented CMS, which is focused to put up a page which looks a bit like you want it to be and system which is focused on content.

    Most PHP look at the 15 minute rule to set up a website (which is fine). Systems like Day, Tridion & Hippo CMS (Java & the last one is open source) are focused on how a marketeer or enterprise work and make money with their content (content conversion, single source publishing, making connection with other systems, publish to multiple platforms (print, I-phone, subsites, intranet, etc.).

    My advise would be to look at the goal you want to achieve & pick your system.

  • April 5, 2010 at 6:52 am
    Permalink

    ColdFusion beats both PHP and Java hands down. It's at least twice as fast to code in as PHP, yet it can be extended almost indefinitely (by writing custom tags or by calling Java classes). It's also scalable because it's multi-threaded and has load-bearing built in. It's especially well adapted to Ajax, not least because it can produce JSON without any extra coding. The only downside is the cost – but if you can't afford $25 a month for hosting then you probably can't afford a programmer in the first place.

  • November 22, 2009 at 2:43 pm
    Permalink

    Now Liferay Portal has improved a lot and does a better job as a Java CMS/WCM. The beauty is you can write
    the plugins and extension to the portal in other languages like PHP or Ruby.

    Contact me:

  • November 22, 2009 at 9:13 am
    Permalink

    Now Liferay Portal has improved a lot and does a better job as a Java CMS/WCM. The beauty is you can write
    the plugins and extension to the portal in other languages like PHP or Ruby.

    Contact me:

  • November 4, 2009 at 7:54 pm
    Permalink

    Hello,

    I’m a java developer, but i am actually using php cms. In my opinion, no language can beat PHP CMS.

  • November 4, 2009 at 2:24 pm
    Permalink

    Hello,

    I’m a java developer, but i am actually using php cms. In my opinion, no language can beat PHP CMS.

  • September 17, 2008 at 8:20 pm
    Permalink

    Hello to everybody, we have been working for few months on the core for a new JAVA JEE CMS a copy of joomla in functionality, we have been using PHP cms Joomla for a long time , but when it comes to high traffic and scalability php its no good. We decided to port this EASY TO USE of PHP into a GWT CMS with a simple ADMINISTRATION and installation, we already have code available in Source forge and we would like you to help us build this simple CMS, AND WCM , hope you can join and help us , bye Adrian Cadena , http://www.melenti.org

  • September 17, 2008 at 8:20 pm
    Permalink

    Hello to everybody, we have been working for few months on the core for a new JAVA JEE CMS a copy of joomla in functionality, we have been using PHP cms Joomla for a long time , but when it comes to high traffic and scalability php its no good. We decided to port this EASY TO USE of PHP into a GWT CMS with a simple ADMINISTRATION and installation, we already have code available in Source forge and we would like you to help us build this simple CMS, AND WCM , hope you can join and help us , bye Adrian Cadena , http://www.melenti.org

  • November 1, 2007 at 10:17 pm
    Permalink

    Check out javacms.com
    It has the list of all companies that have cms built on Java platform

  • November 1, 2007 at 10:17 pm
    Permalink

    Check out javacms.com
    It has the list of all companies that have cms built on Java platform

  • July 20, 2006 at 9:49 am
    Permalink

    Let’s start looking at the picture up close. PHP vs. Java is like asking do you want a hamburger or a hot dog. Both will feed your appetite, some people just proffer one over the other, no matter what you do to convince them that the other is better their opinion is their opinion.

    If you read the majority of the postings, you will see ~ the same stance. One is better than the other in different areas. Be it that one is more advertised and marketed to large scale companies, and most companies think that no-cost solutions fail; and that a lot of the IT departments out there are looking for job security, you can’t look a solution in the face and spit! Or can you?

    Java has been marketed for just about as long as the Internet has been, in one way or another. PHP on the other hand is still in it’s infancy, but not really!! It’s age vs. it’s maturity is the question. Java and PHP together is a really beautiful thing. PHP has functionality for incorporation of Java!

    Let’s look at the other problem, blind statements made by people that just don’t know for themselves – mainly because they are just ignorant of the facts! Just as Java is extensible so is PHP. PHP is beautiful but so is Java, the Yen & the Yang!

    The lack of variable constraints is a good thing…. less code and faster processing. If you need to do a variant comparison… do it.

    How many people that have used M$ Front Page have you heard state ‘I know how to write HTML!’ That is exactly the same reason you see a lot of poorly implemented PHP applications… it’s cheep, readily available, and you don’t need to study for months to be a novice. PHP is defiantly a mix of both worlds simplicity and power… SIMPLICITY AND POWER!!! Sorry just trying to get my point across.

    Instead of bashing the other guy, try to understand (and of course I don’t know what I’m talking about) they are both great, girls just do everything better than guys do! Duh. That was taught in grade school.

    — Just take the two week challenge. If after two weeks you don’t like the results, contact us for a full money back guarantee…

    Sarcasm Extra!

  • July 20, 2006 at 9:49 am
    Permalink

    Let’s start looking at the picture up close. PHP vs. Java is like asking do you want a hamburger or a hot dog. Both will feed your appetite, some people just proffer one over the other, no matter what you do to convince them that the other is better their opinion is their opinion.

    If you read the majority of the postings, you will see ~ the same stance. One is better than the other in different areas. Be it that one is more advertised and marketed to large scale companies, and most companies think that no-cost solutions fail; and that a lot of the IT departments out there are looking for job security, you can’t look a solution in the face and spit! Or can you?

    Java has been marketed for just about as long as the Internet has been, in one way or another. PHP on the other hand is still in it’s infancy, but not really!! It’s age vs. it’s maturity is the question. Java and PHP together is a really beautiful thing. PHP has functionality for incorporation of Java!

    Let’s look at the other problem, blind statements made by people that just don’t know for themselves – mainly because they are just ignorant of the facts! Just as Java is extensible so is PHP. PHP is beautiful but so is Java, the Yen & the Yang!

    The lack of variable constraints is a good thing…. less code and faster processing. If you need to do a variant comparison… do it.

    How many people that have used M$ Front Page have you heard state ‘I know how to write HTML!’ That is exactly the same reason you see a lot of poorly implemented PHP applications… it’s cheep, readily available, and you don’t need to study for months to be a novice. PHP is defiantly a mix of both worlds simplicity and power… SIMPLICITY AND POWER!!! Sorry just trying to get my point across.

    Instead of bashing the other guy, try to understand (and of course I don’t know what I’m talking about) they are both great, girls just do everything better than guys do! Duh. That was taught in grade school.

    — Just take the two week challenge. If after two weeks you don’t like the results, contact us for a full money back guarantee…

    Sarcasm Extra!

  • July 18, 2006 at 10:13 pm
    Permalink

    My little opinion
    Java must be huge(A LOT) & complex (not so much) cause a lot of software & hardware industry have to ‘dig money’ from it. But most times this is not the right solution for simple problems (in this case, simple = a norma ecommerce site, complex = bank systems, integrated with crm and other thinks like this 🙂 ) Php works great in this cases.
    Bye

  • July 18, 2006 at 10:13 pm
    Permalink

    My little opinion
    Java must be huge(A LOT) & complex (not so much) cause a lot of software & hardware industry have to ‘dig money’ from it. But most times this is not the right solution for simple problems (in this case, simple = a norma ecommerce site, complex = bank systems, integrated with crm and other thinks like this 🙂 ) Php works great in this cases.
    Bye

  • July 13, 2006 at 9:28 pm
    Permalink

    PHP lacks simple things like namespaces, basic error checking
    How do you deal with php when it comes to namespace ?
    Do you include your SS or secret code in front of every class to make sure none of the other class you are sharing with your co-workers or open source libraries have the same name as yours?

    What happens when by accident you mistype a variable and php just creates it at the spot?
    How do you deal with not having variable types? That makes your comparisons hard to spot for errors.
    Not to mention, how do you deal with huge volume and the need for true clustering and object synchronization. Try to achieve that with PHP.
    PHP is fast but the amount of coding time you save you spent it on debugging it stupid error that the language does not provide for you.
    I deal with large PHP projects but every time I switch to JAVA for some other project it makes it hard to switch back to PHP.

  • July 13, 2006 at 9:28 pm
    Permalink

    PHP lacks simple things like namespaces, basic error checking
    How do you deal with php when it comes to namespace ?
    Do you include your SS or secret code in front of every class to make sure none of the other class you are sharing with your co-workers or open source libraries have the same name as yours?

    What happens when by accident you mistype a variable and php just creates it at the spot?
    How do you deal with not having variable types? That makes your comparisons hard to spot for errors.
    Not to mention, how do you deal with huge volume and the need for true clustering and object synchronization. Try to achieve that with PHP.
    PHP is fast but the amount of coding time you save you spent it on debugging it stupid error that the language does not provide for you.
    I deal with large PHP projects but every time I switch to JAVA for some other project it makes it hard to switch back to PHP.

  • July 4, 2006 at 10:45 am
    Permalink

    Hello all,

    I have been looking around recently for a decent content management system and to be honest there is nothing that matches what I consider to be a true CMS.

    For me a CMS basically a database for storing content. I want to keep images in there, I want to associate word documents with them that describe the design brief for that document, I want to store contracts (with versioning), PDFs I want it all in there.

    Then I want different applications that allow access to this content. An internal application for adding and updating content (providing the user has correct permissions). Plugins to word, photoshop etc that allow me to save directly into the CMS. A web site with dynamic that can take the the content, latest approved articles etc and display them on the public web site.

    From what I have seen most system are based on managing web content. Building web page templates and fillinf them with the managed content.

    I want something bigger and I’m not sure that this can be provided by a php solution. For me this needs to be done in an Enterprise Enironment, i.e. J2EE.

    Having said that I now wait to be shot down 😉

    regards

  • July 4, 2006 at 10:45 am
    Permalink

    Hello all,

    I have been looking around recently for a decent content management system and to be honest there is nothing that matches what I consider to be a true CMS.

    For me a CMS basically a database for storing content. I want to keep images in there, I want to associate word documents with them that describe the design brief for that document, I want to store contracts (with versioning), PDFs I want it all in there.

    Then I want different applications that allow access to this content. An internal application for adding and updating content (providing the user has correct permissions). Plugins to word, photoshop etc that allow me to save directly into the CMS. A web site with dynamic that can take the the content, latest approved articles etc and display them on the public web site.

    From what I have seen most system are based on managing web content. Building web page templates and fillinf them with the managed content.

    I want something bigger and I’m not sure that this can be provided by a php solution. For me this needs to be done in an Enterprise Enironment, i.e. J2EE.

    Having said that I now wait to be shot down 😉

    regards

  • June 4, 2006 at 3:52 am
    Permalink

    Regarding Ragap Chettri’s comment, JAVA does NOT lose out to PHP in OOP in any aspect, any PHP proficient user would understand the limitations of PHP’s OOP and that JAVA is a true OOP language. Not to mention its a comparison of languages in a different level, JAVA would definitely have more defined features and better efficiency, but that would be at the cost of ease in coding and that the level of understanding in java would be more taxing as a whole.

Leave a Reply