I realize OpenLayers can be used with just about any language but which ones are most people on this list using especially with regard to interacting between a database (ie postgres) and dynamically writing out the necessary javascript for displaying queries or posting data changes.