Wednesday, March 26, 2008

wxRuby beats fxRuby in my book

Let me start by saying that I think fxRuby is a great UI framework. I started using several months ago to write a UI for RubySettlers. The UI was almost finished, but there were a few bugs I still had yet to iron out. The UI bugs were really difficult (as UI bugs usually are) and I was just getting frustrated.

So finally, I decided to investigate wxwidgets. It's an older framework and more stable. As I was researching, i found that wxwidgets lets you define forms and controls inside an xml file(XRC). And there are a bunch of WYSIWYG editors out there for XRC. I downloaded DialogBlocks and started using right away. It was GREAT. I had 4 dialogs set and ready to go in 20 minutes.

Once I had all my dialogs built, I was ready to write some code and start adding the functionality I needed. I started reading the docs, and they're Awesome! Almost everything is documented on their site and any questions I had were answered after 5 minutes of searching!

Now, it's a few days later and I've almost re-written my entire GUI in wxRuby! And on top that, eveything is using native controls, so my ruby app looks like a real application! :)

1 comment:

Alexei Vinidiktov said...

You should also try wxFormBuilder. It's a great free GUI editor for wxWidgets.