Bitcoind 0.8.2 has a -walletnotify argument, whenever a balance affecting transaction triggers, it sends the tx hash to an external script.
keep in mind it only triggers when a transaction affects the wallet. this will not list other user's transactions. only transactions related to addresses you own will trigger.