Posts Tagged ‘tool’

PHP Build automation

Friday, February 9th, 2007

I whipped together a simple PHP script for automating the build process of installing a new PHP version. It’s designed for people like me who do installs of PHP that use extensions instead of building everything in. It automatically tries to figure out what extensions you got loaded that aren’t typically built-in and builds & installs those after building & installing PHP.

Basic usage:

  1. Edit the file to reflect any configure options, and if desired manually specify extensions you want which will disable the automatic detection
  2. $ php build_php.php /Users/jerome/php-5.2.1

Get it here

Technorati Tags: , , ,

PHP Debugging Bookmarklet

Wednesday, May 10th, 2006

I just created a simple bookmarklet to invoke Zend Studio’s debugger from a browser with the page I’m currently viewing, I can even do this on a different machine if I have it setup to allow other hosts to do remote debugging. Here’s the code, you just have to replace debug_host= value with your Zend Studio machine’s IP. You can just drag this to your bar and edit it to match your setup or just copy the href.

Debug PHP

New Software: MySQL Workbench

Tuesday, May 9th, 2006

Apparently MySQL AB turned out a new tool, or at least new to me, which lets you design data structure in a visual manner, called MySQL Workbench. I was pointed to it yesterday by a friend and never had seen it on mysql.com before. This is a tool similar to software like DBDesigner 4, SQL Editor for OS X, and EOModeler from WebObjects. You create tables and you can link them together via relations using a relation ship line tool, basically creating an ERD that you can output to an SQL file or possibly a database. Now this is kinda cool except that this particular piece of software is beta, and I think when it comes to the MySQL AB tools, this means almost unusable. I must say I’ve liked most of the actual UI design in their tools, and Workbench seems pretty decent too, just falls short at this moment with the beta due to bugs that halt the successful usage of this tool.

MySQL Workbench is available for linux, Windows and Mac OS X and I have only tried the Mac OS X version which very likely might be the only one with the crippling bugs I ran across. I basically couldn’t use the relationship features for generating foreign keys due to some bugs that didn’t let me set foreign keys, let alone remove the lines they generate.

It definitely is a promising tool that could prove to be useful once it’s smoothed out and the bugs that limit it at least on OS X are gone. I’ll be watching it, but I also haven’t had too much use for a tool like this yet, just more want to find a use for one, and maybe once this works better I might find it beneficial.

I’ll provide an update of how it is if the linux version is more usable.

Here’s a simple shot of it: