mapthing_server geode - php front end to postgis written in php, its a recursive funtion that stores the data in an internal node/tree and renders out the data on the fly , XML, JSON , or HTML. It also has some security like sanitizing the inputs to the requests