Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Creating XUL applications with PHP
Oct 09, 2006 @ 14:19:00

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.

tagged: xul application mozilla browser login form javascript tutorial xul application mozilla browser login form javascript tutorial