Contents
Throughout the features of software development in different stages of development, this book reveals a deployment model used in many large-scale application software design and development processes, A development method called "script-driven Application Software" is introduced. Combined with examples, this book also introduces a variety of practical programming technologies such as XML parsing and JavaScript parsing.
This book is widely used by designers and developers of computer application software systems. It is also helpful for guiding the introduction of XML technology. It is also a rare Practical Guide for JavaScript parsing technology.
Directory
Stage 1 original software development
Chapter 4 Develop a graphic view Software
1.1 Requirement Analysis
1.2 Outline Design
1.3 coding implementation
1.3.1 image processing functions
1.3.1.1 image file Decoding
1.3.1.2 reversed image color
1.3.1.3 Grayscale Images
1.3.1.4 superimposed logo
1.3.1.5 overlay system time
1.3.1.6 display in the specified window
1.3.1.7 save as an image file
1.3.2 uidesign and implementation
1.3.2.1 UI element Layout
1.3.2.2 UI logic processing
1.3.3 instance program: imageviewer_basic
2nd stage of software development with division of labor and collaboration
Chapter 2 XML application
2.1 brief introduction to XML
2.2 Basic XML concepts
2.2.1 document structure
2.2.2 Document Type Definition
2.2.3 elements and attributes
2.2.4 parser
2.3 XML Parsing
2.3.1 reading XML files from webpages
2.3.2 parsing using C ++ Encoding
2.3.2.1 cxmlwrapper class
2.3.2.2 traverse each node
2.3.2.3 search for a node
2.3.2.4 instance program: xmlparser
Chapter 2 XML-based image View Software
3.1 work of UI Art Designers
3.1.1 overall UI design
3.1.2 separation and positioning of UI elements
3.1.3 generate an XML file
3.2 programmer's work
3.2.1 UI element design
3.2.2 query XML files
3.2.3 skin-supported UI
3.3 instance program: imageviewer_skinned
Chapter 4 customizable image View Software
4.1 UI is driven by XML files
4.2 instance program: imageviewer_customized
Stage 1 script-Driven Software Development
Chapter 2 JavaScript Parsing
5.1 JavaScript Introduction
5.1.1 lexical structure
5.1.2 Data Type
5.1.3 variables and constants
5.1.4 Operator
5.1.5 Process Control
5.1.6 object
5.1.7 Array
5.1.8 Functions
5.2 active scripting technology
5.2.1 Basic Principles
5.2.2 COM automation
5.2.2.1 IDL and Type Library
5.2.2.2 idispatch Interface
5.2.2.3 idispatchex Interface
5.2.2.4 automated object implementation
5.2.3 instance program: curvesee
5.2.3.1 design controlled object
5.2.3.2 design the Host Program
5.2.3.3 run the script
5.2.3.4 demo description
5.3 JavaScript parsing highlights
5.3.1 name items and Global Objects
5.3.2 attributes and Methods
5.3.3 create an object and pass it to the script
5.3.4 accept objects in the script
5.3.5 array Parsing
5.3.6 Exception Handling
5.3.7 pass a null Parameter
5.3.8 automatic type conversion
5.3.9 callback script Functions
5.3.10 attributes and methods for accessing scripts
5.3.11 multithreading and Its Solution
5.3.12 support Timer
5.3.13 support dynamic attributes
5.3.14 single-step debugging of the script
Chapter 4 script-Driven Image View Software
6.1 significance of script-driven
6.2 script-driven implementation
6.2.1 develop script interface standards
6.2.2 interface-oriented implementation
6.2.3 handling of events and events
6.2.4 script-driven!
6.3 instance program: imageviewer_scriptdriven