Brian began developing applications for the Internet in 1995, and has continued to architect, design and develop Internet software for the last 11 years, including projects for IHG, IBM, Brighthouse, and Cox Target Media (Valpak).

Brian now works in Ruby on Rails full time as part of the team developing the two official web sites for Miley Cyrus.

Architecture



CMS/Portals: Java vs PHP

You’ll probably notice an emerging theme over the next few weeks of comparing PHP to Java. Please understand, that I know very little PHP. I am a Java Architect and Developer. But that said, there are a lot of problems in the Java industry right now, and I’m finding it very interesting to compare it to PHP. Perhaps, at the very least the Java community can learn some valuable lessons from PHP.

The Server Side has an article about comparing CMS/Portals in Java and PHP. They found what I have found in comparing many other apps, and that is that PHP generally offers more choices and more functionality. You can read more here.

One of the replies to the article was by Dave C, and I just have to put the text of his comment here. Its has some truth in it. Java can of course, be as simple as he is describing PHP, but as he says, “Java programmers tend to overengineer everything”. I have a gut feeling that he is right, and that in the past, I may well have done that myself.

Read the rest of this entry >>

Java-Killers

There is a lot of talk going on about replacements to Java, or “java-killers”, like another of the many Ruby Rails comparisons to Java. I doubt there’s much chance of Java being killed off. We still have Fortran, Cobol, and Ada out there, and when it comes to Internet development, PHP has been around for a long time, and provides many of the utilities used by web hosting companies. Perhaps a day will come when Java is no longer the most used Internet development platform, but if that happens, it won’t be because Java couldn’t have been the best, it will be because Sun and other Java contributors didn’t pay attention to the complaints of developers as they turned to other options.

I remember when I first got into using Java for Internet development. It was with the JSP .92 spec, and I fell in love with it. Previously, I had written a few servlets and applets, but was using Perl for web development. JSP seemed like such a huge step forward and was so much fun, but I can honestly say now, that much of Java development just isn’t as much fun.

In many ways its become overly complex, and I’m not talking about core Java but the J2EE additions. Its happened many times, and with 3rd party Java solutions as well. The pattern is the same each time. A technology will emerge as a good solution. As it is used, its found to address 95% of the use cases that occur in development. But, the other 5% of the use cases cause more complexity to be added. Unfortunately, 95% of the complexity is there only for 5% of the use cases. I wonder if sometimes, instead of trying to write the perfect solution, and thereby making the simple complex, perhaps we should deal with those situations in other ways.

Java is powerful and its still my preferred method of developing. However, its most certainly not the only tool for all situations, and I think that a large number of development teams are using it when they shouldn’t be, or, more troubling, using it how they shouldn’t be. More on that topic in another post.

« Previous Page


Close
E-mail It