English Español Português Italiano
Tutorials Guide Help
Sitemap Adobe Autodesk Microsoft Corel Sony GNU Others

Macromedia Dreamweaver MX 2004 Tutorial - Extending Dreamweaver


 









Macromedia Dreamweaver MX 2004 Tutorial - Extending Dreamweaver

Macromedia Dreamweaver MX 2004 Tutorial - Extending Dreamweaver FREE DOWNLOAD THIS TUTORIAL
Tutorial in pdf format so you can save it to your PC, e-book reader or print.


Sponsored link



Note: The tutorial you are about to download is compressed format. Rar, if you do not have a decompressor rar files you can download 7-zip and you can display the Foxit PDF Reader.



Index Macromedia Dreamweaver MX 2004 Tutorial - Extending Dreamweaver


CHAPTER 1: Introduction
Background
Installing an extension
Additional resources for extension writers
What’s new in Extending Dreamweaver
Documentation Changes
Macromedia Press
Removed Features
Errata
Conventions used in this guide
PART I: OverviewCHAPTER 2: Extending Dreamweaver
Types of Dreamweaver extensions
Other ways to extend Dreamweaver
Configuration folders and extensions
Multiuser Configuration folders
Running scripts at startup or shutdown
Extension APIs
How Dreamweaver processes JavaScript in extensions
Displaying Help
Localizing an extension
XML String files
Localizable Strings with Embedded Values
Working with the Extension Manager
Customizing Dreamweaver
About customizing Dreamweaver
About customizing Dreamweaver in a multiuser environment
About mm_deleted_files.xml tag syntax
Reinstalling and uninstalling Dreamweaver in a multiuser environment
Customizing default documents
Customizing page designs
Customizing the appearance of dialog boxes
Changing the default file type
Customizing the interpretation of third-party tags
Working with browser profiles
About browser-profile formatting
Creating and editing a browser profile
Changing FTP mappings
Extensible document types in Dreamweaver
Opening a document in Dreamweaver
CHAPTER 3: User Interfaces for Extensions
Designing an extension user interface
Dreamweaver HTML rendering control
Using custom UI controls in extensions
Editable select lists
Database controls
Adding a variable grid control
Adding tree controls
Manipulating content within a tree control
A color button control for extensions
Adding Flash content to Dreamweaver
A simple Flash dialog box example
CHAPTER 4: The Dreamweaver Document Object Model
Which document DOM?
The Dreamweaver DOM
Objects, properties, and methods of the Dreamweaver DOM
Properties and methods of the document object
Properties and methods of HTML tag objects
Properties and methods of text objects
Properties and methods of comment objects
The dreamweaver and site objects
CHAPTER 5: Customizing Code View
Code Hints
The CodeHints.xml file
Code Hints tags
Code coloring
Code coloring files
Scheme block delimiter coloring
Scheme processing
Editing schemes
Code coloring examples
Code validation
<css-support>
<property>
<value>
Changing default HTML formatting
PART II: Extension APIsCHAPTER 6: Insert Bar Objects
How object files work
The Insert bar definition file
Insertbar.xml tag hierarchy
Insert bar definition tags
Insert bar definition tag attributes
Modifying the Insert bar
Adding objects to the Insert bar
Adding objects to the Insert menu
The Objects API
canInsertObject()
displayHelp()
isDomRequired()
insertObject()
objectTag()
windowDimensions()
A simple Insert Object example
CHAPTER 7: Commands
How commands work
Adding commands to the Commands menu
The Commands API
canAcceptCommand()
commandButtons()
isDomRequired()
receiveArguments()
windowDimensions()
A simple Command example
Creating the UI
Writing the JavaScript code
Running the command
CHAPTER 8: Menus and Menu Commands
About the menus.xml file
<menubar>
<menu>
<menuitem>
<separator>
<shortcutlist>
<shortcut>
Changing menus and menu items
Changing the name of a menu item or menu
Changing keyboard shortcuts
Menu Commands
Modifying the Commands menu
How menu commands work
The Menu Commands API
canAcceptCommand()
commandButtons()
getDynamicContent()
isCommandChecked()
receiveArguments()
setMenuText()
windowDimensions()
A simple menu command
Creating the menu items
Writing the JavaScript code
Placing the command file in the Menu folder
A dynamic menu
Creating the dynamic menu items
Writing the JavaScript code
CHAPTER 9: Toolbars
How toolbars work
How toolbars behave
How toolbar commands work
The toolbar definition file
<toolbar>
<include/>
<itemtype/>
<itemref/>
<separator/>
Toolbar item tags
<button>
<checkbutton>
<radiobutton>
<menubutton>
<dropdown>
<combobox>
<editcontrol>
<colorpicker>
Item tag attributes
id="unique_id"
showIf="script"
image="image_path"
disabledImage="image_path"
overImage="image_path"
tooltip="tooltip string"
label="label string"
width="number"
menuID="menu_id"
colorRect="left top right bottom"
file="command_file_path"
domRequired="true" or "false"
enabled="script"
checked="script"
value="script"
update="update_frequency_list"
command="script"
arguments="argument_list"
The toolbar command API
canAcceptCommand()
getCurrentValue()
getDynamicContent()
getMenuID()
getUpdateFrequency()
isCommandChecked()
isDOMRequired()
receiveArguments()
showIf()
A simple toolbar command file
Creating the text box
Writing the JavaScript code
Placing the files in the Toolbars folder
CHAPTER 10: Reports
How site reports work
How stand-alone reports work
The Reports API
processFile()
beginReporting()
endReporting()
commandButtons()
configureSettings()
windowDimensions()
CHAPTER 11: Tag Libraries and Editors
Tag library file format
The Tag Chooser
Creating a new tag editor
Tag editor APIs
inspectTag()
validateTag()
applyTag()
CHAPTER 12: Property Inspectors
How Property inspector files work
The Property inspector API
canInspectSelection()
displayHelp()
inspectSelection()
CHAPTER 13: Floating Panels
How floating panel files work
The Floating panel API
displayHelp()
documentEdited()
getDockingSide()
initialPosition()
initialTabs()
isATarget()
isAvailableInCodeView()
isResizable()
selectionChanged()
Script Editor: a floating panel extension
Creating the floating panels
Writing the JavaScript code
Saving the file in the Floaters folder
Creating a menu item
CHAPTER 14: Behaviors
How Behaviors work
Inserting multiple functions in the user’s file
The Behaviors API
applyBehavior()
behaviorFunction()
canAcceptBehavior()
displayHelp()
deleteBehavior()
identifyBehaviorArguments()
inspectBehavior()
windowDimensions()
What to do when an action requires a return value
CHAPTER 15: Server Behaviors
Dreamweaver architecture
How the Server Behavior API functions are called
The Server Behavior API
analyzeServerBehavior()
applyServerBehavior()
canApplyServerBehavior()
copyServerBehavior()
deleteServerBehavior()
displayHelp()
findServerBehaviors()
inspectServerBehavior()
pasteServerBehavior()
Server behavior implementation functions
dwscripts.findSBs()
dwscripts.applySB()
dwscripts.deleteSB()
Editing EDML files
Regular expressions
Notes about EDML structure
Group EDML file tags
<group>
<group> attributes
<title>
<groupParticipants>
<groupParticipants> attributes
<groupParticipant>
<groupParticipant> attributes
Participant EDML files
<participant>
<participant> attributes
<quickSearch>
<insertText>
<insertText> attributes
<searchPatterns>
<searchPatterns> attributes
<searchPattern>
<searchPattern> attributes
<updatePatterns>
<updatePattern>
<updatePattern> attributes
<delete>
<delete> attributes
<translator>
<searchPatterns>
<translations>
<translation>
<translation> attributes
<openTag>
<attributes>
<attribute>
<display>
<closeTag>
Server behavior techniques
Finding server behaviors
Updating server behaviors
Deleting server behaviors
Avoiding conflicts with share-in-memory JavaScript files
CHAPTER 16: Data Sources
How data sources work
The Data Sources API
addDynamicSource()
deleteDynamicSource()
displayHelp()
editDynamicSource()
findDynamicSources()
generateDynamicDataRef()
generateDynamicSourceBindings()
inspectDynamicDataRef()
A simple data source example
Creating the data source definition file
Creating the EDML file
Creating the JavaScript file that implements the Data Sources API functions
Creating the supporting command files for user input
Using the new data source
CHAPTER 17: Server Formats
How data formatting works
The Formats.xml file
The Edit Format List Plus (+) menu
When the data formatting functions are called
The Server Formats API
applyFormat()
applyFormatDefinition()
deleteFormat()
formatDynamicDataRef()
inspectFormatDefinition()
CHAPTER 18: Components
How to customize the Component panel
Component panel files
Component panel API functions
getComponentChildren()
getContextMenuId()
getCodeViewDropCode()
getSetupSteps()
setupStepsCompleted()
handleDesignViewDrop()
handleDoubleClick()
toolbarControls()
CHAPTER 19: Server Models
How customizing server models works
The Server Model API functions
canRecognizeDocument()
getFileExtensions()
getLanguageSignatures()
getServerExtension()
getServerInfo()
getServerLanguages()
getServerModelExtDataNameUD4()
getServerModelDelimiters()
getServerModelDisplayName()
getServerModelFolderName()
getServerSupportsCharset()
getVersionArray()
CHAPTER 20: Data Translators
How data translators work
The Data Translator API
getTranslatorInfo()
translateMarkup()
liveDataTranslateMarkup()
Determining what kind of translator to use
Adding a translated attribute to a tag
Inspecting translated attributes
Locking translated tags or blocks of code
A simple block/tag translator example
Finding bugs in your translator
CHAPTER 21: C-Level Extensibility
How integrating C functions works
C-level extensibility and the JavaScript interpreter
Data types
The C-level API
typedef JSBool (*JSNative)(JSContext *cx, JSObject *obj, unsigned int argc, jsval *argv, jsval *rval)
JSBool JS_DefineFunction()
char *JS_ValueToString()
JSBool JS_ValueToInteger()
JSBool JS_ValueToDouble()
JSBool JS_ValueToBoolean()
JSBool JS_ValueToObject()
JSBool JS_StringToValue()
JSBool JS_DoubleToValue()
JSVal JS_BooleanToValue()
JSVal JS_IntegerToValue()
JSVal JS_ObjectToValue()
char *JS_ObjectType()
JSObject *JS_NewArrayObject()
long JS_GetArrayLength()
JSBool JS_GetElement()
JSBool JS_SetElement()
JSBool JS_ExecuteScript()
JSBool JS_ReportError()
File Access and Multiuser Configuration API
JS_Object MM_GetConfigFolderList()
JSBool MM_ConfigFileExists()
int MM_OpenConfigFile()
JSBool MM_GetConfigFileAttributes()
JSBool MM_SetConfigFileAttributes()
JSBool MM_CreateConfigFolder()
JSBool MM_RemoveConfigFolder()
JSBool MM_DeleteConfigFile()
Calling a C function from JavaScript
PART III: AppendixAPPENDIX A: The Shared Folder
The Shared folder contents
The Common folder
The MM folder
Other folders
Using the Shared folder
INDEX







Download the file decompressor 7-zip.
Download the PDF reader Foxit PDF Reader.




TutorialsPDF.com © 2008 - This work is licensed under a Creative Commons License.