Please note: this article was incorrectly attributed to PHPHacks.com. The correct author/site has been identified and the information below is the correct information.
phpPatterns brings another tutorial to the PHP community today with this guide to creating XUL applications with the help of PHP.
XUL, or the XML User Interface language, is the common thread running through all Mozilla-powered applications - both desktop and web-based. XUL is a way to describe an application's user interface using XML. XUL is similar in many ways to HTML, while borrowing from, yet not exactly imitating its syntax.
To start off with, we need a simple XUL file that contains a form. This form could consist of anything, but for this example, I will be using a simple Login form that you might be familiar with while building web applications.
They provide the full code of the XUL, PHP, and Javascript to make everything worrk together. They explain how it all goes together and even some of the basics of XUL.









Aslo the article forgets to take notice of the more strict security settings in Mozilla (they were introduced later).
Remove-XUL ain't on the subject for the Mozilla developers, so it's not worth building frontends with. Better to create html/js libs that does the same but build with default html elements, so poor Internet Explorer also can get "cool stuff".