login
Blurts on the Art of Software Development

Today | RSS | RDF | Atom | Other Tags
Categories : All | All | CI | .NET | General | Humour | Java | Personal | Reviews | Ruby | SW Eng

In his latest blog entry titled PHP confessions from a Java fiend, Cedric pretty much acknowledges that PHP is a great tool for lots of things.

It was interesting to learn that Cedric had also picked up PHP because I'm also reading a book on PHP5's object-oriented capabilities. No, I'm not jumping ship. I just like taking a look at what other communities are doing and whether I could learn something from them. So far, I'm not too impressed but I have to say PHP has come a long way since the last time I did anything with it (around 2000).

I'm currently reading Spring in Action from Manning, I've got Pro Spring on its way from Apress, and we recently adopted the Spring Framework at work. Spring has so many benefits over Enterprise JavaBeans that I have to wonder whether it really pays off to do a new edition of a book on EJB 2.1? Sure, the first book to cover the forthcoming EJB 3.0 will probably be a bestseller and all that, but 2.1?

Having said that, Spring is still not perfect (nothing is, after all) but its XML configuration files are still much easier to deal with in terms of testing, for example, than EJB's deployment descriptors and the container (although you can do pretty much with MockEJB).

Reading this prompted a question -- is anyone out there actually writing their JavaScript with unit tests? You are? Great! Now please tell the rest of us how exactly are you doing it and how has it worked out for you.