Mozile (xhtml editing in your browser)
|resources:||Home Use FAQ Contribute Mailing List Plan Source Code Bugs|
- Mozile Documentation - A General Introduction to Mozile
- Mozile Development - Notes on the Development of Mozile
- Mozile Content - Notes on the Code behind Mozile
- Mozile Locale - Notes on the Localization of Mozile
- Mozile Skin - Notes on the Styling of Mozile
The Mozile code is separated into several directories, and further separated into files which contain functions on a single theme. Look in these directories for the source code:
- main contains the majority of the Mozile code. If it doesn't make sense to look put the code somewhere else, this is where it goes,
- eDOM contains the eDOM code, which extends the normal DOM to allow inline editing,
- mes contains Mozile Editing Schemes,
- saving contains the code needed to access the local file system or WebDAV in order to save files,
- XUL contains the XUL files that describe Mozile's user interface (UI).
- mozileMain.js contains the global variables for Mozile and the mozileTBStart() function,
- mozileCommands.js waits for the mozileFormat() and mozileCommand() to be called, then decides what changes to make to the document.
- mozileConfiguration.js parses the configuration files and handles the current.xml versioning file,
- mozileCopyCutPaste.js deal with the system clipboard,
- mozileDetection.js detects when Mozile should and should not be active,
- mozileKeyboard.js listens for keystrokes and (when it's supposed to) enters them into the document or calls commands,
- mozileMouse.js listens for mourse clicks and calls commands,
- mozileParseMES.js parses the MES files,
- mozileToolbar.js takes care of the Mozile tool bar, deciding which context buttons and menus should be shown,
- mozileUndoRedo.js takes care of the undo and redo commands,
- mozileUtilities.js contains functions that are useful in several other files, shared in common,
- mozileWrappers.js adds some capabilities to Mozilla that Mozile needs.
The eDOM directory contains the Editable DOM files which are the core of Mozile. They are,
The mes directory contains Mozile Editing Schemes. There's only one right now, and a commented mock-up:
The saving directory contains the files which facilitate Mozile saving. They are,
- mozileSave.js the main interface between Mozile and the lower level details,
- mozileConfig.xml an old version of the Mozile configuration file,
- mozileDataTransport.js the main functions which implement Mozile's save methods,
- rsd.xml an example of an RSD configuration file for Mozile.
The XUL directory contains the files which define the Mozile UI.
- about.xul describes the About dialog,
- debugging.js controls the debugging dialog,
- debugging.xul describes the layout of the debugging dialog.
- info.js controls the Page Info dialog,
- info.xul describes the Page Info dialog.
- mozileFirefox.xul describes the Mozile tool bar for Firefox,
- mozileMozilla.xul describes the Mozile tool bar for Mozilla,
- options.xul describes the options dialog,
- save.xul describes the Save dialog.
- source.xul describes the source view dialog.
James A. Overton - http://mozile.mozdev.org - 2004-06-20