For those who have seen the previous versions of our site, I hope you will like the new site. My thanks goes out to Dima at TYZ Design for the original design, layout, and graphical elements of our new site!

I’ve been busy working on several PHP/MySQL web development projects. For the last few of them, I have been using PHP Object Generator to generate all of my Database Abstraction Layer/ORM code. One of the new things I have been trying out is modeling my database using UML. I used to sit down with phpMyAdmin and do my database design directly in SQL, but since I am going through POG to create the database, that wasn’t an option anymore.

So I started using Dia, and started modeling my tables as objects. That still left me with entering the field names from the diagram into the form for my local copy of POG. So I recently decided that I should write a script that transformed the dia XML format into a SOAP request to POG (POG has a built-in SOAP interface to its object generator), and then create the files for each class with the returned code.

I’m releasing the code to my little python script. There isn’t much error checking (or comments), and it may break on certain diagrams. Read the source for more details.

As promised, here is the updated version of my Munkres algorithm code. The memory leak issue has been fixed, as well as the problems with the code sometimes failing to find a linear assignment for larger matrices.

Update: This code is now available on github

I was recently asked by a client for some code that shows how to do the basic SDL and OpenGL initialization needed to write a 3D application on Linux. I pulled out some of the code from my old 3D graphics engine and whittled it down to something appropriately sized. I also had an ulterior motive in putting this example together: another post to this blog, source code included. Features included:

  • Display lists incorporated into the rendering loop.
  • “Picking” support. [The ability to determine the 3D object under a 2D screen/mouse coordinate.]
  • Well written and commented C++ code.

I’m licensing this code under the GPL, I hope that someone finds it useful>

I’m opening QuickScriptsNow.com today. It will be offering various PHP, Python, and Javascript scripts. Our featured (and currently only) product is our Ad Rotator script, which uses XmlHttpRequest to pull an XML configuration file off the web host and then uses the configuration details in that to choose which ads to display. I’m pretty excited about this site, and I hope that the products that I can bring to market through it will get other people excited as well.