CSS 1 Tutorial

Sponsor Advertisement

My image
  • Author: Miloslav Nic
  • Format: online HTML
  • Price: free

A tutorial ebook on CSS 1 presented in 17 lessons, where you learn by studying examples. A complete reference to CSS 1 is also provided, with plenty more examples.

Published under a GNU Free Documentation License and available in English, Portuguese, and Czech languages.

Contents include:

  • Example 1: Defining the look of your pages from one central CSS file
  • Example 2: Using the same stylesheet to format different HTML sources
  • Example 3: Formatting a style sheet
  • Example 4: Colors
  • Example 5: Elements sharing the same properties
  • Example 6: The use of commas
  • Example 7: The use of semicolons
  • Example 8: Multiple definitions of a property
  • Example 9: Class attributes
  • Example 10: Classes with and without element names
  • Example 11: More colors
  • Example 12: Font sizes
  • Example 13: Font styles
  • Example 14: Text decoration
  • Example 15: Text alignement
  • Example 16: Borders
  • Example 17: Where to go next


Creating Applications with Mozilla

Sponsor Advertisement

My image
  • Author: David Boswell, Brian King, Ian Oeschger, Pete Collins, Eric Murphy
  • Format: online HTML
  • Price: free

Mozilla is not just a browser. Mozilla is also a framework that allows developers to create cross-platform applications. This framework is made up of JavaScript, CSS (Cascading Style Sheets), and Mozilla’s XUL (XML-based User-interface Language) as well as the Gecko rendering engine, XBL (eXtensible Binding Language), XPCOM (Mozilla’s component model), and several other components.

Creating Applications with Mozilla explains how applications are created with Mozilla and provides step-by-step information about how you can create your own programs using Mozilla’s powerful cross-platform development framework.

This book also shows examples of many different types of existing applications to demonstrate some of the possibilities of Mozilla application development. One of Mozilla’s biggest advantages for a developer is that Mozilla-based applications are cross-platform, meaning programs work the same on Windows as they do on Linux or the Mac OS.

Working through the book, you are introduced to the Mozilla development environment and after installing Mozilla, you quickly learn to create simple applications. After the initial satisfaction of developing your own portable applications, the book branches into topics on modular development and packaging your application.

In order to build more complex applications, coverage of XUL, JavaScript, and CSS allow you to discover how to customize and build out your application shell. The second half of the book explores more advanced topics including UI enhancement, localization, and remote distribution.

Mozilla 1.0 was released on June 5th, 2002, after more than four years of development as an open source project. This book has been written so that all of the information and examples will work with this release and any of the 1.0.x maintenance releases. In addition to Netscape’s Mozilla-based browsers (Netscape 6.x and 7.x), the Mozilla framework has been used to create other browsers such as Galeon and Chimera, and chat clients such as ChatZilla and JabberZilla. Developers have also used Mozilla to create games, development tools, browser enhancements, as well as all sorts of other types of applications.

Chapters include:

  • Mozilla as Platform
  • Getting Started
  • XUL Elements and Features
  • CSS in Mozilla Applications
  • Scripting Mozilla
  • Packaging and Installing Applications
  • Extending the UI with XBL
  • XUL Templates
  • RDF, RDF Tools and the Content Model
  • Localization
  • Remote Applications
  • Getting and Building the Mozilla Source
  • Development Tools
  • Programmer’s Reference


Extending and Embedding the Python Interpreter

Sponsor Advertisement

My image
  • Author: Python Software Foundation
  • Format: online HTML
  • Price: free

This document describes how to write modules in C or C++ to extend the Python interpreter with new modules. Those modules can define new functions but also new object types and their methods. The document also describes how to embed the Python interpreter in another application, for use as an extension language. Finally, it shows how to compile and link extension modules so that they can be loaded dynamically (at run time) into the interpreter, if the underlying operating system supports this feature.

This document assumes basic knowledge about Python.

Chapters include:

  • Extending Python with C or C++
  • A Simple Example
  • Intermezzo: Errors and Exceptions
  • Back to the Example
  • The Module’s Method Table and Initialization Function
  • Compilation and Linkage
  • Calling Python Functions from C
  • Extracting Parameters in Extension Functions
  • Keyword Parameters for Extension Functions
  • Building Arbitrary Values
  • Reference Counts
  • Writing Extensions in C++
  • Providing a C API for an Extension Module
  • Defining New Types
  • The Basics
  • Type Methods
  • Building C and C++ Extensions with distutils
  • Distributing your extension modules
  • Building C and C++ Extensions on Windows
  • A Cookbook Approach
  • Differences Between Unix and Windows
  • Using DLLs in Practice
  • Embedding Python in Another Application
  • Very High Level Embedding
  • Beyond Very High Level Embedding: An overview
  • Pure Embedding
  • Extending Embedded Python
  • Embedding Python in C++
  • Linking Requirements


Firefox Add-ons Developer Guide

Sponsor Advertisement

My image
  • Author: Hideyuki Emura, Hiroshi “Piro” Shimoda, Taiga Gomibuchi, Taro Matsuzawa, Yutaka Kachi
  • Format: online HTML wiki-book
  • Price: free

This guide is based on an earlier tutorial written and printed for an Add-ons conference organized in Japan, back in June 2007. It has been updated for the Firefox 3.5 release.

The document will guide and assist add-ons developers eager to develop their own Firefox add-ons. It is targeted to all types of users, from the experienced developer who needs a little push in the right direction, to the beginner looking to get his hands dirty, but not sure where to begin.

It is an ongoing wiki-book work in progress and subject to change, as needed and revised.

Chapters include:

  • Introduction to extensions
  • Technologies used in developing extensions
  • Introduction to XUL: How to build a more intuitive UI
  • Using XPCOM: Implementing advanced processes
  • Let’s build a Firefox extension
  • Firefox extensions and XUL applications
  • Appendix: What you should know about open-source software licenses


XML Schema

Sponsor Advertisement

My image
  • Author: Wikibooks, the open-content textbooks collection
  • Format: HTML
  • Price: free

This is a course, in WikiBook format, that takes into consideration the constraints of many learning environments and intended to be reused by a broad variety of audiences. Computer language and operating system-specific issues such as Java, Microsoft, Mac, GNU/Linux and Windows dependencies are isolated into separate labs that can be optimally included by instructors. Kept as modular as possible, it describes the structure of an XML Schema and explains how XML Schemas are used to validate XML documents.

Students of this course should already be familiar with the fundamental principles of XML and have some background on Data Types,

The book is a work in progress, and there may be incomplete or missing chapters.

Chapters include:

  • History of the XML Schema
  • What are XML Schemas Used For?
  • When XML Schema become inefficient at validating complex rules
  • Structure of an XML Schema Document
  • The root element: <xs:schema>
  • The xs: Prefix
  • Elements
  • Attributes
  • Complete Contacts Example
  • Common XML Schema Primitive Data Types
  • Summary of XML Schema Elements
  • Schema Restrictions and Facets for data types
  • Instance Document Attributes