Programming Firefox
This is your guide to building Internet applications and user interfaces with the Mozilla component framework, which is best known for the Firefox web browser and Thunderbird email client. Programming Firefox demonstrates how to use the XML User Interface Language (XUL) with open source tools in th...
Autor principal: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Sebastopol, California :
O'Reilly
2007.
|
Edición: | 1st edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627208806719 |
Tabla de Contenidos:
- Table of Contents; Preface; Intended Audience; Why Buy This Book?; Conventions Used in This Book; Terms and Usage; A Tag or an Element?; How This Book Is Organized; Demonstration Platforms; Using Code Examples; Comments and Questions; Safari® Enabled; Acknowledgments; Firefox and Friends; Mozilla to Firefox and Thunderbird; XML Technologies; XML History; XSLT and XPath; RDF; CSS; At the Top of It All: The DOM; Mixing Document Types; Getting Started; Supporting Tools; Apache web server; PHP; MySQL; Getting the Browser; XUL Basics; File Structure; XUL Widgets; Boxes; Adding Styling; Box Sizes
- The Flex, Pack, and Align AttributesFlex; Pack; Align; Introducing Input Controls; Labels and Buttons; Text Entry; Menus and Toolboxes; More Complex Containers; Lists; Trees; Grids; Group Boxes; Managing the Display Space; Tab Boxes; Splitters; Content Display Panels; Miscellaneous Widgets; Helper Features; Mozilla Style Declarations; Pseudoproperties; Pseudoclasses; Summary; Coding and Testing for the Real World; Defining a Target Application; Adding Logic; JavaScript, Events, and DOM Nodes; The Document Object Model; Interfaces; Moving from widgets to document nodes; Events
- Inline event handlersDynamic assignment of attributes; Dynamic addition of event listeners; External script files; The event parameter; Modifying Node Contents; Simple Authentication Script; XUL Input Widgets; Modifying node styles; Removing and adding document nodes; When Things Don't Work; Looking for the Obvious: Bad Typing; The JavaScript console; Programming and Design Errors; The console dump() command; The Venkman debugger; The DOM Inspector tool; Summary; Configuring for Chrome and a Server; Chrome Overview; Running as a Local Installation; Chrome Directory Structure
- Package RegistrationXUL-to-Server Communications; Configuring the Server; The Client/Server Protocol; The client-side request; The server-side response; When Things Go Wrong; Adding a Database; Creating the database; Creating account tables; Creating database user accounts; Connecting PHP to MySQL; Calling the MySQLi API; When Things Go Wrong; Serving XUL Files; Creating a XUL File to Be Served; Configuring the Server; PHP Serving XUL; Using PHP require(); PHP serving XUL files; Logic changes; Summary; Multiframe XUL; Dividing the Display Area; Editing Documents
- HTML Documents, Windows, and iframesXUL Documents, Windows, and iframes; XUL Windows and Content Type; Other Content Panels; ; ; Dealing with Events; Event phases; Synchronizing Interface Widgets and Frames; Adding state transitions; An event handler too many; Event generation: XUL events and HTML events; Responding to the "right" event target; Managing events in iframes; Adding Pull-Down Menus; Operating system caveats; Adding Dialog Windows; Summary; Trees, Templates, and Datasources; Trees; Tree Structure; Different Types of Tree Content; Selecting Tree Items
- Multiple Selections