SwiftlyTilting: usability, reusability

Monday, September 7, 2009

SwiftlyTilting Wiki (re)Launches!

The wiki at SwiftlyTilting.com has received a face lift. I’ve also added documentation for all of my MediaWiki extensions, and there is a new sandbox area for users to try out Winter and my other extensions as well.

wiki.SwiftlyTilting.com

Monday, February 13, 2006

wbObjects: Easy Windows Programming in PHP

wbObjects is an object oriented interface for WinBinder, a native Windows API for PHP. WinBinder is a great tool, but unfortunately its current lack of an object oriented interface makes writing applications harder than it needs to be. wbObjects has been created to simply the coding process so WinBinder applications can be developed more rapidly.

wbObjects Home
Documentation
Download: wbObjects 0.7.0
Downloaded 1805 times

Sample code:

include_once('../wbObjects.php5');

$window = $wbSystem->createWindow( AppWindow,  'thewindow', 'Hello World!', WBC_CENTER, WBC_CENTER, 300, 100);
$textbox = $window->createControl( EditBox,    'thetext',   '',             5, 10, 280, 22, WBC_LEFT);
$button = $window->createControl(  PushButton, 'thebutton', 'Click Me!',    5, 30, 280, 22);

$button->onMainEvent = 'didClick';
$window->onClose = 'didClose';

$wbSystem->start();

function didClick($params)
{
   $params['wbSystem']->thewindow->messageBox('Hello World!  You typed:'. $params['wbSystem']->thetext->text);
}

function didClose($params)
{  exit;
}

Validate XHTML | Word Press