canspice.org

home about code feeds archives links

OSCON 2007: wxPerl: Agile Cross-Platform GUI Development, by Eric Wilhelm

wxPerl is an extension module that allows you to develop graphical user interfaces (or GUIs) in Perl. It’s multi-platform, uses native widgets, it’s object oriented and event driven. It runs on heaps of platforms. Why would we want to develop local desktop apps? To take advantages of local machine resources, to keep data private, etc. wxPerl is apparently hard to install, but it’s made improvements recently. wxGlade can be used to make a GUI, but there are a lot of problems with the auto-generated code it produces. Once you’ve figured out how to get started, don’t take the one-page academic example and transform that into an architecture. Use modularity, subclassing, traits, named subprocesses, and exert discipline. There was more to this presentation, but I zoned out.

A question from the audience raised the point that the documentation is more geared towards C++ programmers, and it doesn’t sound like there’s going to be a change to this. If you’re struggling you could use wxGlade and try to go through the code that it generates, but it’s pretty hairy and your eyes might bleed.

Tags: , , , ,

Leave a Reply

Name (required)
Mail (required)
Website
Comments