xul rendering gui with php
https://developer.mozilla.org/En/XUL
how to develop a firefox extension
getting started with xulrunner