RSS Purge

Random tidbit. I’ve followed Merlin’s dangerous precedent, and nuked nearly everything I have in my RSS reader. Unlike Merlin, I didn’t delete everything. I’ve left only those places I know I enjoy reading at least once a week. Everything else is gone. I did, however, backup my subscriptions as an OPML file. I’ll drop that into my personal Subversion repo, svn rm and then forget about it. If I really, really need it I can dig and the clutter’s gone from view. But I’m sure I won’t need to. If you care at all, you can see my subscriptions on my public Bloglines profile. In addition to what you see I have one Trial folder, and one folder to ensure my own feeds come out right.

Selenium IDE: Super Easy Acceptance Tests

Selenium is an excellent open source tool to test your website automatically, right from your browser. The test scripts are written as plain HTML files, which makes them easy to read, edit, and understand. BUT, it’s even easier than that. There’s an IDE for developing these tests.

We used to use a different tool, but we found one that’s MUCH better. It’s called Selenium IDE. It’s a plugin to Mozilla Firefox. You can watch this video about how easy it is to record Selenium tests with Selenium IDE.

Install Selenium IDE

Once you’re ready to start, you can download Selenium IDE. (When you click, you’ll see a yellow bar near the top of the page that says Firefox requires you to allow Extensions to be installed from openqa.org. Click the Edit Options... button to allow the installation.)

Glimpse the Future

These automated tests are great, but sometimes we have trouble because they rely on specific data. This video shows an example of what is possible. The example is done in Ruby, so try to ignore that part if you’re not comfortable with Ruby. Watch, though, as it moves into automated acceptance tests that setup the database, click through the application, and do it in both Firefox and Internet Explorer. This is the vision that we have for automated acceptance testing. Enjoy.

What to use instead of JSF

I’ve had lots of feedback from listeners of my JSF podcasts. Many of them have asked what I’d recommend instead of JSF. I think the best answer is no answer here. Matt Raible’s latest post is a great example of the process I’d actually recommend to make your own decision.

Look at your project, your people, and your skills. Look at the industry directions, and contrast the approaches each framework takes. Look at your existing tools, your budget, tool documentation, forum support, and a growing collective knowledge of how to solve hard problems with a framework. From there, take your best guess and try it out on something small, then add a bit of complexity in difficult areas like using complex objects to drive your UI or reusing chunks of UI and controller logic. See how well your framework front-runner does.

Have a junior developer try to complete a maintenance task on your prototype. Evaluate the options enough to get a feel for it, but take the plunge at some point. Recognize that you can change it later, and that will cost something, but you need a longer term experience to know the bumps, bruises and bright spots. Blog about your experiences on the way to clarify and catalog the evolution of your thinking.

Finally, don’t choose simply one framework and always use that. Matt’s a great example in this area as well. If you look back, he’s done several comparisons of various web frameworks; often the same frameworks are in all of the comparisons. He’s made different recommendations over time depending on the goals of his comparison. He’s also looked at fringe frameworks and disected them to understand what they offered, even if he decided not to use them. These are the kinds of things you want to do or see others do when making a choice about most technical recommendations.