Versions 2.0 alpha, beta, zeta ...

PHP-GTK 2 is Here !

After a long development and QA cycle, we are proud to release version 2.0 of PHP-GTK. This release, named leap day special, marks PHP-GTK 2 as stable and comes with support for GTK+ versions 2.6 through 2.12. Although support for more recent versions than 2.8 is not 100% complete, we hope to cover as much of the API as possible in upcoming releases.

This release comes with support for custom GTypes and signals, more API coverage, and the usual slew of bug fixes. Take a look at the Changelog for detailed information on changes since the beta.

If you're looking to learn PHP-GTK, the documentation is a great place to start. There's also an excellent book from Apress by Scott Mattocks on the topic. We hope you will enjoy developing applications with PHP-GTK 2. Please don't hesitate to file bug reports at the bug tracker, or give us feedback on the php-gtk-general mailing list. Have fun!

GdkGC: drawing at the pixel level

This tiny example shows how to perform basic drawing functions at the GDK level in a GTK application. For this one needs to access the drawable window (GdkWindow) and graphics context (GdkGC).

knj PHP-BCompiler

screenshot for knj BCompilerThis application can compile a whole website or PHP-application into bytecode via the BCompiler-module and its own simple and easy-to-use graphical client. It can also do it via a CLI-interface.

Installation on Debian/Ubuntu
sudo wget -O /etc/apt/sources.list.d/
sudo aptitude update
sudo aptitude install knjphpbcompiler

This application makes use of the knjPHPFrameWork, which can be found here:

knj SQL-admin

screenshot for knjSQLAdminThis application can manage a database for you, in the way phpMyAdmin does. Furthermore, it can convert various types of databases to another type of database (eg from MySQL to SQLite, Access to MySQL, PostgreSQL to MySQL and more).

It can also backup your database in plain SQL - it can even backup a database in another type of SQL-format (backup a MySQL-database in valid SQLite SQL-format and more).

GtkEntry : IPv4 Entry made simple with IPEntry

screenshot for IPEntry widgetIPEntry is a widget that allows the user to enter an IPv4 address. It performs some checks to see if user input is valid and implements the get_text() and set_text() methods.

Compile That PHP-GTK2, and More

One thing that causes a lot of problems still right now is the lack of pre-compiled packages for Linux distributions. Between that and users who would just want to compile their own anyway I get a lot of questions about how to setup a system for, and compile, PHP-GTK2. Personally, I get a bit weary of repeating the same instructions over and over, so I have turned out a work-in-progress guide to compiling PHP-GTK2 on Unix systems with notes aimed to help people on certain distributions.

Syndicate content