The Way of Delphi
Home > Computing and Information Technology > Computer programming / software engineering > Programming and scripting languages: general > The Way of Delphi: Reusing Objects, Components, Properties and Events (Bk/Disk)
The Way of Delphi: Reusing Objects, Components, Properties and Events (Bk/Disk)

The Way of Delphi: Reusing Objects, Components, Properties and Events (Bk/Disk)


     0     
5
4
3
2
1



Available


X
About the Book

45527-9 Objects, components, properties, and events: The keys to the Delphi kingdom. You've learned the basics of Delphi, now you're ready to take it to the next level. Gary Entsminger puts the keys in your hands, unlocking the hidden power of Delphi 1.0 and 2.0. Once you master these four elements, you'll be able to create powerful, multifunctional units you can use again and again for rapid, accurate development. If you have experience in other object-oriented languages such as Visual Basic or C++, The Way of Delphi' will introduce you to the unique qualities of Delphi. Because it was developed specifically for Microsoft Windows, Delphi can use Windows' own structure to optimize speed and flexibility without sacrificing reliability. The Way of Delphi takes a project-oriented approach, demystifying such topics as: * Exception handling and scope issues. * Deriving new components. * Creating dynamic procedures, toolbars and menus. * Wrapping forms into components. * Using Delphi's exceptional database capability. You'll learn more than just tips and tricks; you'll learn how to think in Delphi.

Table of Contents:
The Way of Ferns. Why This Book Is For You. About This Book. Foreword. Delphi for C++. Programmers. Mapping Windows Messages. Different APP (application) Framework Approaches. All the Objects. The Object-Based Hierarchy. Learning Delphi as a C++ Programmer. Wonderful Things. Things That Work Differently Than in C++. Object Pascal Features in Common with C++. Object Pascal Features That Aren't in C++. C++ Features That Aren't in Object Pascal. What Delphi Needs. Garbage Collection. Persistence. Project Development Support. Comment Documentation Syntax. Ability to Build OLE Objects. Auto-Wiring. The Way of Delphi. Patterns. Long Strange Trips, Single Steps, and Object Art. OOP in 1988, Our Benchmark. Actor and Delphi. C++ and Delphi. Class Declarations. State of the Object Art: Windows, Delphi, Visual Basic, Smalltalk, C++. Inheritance, a Difference of Opinion. Delphi's Object Model. Delphi-Messages and Composition. On to the Beginning. Chapter 1. Code Design-Classes, Objects, Patterns, and Strategies. What's Special About a Class? Why Delphi? About The Projects in The Way of Delphi. Dynamic Design. Reusing Code. Two-Way Thinking. Code Design Patterns and Strategies. A Few Symbols and Boldface. Chapter 2. An Object-Oriented Philosophy. Types. Classes-The Big Difference. Units. Access Specifiers. Record and Class Declarations. A Hierarchy of Inherited Forms. Class (and Object) Scope. Balancing Class Functionality and Reuse. Composing Classes. Class Scope. Polymorphism-Many Shapes. Constructors and Destructors. Static, Virtual, and Dynamic Methods. Class (Object) Properties. Some OOP Design Guidelines. Looking Ahead. Chapter 3. The Practice of OOP. Project: scope1.dpr. The Unit Interface. The Unit Implementation. Scope1.dpr...Begin. Project: scope2.dpr. Project: Scope3.dpr. Project: Scope4.dpr. Project: Object1.dpr. TCell Class. TWatch Class. TBaseSim Class. Simulation Hierarchy. A Few Implementation Details (Bool1.pas). Creating a User Interface. A Few Implementation Details (Statsim1.pas). Reimplementing Form Methods. Object Responsibility. Repainting Controls. Canvas.Pixels. Clearing a TImage Canvas. Setting Control Focus. Chapter 4. Approaching Components. The TComponent Class. Comp1.dpr. Adding a Component to the Palette. Creating a Property. Access Methods. Invoking Component Methods. Sets and Enumerated Types as Object Fields. Install Component. TPersistent Objects. Object Responsibility. Testing Components. In Sum. Chapter 5. In the Path of Exceptions. Exception Handling. Tryfin.dpr. try..except Blocks. Setting Up an Exception Handler. An Exception Handling Component. Deriving a New Component. Creating a Property. TestException and the Is Operator. Adding a New Component to the Palette. Testing the Exception Handler. Exception Wrap-Up. Chapter 6. Focusing on Events ...Dynamic ToolBars and Dynamic Menus. Toolbar Click Events. How to Create a Toolbar. First Step: The User Interface-a Form and Components. Edit the MenuItems Property. The Dynamic Toolbar-How Do We Make It Work? Delphi and Delphi 2.0 Database Tools. Create the Toolbar Table. Unit Variables. The FormCreate Event Procedure. GetButtonsFromTable. Creating a New Speedbutton and the TNotifyEvent Type. AddButtonsClick. RemoveButtonClick. SaveSpeedButton. The GenericSpeedButtonClick. DeleteItemFromTable. FreeButtons. ExecuteFile. Staying On Top. The FormClose Event Procedure. Speedmnu.dpr. Chapter 7. From Form to Component to Build a Database Editor. The Database Editor. Two-Way Thinking. Set Properties. Define the Wrapper Interface. The Wrapper Implementation. Compile, Install, Use, and Reuse. A Pleasantness to the Madness. Testing Form Components. DbVu3.Dpr. Chapter 8. A Component Dialog for Finding Files Anywhere in the System. Projects and Techniques. Create a Form, Add Components. Implementing Private Methods. The TFindFilesDlg.GetDirectories Method. The TFindFilesDlg.CreateDirList Method. FindFirst. FindNext. TFindFilesDlg.FindFiles Method. Implement Click Event Procedures for the Form. Return to ListForm.pas. Wrapping a Form into a Component. Compile, Install, Use, and Reuse. Chapter 9. Data, Data Everywhere. FieldByName Function. Projects. EcoSim.dpr. Begin. Object2.dpr: Revising a Prototype. Adding Database Capability. Chapter 10. Dynamic Procedures, Objects, and Components. Procedural Types. Near and Far. ProcType.dpr. The Timer Component. Waytime1.dpr. Application.ProcessMessages. WhileTest. Filling a Little Array Created on the Stack. Creating and Filling Bigger Arrays (on the Heap). Dispose. MemAvail and MaxAvail. Fill a TStringList. MenuItem Click Event Procedures. Dynamic1.dpr. TControlClass. ShowHierarchy-ClassName and ClassParent. FreeObjects. Dynamic2.dpr. Chapter 11. Objects and a Component for Exploring Strange Attractors. A Model Project to Reuse Code. Creating a Component. Compile and Install the PhaseSpace Component. Strange Attractors. The Interface. The Base Model: Abstract and Virtual Methods. Interface: Deriving Models. Implementation: Getting Scales. Scaling the Results and Exception Handling. Setting Up a Model. Processing a Model. Models2.dpr...begin. Application.ProcessMessages. Erase Images. Code Pattern Languages. Components and Patterns. Forms and Patterns. Unit Patterns. Appendix 1. Some Differences Between Delphi 1.0 and Delphi 2.0.


Best Sellers


Product Details
  • ISBN-13: 9780134552712
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Prentice Hall
  • Language: English
  • Spine Width: 16 mm
  • Weight: 677 gr
  • ISBN-10: 0134552717
  • Publisher Date: 16 Apr 1996
  • Binding: SA
  • No of Pages: 464
  • Sub Title: Reusing Objects, Components, Properties and Events (Bk/Disk)
  • Width: 235 mm


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
The Way of Delphi: Reusing Objects, Components, Properties and Events (Bk/Disk)
Pearson Education (US) -
The Way of Delphi: Reusing Objects, Components, Properties and Events (Bk/Disk)
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

The Way of Delphi: Reusing Objects, Components, Properties and Events (Bk/Disk)

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!