Tuesday, February 24, 2009

Extending PHP (20090223)

Fixed the odd build errors on Linux that appeared after the modifications to the source required to get the Win32 build back working.

Spending a bit of time thinking about how best to implement to local ballista service/cronjob.

The immediate options are a single app that runs through each user and updates the MySQL database with new transits etc, or a controller application that scans through the users, and passes off the calculating and updating to a separate application/library. This second option will mean that it should be easier to implement a single user update for the PHP code to use for new users. It means we can use a PHP command line script as the outer scanning application.

Attempting to upgrade/configure holly - which resulted in a reboot, without sshd starting - so attempting to get hold of the drac/lights out details to connect to the console. Turns out it took ages to start, and I've managed to upgrade vmware (and configure it successfully.)

Work on a PHP extension to interface to Ballista. The PHP extension API and build environment don't look too complicated.

No comments: