This is a parametric bash script that you can set up to run at startup or as a cron job in each one of your server.
Each time the server will boot up or execute the script an automatic API call will be created to create if not existent, or update if necessary the related DNS record hosted on Rackspace Cloud.
Please refer to:
http://docs.rackspace.com/cdns/api/v1.0/cdns-devguide/content/index.html
JustQueryIt is a php class that grows up adodb and let you able to separate sql queries and php code. It can also execute parametric queries in a really simple way. Now you can include in the simplest way you can imagine your data into your html pages.