Rapid Application Development with GNOME and Python

Christian Egli

<christian.egli@stest.ch>

RAD is a programming system that enables programmers to build working programs very quickly. Two of the most popular RAD systems for Windows are Visual Basic and Delphi.

With the combination of tools such as GNOME, Python, Glade and LibGlade the world of Free Software also offers an excellent RAD system.

Usually Glade is used to generate C or C++ code directly. Instead, the XML representation of the GUI can be loaded at runtime of the program. LibGlade then recreates the GUI as it was designed in Glade.

* Hands-on Demo

By writing a small application "gPizza" for the configuration of the hacker's favourite food, I demonstrate live how Python and GNOME can be used to create a running prototype in a very short time.

Highlights of the demo are:

  • creation of the GUI with Glade
  • introduction of the layout philosophy of Gtk+ and presentation of some of the Gtk+ and GNOME GUI Components
  • attachment of widgets, i.e., their signals to Python callbacks
  • use of the standard Python database API and a few more lines of Python code to connect to a database and fetch some rows that contain all the crucial information to configure pizzas.

Christian Egli holds a master's degree in computer science and works as a software engineer for a company providing telecom test solutions.


Last modified: September 7, 2001
[Go to: Invited speaker] [Go to: Security op de desktop, lukt dat?] [Go
to: Index]