Archive for December, 2005

Rails hits 1.0!!

December 14th, 2005

Congratulations are in order for the Rails team as they have now hit the big number 1.0!With the latest version comes a revamp of their site too.

If you already have Ruby with Gems installed then simply run:

gem install rails –include-dependencies

Or if not then you can download all you need from the Ruby on Rails site.

ElementTree

December 7th, 2005

For those not in the know ElementTree is a Python API created by Fredrik Lundh to handle XML data in a simple, clean and powerful way. However, unlike the more complicated non-pythonic modules such as SAX and DOM – it is not included in the core Python installation.

If you’ve any experience with using Python with XML you’ll know its not exactly ‘nice’. In many example scripts I’ve come across that require the parsing of XML data a class is added to perform some initial breaking down and simplification before operating on it. This lack of a simplified API can be immensely annoying when in the Python community we’re used to the Way being clear.

The way ElementTree works is elegent and its also fast. Evidence of its speed over other DOM-based modules can be seen in tests done by David Mertz – in which he also benchmarks one of his own XML parsing modules – xml.objectify.

The reasons for ElementTree not being included are largely political. To add it to the core would mean Lundh relinquishing some control of it – something which he would understandably feel uncomfortable about.

In the mean-time for those wanting simplicity in their XML operations I strongly recommend downloading, either ElementTree from the Effbot site or David’s xml_objectify.

New Ruby forum at MySQL

December 1st, 2005

MySQL AB have created a new forum for Ruby developers over at their main site. All you Ruby developers out there converge on the place and make it a bustling community. MySQL are giving a prime oppurtunity to get your voices heard so take advantage of it now!

Ruby forum at MySQL.

Java reaching the end of the road?

December 1st, 2005

An article over at the Register offers up a number of interesting points on the future of Java. Yes, I know its been said many times that Java’s days are numbered, but with the increasing availability and popularity of languages like Python & Ruby. What the report also points out is and Java’s increasingly complex and bloated base making the system unwieldly and difficult to use for anything but enterprise projects.

The Java platform is becoming increasingly complex, the JVM has an obesity problem, the addition of generics has added complexity to the previously clean syntax, the layers of XML configuration required to plumb a full J2EE stack are weighing developers down. Tate puts a lot of this down to the fact that the big players (starting with Sun and IBM) are focused on large-scale enterprise development projects.

Is this the beginning of the end for Java or is it merely moving onto new pastures? When it leaves though it’ll most certainly be replaced by the new contenders Python, Ruby and their frameworks; Django, Rails, etc.