NanoDano's blog

Hello World with Tcl

Tcl is a language similar Bash because every line is a command and it can be scripted similar to shell scripts. Tcl can be used by itself but it typically embedded inside larger applications. Tcl with Tk toolkit allows you to create GUI applications. Once nice thing about Tcl/Tk is that it is widely available and works on multiple platforms. It does not create the nicest looking GUIs because it does not use native windows, but they are effective. Let's look at the most basic Hello World program. Let's name it hello.tcl.

How to Write GTK Applications with PHP

It is possible to write GTK2 application using PHP. It is a little work to get it compiled and installed, but once configured it is easy to write programs with GTK2. As of June 22, 2015 a development branch has been created for GTK3. Follow these installation instructions first. Then try out the code samples below. Load the php-gtk2 module in your php.ini as well.