Programming Language Overload.
Written on October 25th, 2006 by JamesI’ve recently finished an Open University course entitled “Object-Oriented Programming with Java”. It culminated in an exam, my first for about twelve years, and now it’s over I want to actually use some of this knowledge in all that spare time.
Browsing the Internet it is apparent that there are a lot of programming languages out there from which to choose! Each has its strengths and weaknesses, so here are a few that I either use or want to waste some time on.
PHP.
I know… this is not the best OOP language. I’ve heard it said and having taken the OU course understand why, but it is also the language used by two of my favourite web applications, Wordpress and Drupal.
As you can plainly see this blog is powered by Wordpress running on my web server. Wordpress is as easy to install as it claims and the theme templating system is relatively straight forward. Oh yes, I know you wouldn’t know it to look at this standard looking blog, but I intend to do something about that with the extra time I mentioned earlier. Maybe more about this in a later post.
It is most definitely not OOP, sticking firmly to the procedural approach to which PHP is probably best suited. A fact that is also true of Drupal.
In my opinion Drupal is one of the best CMS applications for relative beginners anticipating something more than a weblog. I’ve found the installation relatively simple and the coding is reasonably clear… for a procedural application. What appeals the most is that it’s a very compact and tidy installation. The file structure is well thought out and things easy to find. But despite a good templating system it doesn’t really satisfy my craving for true separation between content and presentation.
Java.
Java is object-oriented and the basis for my course. I intend to take the follow-on courses too, so may be I should stick to what I know, but where’s the fun in that?
Well the “fun” starts with developing another web application based on Apache Cocoon or Lenya. Both of these applications are developed in Java and I suspect are capable of providing much more flexible and powerful web services than basic CMS.
I hope to couple Cocoon with XML to provide content in a range of presentation formats and for exchange with other web applications. It’s the closest you can get to handling content and presentation independently. Don’t know how well it will work, but it should be interesting.
Ruby on Rails.
Ruby is definitely an OOP language. In fact it couldn’t get much more object-oriented, there are two other things to think about here. First Ruby is an interpreted scripting language on its own and second, putting it on Rails provides a new web development framework. Add all this together and despite not knowing what I want to do with it I still have to try it out for myself.