PHP-GTK.eu End of Life and GDPR

If you're reading the PHP-GTK.eu community site these days, you certainly noticed that not a single piece of significant content was created since 2015, and not much since 2013.

Whatever this may mean for PHP-GTK itself is another issue, but for the site itself, it means it ceased to be relevant about 5 years ago, and it's time to move on for the site members. Since the site contains non-anonymous user, it will fall under the new EU GDPR regulations entering into force on 2018-05-25, and there is no point for me to spend time on evolving the site towards compliance when no one is actually using it.

So here is the EOL announcement: the site will be shutting down on 2018-05-24 and its data will taken offline.

A static version of the articles may be published again at some point here or elsewhere, but I wouldn't hold my breath on it. So if you have even some interest in the site content, be sure to copy/paste the pages of interest before it goes dark on 2018-05-24. Or contact me if you want a copy of the files and content, or check my blog for newer content.

Thanks all for participating, it's been a pleasure while it lasted.

FGM

pewpew - PHP's Embedded Webserver

screenshot for pewpew This is a tiny tool that allows you to launch the built in PHP 5.4 HTTP test server with a few clicks. It allows you to select which PHP binary you want to use (in case you have multiple on your system) and the document root of the test server.

Explore Cairo your self without a manual or tutorial

There are some very good tutorials for doing some basic or a bit more advanced things in php gtk cairo. However it is logical that they do not cover everything.

But luckily one can go further in using cairo by him self, I provide a single and very simple example script that allows you to discover all by your self things like:

Getting a descendant (child) widget by name

This script gets a descedant (child) widget by name using recursion. A name should be defined for the child previously, if not as a name is considered the class name.

The name is passed as a variable by reference, when the target is found it is stored in this variable.
This will change the variable type from string to object, this very information is used as a condition to stop further recursion.

Random Walk Visualizer

This is about simple random walk (as defined in theory). Uses the cairo library. A ball walks randomly on the screen and leaves a trace behind.

screenshot for <application name />Defined probability for the next step to walk is 0.5. Probabilities for left step and other parameters are pre-defined however someone can change them from inside the constructor at will. Accepted probabilities are from 0 to 1, also -1 is accepted, this indicates that the program choses on its own the probability for the next step to walk. The purpose of this is to show the the usage of cairo library!

Apply style to Textview: Underline and Blue Color on specific parts of the text.

This script displays a 2D array inside a textview. All elements on the same row and coloumn are underlined and colored blue.

PHP-GTK installer for windows

A PHP-GTK installer for Windows, it includes PHP-GTK (PHP 5.3.4 + php-gtk snap + cairo),PHP Extensions, Some Gtk Locales, File Associations and demo scripts

Fixed incompatibility between extensions and core due to version mismatch

screenshot for PHP-GTK installer

You can install only PHP-GTK core files, the full install or choose what to install. Made with Inno Setup, questions, suggestions and feature requests are welcome

Syndicate content