them. It mentions how they can appear as "fat resources," which are code resources composed of both 680x0 and PowerPC code, and can thus run on any Mac.
Such information demands lots of source code examples to illustrate the concepts, and Joe Zobkiw doesn't disappoint. Sample code is provided that illustrates
how to write fragments that are plug-in modules for Adobe Photoshop and others that add functions to HyperCard (XCMDs). Trap patching is explained, along with code that implements a "fat trap," a patch made of 680x0 and PowerPC code. Finally, there are examples of writing resources that implement custom dialog box controls (CDEFs), lists (LDEVs), and windows (WDEFs).
This sort of information is scarce and difficult to find, and it's nice to see it, along with useful source code, under one cover. Best of all,
A Fragment of Your Imagination
fulfills my "no toy programs" requirement. That is, most of the supplied sample code accomplishes practical tasks. The CDEF sample implements a slider, which is one of the most difficult items to program because of the way the code must respond to the user's actions. All in all, this book is a great resource for anyone doing serious programming on a Power Mac.