Essential XUL Programming
Web interface. Featuring two tutorials on programming with XUL, this book shows developers how to use basic XUL elements to build a sample interface for an e-commerce site, then goes on to explore more sophisticated applications by creating an information portal inside an application. Readers will find expert tips and advice on how to get started writing XUL code as well as how to extend it into Java and other non-Netscape interfaces.
About the Authors.
Chapter 1 What Is XUL?
The Origins of XUL.
Leveraged Technologies in XUL.
Types of XUL User Interface Widgets.
Chapter 2 An XML Primer.
Creating a Document Type Definition.
Constructing a XUL DTD.
Creating a Schema.
The Document Object Model.
Chapter 3 Using Cascading Style Sheets.
A Simple CSS Example.
Using CSS with XUL.
Chapter 4 Building a Simple XUL Interface.
Building a XUL Application.
Complete Code for xulexample.xul.
Complete Code for eventhandlers.js.
Chapter 5 Creating Netscape Themes.
Gathering Your Tools.
Downloading a Template.
Developing Your Netscape Theme.
Chapter 6 RDF and XUL Templates.
The RDF Model and Syntax.
Building and Using XUL Templates.
Chapter 7 XUL Overlays and XBL.
Using XUL Overlays.
Using XML Binding Language (XBL).
Chapter 8 The jXUL Open Source Project.
The jXUL Architecture.
Getting Involved in the jXUL Project.
Challenges for the jXUL Project.
Chapter 9 Case Study: Creating a Customizable Browser Portal .
Defining the Problem.
Approaching the Solution.
Under the Hood: An In-Depth Look at Netscape's "My Sidebar".
Customizing My Sidebar for the Case Study.
Chapter 10 Case Study: Building an E-Commerce User Interface with XUL.
Defining the Problem.
Analyzing the Requirements.
Designing the User Interface.
Building the User Interface.
Creating and Populating the User Interface.
Navigating the Finished Product.
Main XUL Interface File.
Appendix A: XUL Programmer's Reference.
Appendix B: Netscape Theme Reference.
KEVIN T. SMITH is a senior principal software engineer at BTG, Inc., where he specializes in Java, XML, and Internet security solutions for a wide variety of customers. He has taught courses in computer science, and gives technical presentations at multiple organizations and conferences.