013 _ Delphi object-oriented programming thoughts

Source: Internet
Author: User
Delphi object-oriented programming thoughts

DelphiTutorial Series of books(013)DelphiObject-Oriented Programming ideas Organize netizens (state)Email:Shuaihj@163.com

:

PDF

  • Author: Liu Yi [Translator's introduction]
  • Book Series name: Borland Core Technology series
  • Press: Machinery Industry Press
  • ISBN: 7111127722
  • Mounting time: 2003-10-10
  • Published on: February 1, September 2003
  • Start: 16
  • Page number: 476
  • Version: 1-1

Introduction

This is a masterpiece purely discussing dlephi object-oriented programming.
This book aims to be proficient in Delphi Object-Oriented Programming and explains in depth the concepts and essence, methods and experiences, ideas and practices of Delphi object-oriented programming; it discusses in detail the advanced object-oriented skills that Delphi has built on dynamic binding mechanisms such as virtual methods, abstract methods, and object interfaces, as well as type conversion mechanisms such as upward transformation, downward transformation, and interface transformation; in addition, we have thoroughly studied how to separate interfaces from Business Objects through encapsulation, and gradually implemented a distributed multi-layer architecture from the interface and business separation, thereby implementing cross-platform enterprise-level solutions for interfaces and business applications. This book also provides VCL's internal information and research experience.
The book uses the modelmaker that comes with Delphi7 to implement ul-to-ul Object Modeling, along with a large number of Delphi source code instances for readers to study and learn. This book is applicable to software developers who have a certain degree of Delphi Foundation and want to master object-oriented programming ideas and methods to further improve the level. Similarly, Java and C ++ programmers who have mastered object-oriented programming can quickly master Delphi programming through this book.
This book is also suitable for colleges and universities to teach Object-Oriented Programming Based on Object Pascal/Delphi. All rights reserved. infringement is required.
"Selecting object-oriented programming means you need to discard some visual programming methods ."
--- Marcocantu
"Using object-oriented tools in non-object-oriented methods is an error. Using Delphi to write structured programs can quickly reach Beta ...... Your program may never be released from Beta. It is still wrong to quickly get the wrong answer ."
--- Paul Kimmel
"Remember, successful developers only need to write a small amount of high-quality code, rather than a large amount of common code ."
--- Grady booch
Main content of this book:
● Introduction to object-oriented programming and the Object Model of Delphi.
● Understand the essence of Delphi objects and use the skills of Delphi objects.
● Analysis of concepts such as polymorphism, interfaces, virtual methods, and abstract classes and specific application of object-oriented programming.
● Advanced object-oriented programming skills based on dynamic binding and type conversion mechanisms.
● In order to realize the maintainability, scalability and reusability of the program, an in-depth discussion of encapsulation, interface and Business Object separation, distributed multi-layer architecture, and implementation interface and business application cross-platform is given.
● VCL's internal information and research experience.

Directory

Chapter 2 Building New Object-oriented Thinking
Introduction 1.1
1.1.1 historical background
1.1.2 process-oriented and object-oriented
1.1.3 object-oriented technical background and features
1.1.4 why use object-oriented programming technology
1.2 Basic object-oriented concepts
1.2.1 classes and objects
1.2.2 Encapsulation
1.2.3 inheritance
1.2.4 Polymorphism
1.3 object-oriented modeling and UML
1.3.1 Object-Oriented Modeling
1.3.2 what is UML
1.3.3 Delphi object-oriented modeling tool modelmaker
1.3.4 UML modeling example (modelmaker implementation)
Chapter 2 Delphi Object Model
2.1 Categories and objects
2.1.1 type
2.1.2 class members
2.1.3 object
2.1.4 class Operators
2.2 Method
2.2.1 what is a method?
2.2.2 classification of methods
2.2.3 method Binding Mechanism
2.3 visibility
2.4 attributes
2.4.1 what is an attribute?
2.4.2 use array attributes
2.5 exceptions
2.5.1 an exception is a special object.
2.5.2 how to capture and handle exceptions
Chapter 4 intended audience
3.1 object nature
3.1.1 what is an object
3.1.2 where is the object?
3.1.3 object reference and class reference
3.1.4 object transfer
3.1.5 object cloning
3.2 object life and death
3.2.1 Object Construction and Analysis
3.2.2 how to dynamically generate objects
3.2.3 object Life Cycle
3.2.4 misunderstanding of Component Object lifecycle management
3.3 relationship between objects
3.3.1 objects, classes, and types
3.3.2 relationship between objects
3.3.3 Object Inheritance and Synthesis
3.3.4 dependency and cooperation
Chapter 1 intended audience
4.1 applications and interface objects
4.1.1 Windows applications and application objects
4.1.2 form and dialog box
4.1.3 interface object and UI framework
4.2 Use VCL Component Object
4.2.1 components and controls
4.2.2 instance used for Component Objects
4.2.3 component usage errors
4.3 Use object set
4.3.1 object Array
4.3.2 container object
4.4 use object parameters
4.5 Object-oriented Thinking in component development
4.5.1 develop VCL Components
4.5.2 inheritance
4.5.3 synthesis and embedding
4.5.4 links
Chapter 2 deep Polymorphism
5.1 cognition Polymorphism
5.2 heavy load and coverage
5.2.1 heavy load
5.2.2 coverage
5.3 virtual and dynamic methods
5.4 abstract classes and abstract methods
Type conversion of 5.5 classes
5.5.1 upward Transformation
5.5.2 downward Transformation
5.6 polymorphism and Object-Oriented Programming
Use the abstract class of VCL to realize Polymorphism
Chapter 2 profiling Interfaces
6.1 recognition Interface
6.1.1 what is an interface?
6.1.2 intended audience
6.1.3 interface Introduction
6.1.4 interface and Polymorphism
6.2 Interfaces
6.2.1 defining Interfaces
6.2.2 implementation Interface
6.3 Interfaces and abstract classes
6.4 interface relationship
6.4.1 relationship between classes, objects, and interfaces
6.4.2 interface reference relationship
6.4.3 mutually dependent Interfaces
6.4.4 interface and type conversion
6.5 interface and multi-Inheritance
6.5.1 what is multi-Inheritance
6.5.2 implement multi-inheritance Using Interfaces
6.5.3 multiple inheritance with emphasis
6.5.4 in-depth discussion on multiple inheritance
6.6 interfaces and Object-Oriented Programming
6.7 exploring other interfaces
Chapter 1 Research Encapsulation
7.1 What is Encapsulation
7.1.1 encapsulation Concept
7.1.2 cutting and encapsulation principles
7.2 logical Encapsulation
7.2.1 class Encapsulation
7.2.2 Data encapsulation
7.3 physical Encapsulation
7.3.1 physical encapsulation and dynamic link
7.3.2 encapsulate objects with dil
7.3.3 encapsulate objects with COM/COM +
Chapter 4 separation of interfaces and services
8.1 separation of interfaces and services
8.1.1 from encapsulation to interface and business separation
8.1.2 separation from interfaces and services to distributed multi-layer architecture
8.2 evolution instance of interface and business separation
8.2.1 A typical rad Program
8.2.2 logical separation of interfaces and services
8.2.3 physical separation of interfaces and services
8.2.4 separation of interface and business space
WebService: cross-platform service implementation
8.3.1 WebService is a web object.
8.3.2 create a soapserver Application
8.3.3 use WebService to encapsulate Business Objects
8.3.4 create a client program to call WebService
8.3.5 conversion and deployment of WebService types
8.4 webform: cross-platform interface implementation
8.4.1 intraweb: Delphi's webform Solution
8.4.2 create a webform Program
8.4.3 integration of intraweb and Business Objects
8.4.4 integration of intraweb and WebService
Chapter 2 Introduction to VCL (I)
9.1 basics of Delphi objects: VCL
9.1.1 VCL hierarchy
9.1.2 inheritance relationship of components
9.2 tobjeet: root of all objects
9.3 tpersistent: Persistent Object
9.4 tcomponent: Component Object
9.4.1 Overview
9.4.2 attributes
9.4.3 Method
9.4.4 component subordination
9.5 tapplication: Application Object
9.5.1 Overview
9.5.2 attributes
9.5.3 Method
9.5.4 events
Chapter 2 Introduction to VCL (II)
10.1 tthread: thread object
10.1.1 Overview
10.1.2 encapsulation and running mechanism of thread objects
10.1.3 use a thread object
10.2 tstrings, tlist, and tcolleetion: List and set
10.2.1 tstrings and tstringlist
10.2.2 tlist
10.2.3 tcollection
10.3 tstream: Stream object and stream Storage Technology
10.3.1 class and its derived class
10.3.2 tfilestream and tmemstring
10.3.3 tcompressionstream and tdeeompressionstream
10.4 visualized Working Mechanism of VCL
10.4.1 tfiler class, treader class, And twriter class
10.4.2 access to tstream and component attributes
10.4.3 how object Inspector works
Appendix A modelmaker User Guide
References

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.