Visual Object-Oriented Programming Using Delphi With CD-ROM

Overview

To get the most out of Delphi, a programmer needs to understand and exploit the fundamental principles of object-oriented problem solving. Written by top experts in the field of Delphi programming, this book is aimed at programmers and software developers who are involved with every aspect of the development cycle. Through case studies and numerous examples, the authors present an application-oriented guide to getting the most out of Delphi. The book includes a free CD-ROM containing source code for its many ...

See more details below
Available through our Marketplace sellers.
Other sellers (Paperback)
  • All (5) from $21.09   
  • New (1) from $145.00   
  • Used (4) from $21.09   
Close
Sort by
Page 1 of 1
Showing All
Note: Marketplace items are not eligible for any BN.com coupons and promotions
$145.00
Seller since 2015

Feedback rating:

(214)

Condition:

New — never opened or used in original packaging.

Like New — packaging may have been opened. A "Like New" item is suitable to give as a gift.

Very Good — may have minor signs of wear on packaging but item works perfectly and has no damage.

Good — item is in good condition but packaging may have signs of shelf wear/aging or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Acceptable — item is in working order but may show signs of wear such as scratches or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Used — An item that has been opened and may show signs of wear. All specific defects should be noted in the Comments section associated with each item.

Refurbished — A used item that has been renewed or updated and verified to be in proper working condition. Not necessarily completed by the original manufacturer.

New
Brand new.

Ships from: acton, MA

Usually ships in 1-2 business days

  • Standard, 48 States
  • Standard (AK, HI)
Page 1 of 1
Showing All
Close
Sort by
Sending request ...

Overview

To get the most out of Delphi, a programmer needs to understand and exploit the fundamental principles of object-oriented problem solving. Written by top experts in the field of Delphi programming, this book is aimed at programmers and software developers who are involved with every aspect of the development cycle. Through case studies and numerous examples, the authors present an application-oriented guide to getting the most out of Delphi. The book includes a free CD-ROM containing source code for its many examples, as well as compiled versions of these examples.

Read More Show Less

Editorial Reviews

Peter Roth

Object Oriented Programming Using Delphi

Both the book Visual Object-Oriented Programming Using Delphi, by Richard Wiener and Claude Wiatrowski, and the newest version of Delphi arrived at my door within a few days of each other, so I thought it useful to combine a look at the new tool with a look at the text.

Delphi is a Rapid Application Development (RAD) tool produced by the company formerly known as "Borland," now called "Inprise." Although extremely powerful, Delphi is used by only a few software developers: Inprise reports sales of the tool exceed 1 million copies. Delphi 1 came out in 1995 for 16-bit Windows, and a new version has followed every year. This year's release, Delphi 4, is hosted by -- and produces software for -- Win32.

The Delphi interactive development environment (IDE) is vaguely similar to that of Visual Basic and Visual C++, in which the command menu and speedbuttons are displayed on dockable toolbars. The basis of a Delphi app is the form, a window onto which you drop components dragged from a palette. A double-click on the component generates the shell code for an event handler and positions the editing cursor at the exact spot where code is to be written. More about code in a moment.

The palette in the client/server version of Delphi 4 includes 14 tabs, presenting the "usual" Windows components: menus, checkboxes, and so on; the common dialogs for opening and saving files; Internet components; database and data aware components, which show live data at development time; and many others. An active third-party market provides additional add-ons. Delphi also automates production of web server apps, and ActiveX and CORBA components. There is no doubt that I will never use the full power of this tool.

The code is where Delphi's similarity with other tools ends. Delphi uses Object Pascal, a language heavily extended from Niklaus Wirth's Pascal. The language is often mistakenly characterized as a teaching language; Inprise has developed the language into a competitor for C++ in both capability of expression and speed of executables. Object Pascal is truly object oriented, and supports encapsulation, inheritance and polymorphism. For compiling speed, Delphi has no equal, and is the fastest compiler I've owned. Version 4 parses code in the background, so that the environment helps fill in the blanks of classes while they are in the process of being created. Object Pascal is clean to read and write. Because it's based on the reference model, all class instances are automatically allocated on the heap, but the compiler handles pointer allocation without requiring either definitions of pointer types, or the dereferencing caret.

In the interest of full disclosure, I have enjoyed and used Pascal since the late '70s, beginning with Urs Amman's compiler for the CDC6000 machines, which was a monumental improvement over the Fortran compilers of the time. I've been using Borland products continuously since Turbo Pascal 2. Although I use other languages, Delphi is the first tool I reach for.

Delphi 4 didn't come in a box; rather it came in a cardboard CD-ROM sleeve. The accompanying documentation is on the Delphi CD, in Adobe Acrobat format, and it is primarily reference material. This provides a market for third-party instructional texts, which brings us to Wiener and Wiatrowski's book. By the copyright date, it is obvious that the text is aimed at Delphi 1 and 2. Delphi has changed in each release, so my aim was to determine how much of the text was applicable to Delphi 4.

Visual Object-Oriented Programming Using Delphi is presented in four parts:

  • Basic Principles.
  • The Delphi Visual Object-Oriented System.
  • Specialized Aspects of Windows Programming.
  • A Case Study.
Each chapter concludes with a summary, bulking the page count without adding information.

Basic Principles comprise the first 100 pages, and would purportedly be of interest to a new object-oriented programmer. If my experience is any indicator, an introduction to objects is a difficult subject to get across in a few lines. The first ten pages cover encapsulation, inheritance, and polymorphism, so it is imperative to come to this text already knowing the object oriented model. Indeed, the rest of the chapter compares Object Pascal with C++ and SmallTalk, meaningless to a tyro.

Chapter 2 is a ten-page treatise on event-driven programming, again too short to teach the topic, so you should already know EDP. Chapter 3 is a quick nine pages on the use of the component palette, instance properties, and events. In Chapter 4 the authors discuss the relation of components and the object model, devote a paragraph to each of several classes, and then present virtual constructors. I thought that would be some interesting code to trace through, so I loaded the book CD and looked for the project files. In vain! The book CD only includes the code examples for Chapter 5. This is a mistake. There is simply no way that rookies can accurately type in text from a book.

Having reached the end of Basic Principles, I realized there was no discussion of the language constructs themselves, so the reader must obtain these lessons elsewhere. I usually recommend the classic Pascal: User Manual and Report, by Kathleen Jensen and Niklaus Wirth (Springer Verlag, 1991; ISBN 0-387-97649-3), neither of whom could be considered prolix; they needed four more pages than Wiener and Wiatrowski to describe the Pascal language without objects.

The remainder of Visual Object-Oriented Programming Using Delphi the text is interesting for what it omits. Delphi is aimed primarily at developing multi-tier distributed database applications. The text, unlike the vast majority of its competitors, does not discuss database development at all. That is entirely okay by me; the majority of engineering computations I'm involved with do not involve databases either. The text does lead you through the development of several small apps that have instructive value. Chapter 5 will appeal to engineers, as it discusses the solution of, and presentation of the results for, a differential equation representing the control of a system. In Chapter 7, the authors boldly leap into component construction, which is another order of magnitude more difficult than creating drag-and-drop apps.

I eventually copied all of the projects from the book CD onto my hard drive and tried to build each one. I didn't particularly care for the appearance of the sample apps, but this is a matter of taste.

Delphi 4, like any Borland compiler, is an outstanding code analyst, providing exhaustive error messages, warnings, and hints. Running the code through Delphi 4 listed variables that were not used, variables that might not have been initialized, and type mismatches. There should just not be so much slop in code that is used to teach good programming. One error that was not caught by the compiler was a faulty instantiation of the card deck in the Solitaire app. A new Delphi programmer doesn't have a chance of finding the erroneous statement the_deck.Create; and realize that it should be replaced with the_deck := TDeck.Create;. That this code compiled and ran in earlier versions of Delphi is amazing; that it got into a text is the bane of writers.

I also had trouble with the sample application dealing with images and their manipulation. It wouldn't compile, and I just ran out of time ere I got it fixed. Notably, that program uses the old style Pascal pointers.

My recommendation? You would be better served by more thorough Delphi texts -- for example, Delphi 4 Developer's Guide, by Steve Teixeira and Xavier Pacheco (Sams, 1998, ISBN 0-672-31284-0) --although the part on moving bitmaps without flicker could provide a useful shortcut to apps that need it.

And although there are a few glitches in Delphi 4, I still reach for it first.--Dr. Dobb's Electronic Review of Computer Books

Read More Show Less

Product Details

  • ISBN-13: 9780136186380
  • Publisher: Cambridge University Press
  • Publication date: 12/13/1997
  • Series: SIGS: Advances in Object Technology Series , #14
  • Edition description: BK&CD ROM
  • Pages: 576
  • Product dimensions: 6.97 (w) x 8.98 (h) x 1.34 (d)

Table of Contents

Part I. BASIC PRINCIPLES: 1. Object-Oriented Programming; 2. Event-driven and Windows Programming; 3. Visual programming; 4. The Marriage of Object-Oriented and Visual Programming in Delphi; Part II. THE DELPHI VISUAL OBJECT-ORIENTED SYSTEM: 5. The Delphi Metaphor for Visual Programming; 6. Delphi Components in More Detail; 7. Construction of Custom Components - An Overview; 8. Rollbook application: Specifications, Analysis, and Design; 9. Rollbook Application: Implementation; Part III. SPECIALIZED ASPECTS OF WINDOWS PROGRAMMING: 10. Dynamic link libraries; 11. Creating Effective Animations; 12. Building Multimedia Applications; Part IV. A CASE STUDY: 13. Model-View-Controller and Visual Solitaire Game: The Model; 14. Solitaire Game: The View; 15. Solitaire Game: Moving Bitmaps without Flicker; 16. Visual Solitaire Game Maintenance: The Computer Moves.

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)