Showing posts with label GUI. Show all posts
Showing posts with label GUI. Show all posts

Saturday, 20 July 2013

I hate writing GUIs

Honestly, I hate it. Every time, I come across it, I end up getting to a point where I want to shoot myself. I had this moment today yet again. This time in the context with trying to write a very simple extension for Firefox. I mentioned before that I am an open-source contributor for the Mozilla Foundation, so for those one or two people who read this blog, it may come as no surprise that I also try to write other stuff for them, as well.

The Graphical User Interface (GUI) for Mozilla is created using a specific type of XML (Extensible Mark-up Language) called XUL (XML User Interface Language) and the logic is done using JavaScript. Maybe it is, because I am not interested in design and have no mind for, but everytime I try to do a GUI, I get bored and so disinterested, it is not even funny anymore. I am so much more interested in writing the actual logic. The stuff that does things.

GUI writing is repetitive and because there is so much of it, it takes ages to get into it. I get frustrated, because I know what I want to achieve and then about an hour or two later, I finally manage to get something implemented that somehow resembles what I want. I say "somehow resembles", but it is never in the exact right place or is somehow "off". It is a source of constant aggravation to me.

That's where WYSIWG Editors come in handy. Unfortunately, in this case, there aren't many decent and well maintained XUL Editors out there. I found that XUL Gear did not work on my PC, so I settled for XULExplorer. It's decent, but obvious that it is a one man effort.

Ok, enough whingeing about it. Back to it. If I ever get this finishes, I will write about it.

Thursday, 2 February 2012

WYSIWYG: A new start with wxFormBuilder

Warning, this is just a short update...

I have been absent for a while and I apologise, real life is keeping me rather busy, I must admit. Regarding things relevant to this blog, I have been busy transferring my GUI design to a new WYSIWG editor in order to have results that are more like what I was hoping to achieve. I used XRCed or wxGlade before, but I have not been content with them. The project XRCed has been inactive since a long time, so it was time to move on and something about wxGlade I just don't like. It is, in my opinion, a bit unwieldy and I find myself trying to incorporate widgets that aren't available in it.

As a consequence, I have been looking for an alternative, which came in the form of wxFormBuilder. It looks like a nice project and the design borrows heavily from Microsoft's Visual Express, which is not always a bad thing. As such, I have been busy, unlearning some of the things, I got used to and gotten to grips with peculiarities of the other. So far, very pleased with it. Unfortunately, there isn't a particularly good tutorial out there, which means, I will ned a little longer. At the off-chance, I may be able to write one once I have become more proficient with it.

Anyhow, so long, folks and thanks for all the fish.