This book focuses on examples. After the presentation of each concept or Delphi component, you'll find a working program example (sometimes more than one) that demonstrates how the feature can be used. All told, there are over 300 examples presented in the book. These programs are available in a single ZIP file of less than 2MB on both Sybex's website (www.sybex.com) and my website (www.marcocantu.com). Most of the examples are quite simple and focus on a single feature. More complex examples are often built step-by-step, with intermediate steps including partial solutions and incremental improvements.
Note |
Some of the database examples also require you to have the Delphi sample database files installed; they are part of the default Delphi installation. Others require the InterBase EMPLOYEE sample database (and also the InterBase server, of course). |
On my website there is also an HTML version of the source code, with full syntax highlighting, along with a complete cross-reference of keywords and identifiers (class, function, method, and property names, among others). The cross-reference is an HTML file, so you'll be able to use your browser to easily find all the programs that use a Delphi keyword or identifier you're looking for (not a full search engine, but close enough).
The directory structure of the sample code is quite simple. Basically, each chapter of the book has its own folder, with a subfolder for each example (e.g., 03\FilesList). In the text, the examples are simply referenced by name (e.g., FilesList).
Note |
Be sure to read the source code archive's readme file, which contains important information about using the software legally and effectively. |