Book Review of "Understanding Delphi" This is a book that almost passed me by. As we all know, there are very few good Delphi books in China, and I don’t need to explain the reasons. After you have several years of Delphi development experience, I think you should be able to read almost all the Delphi books published in China. There are only a few books. There are quite a few foreign classics, but you can only itching to go to Amazon to transfer them. Otherwise, I can only envy the good fortune of C++/Java programmers - famous classics basically have Chinese translations and photocopies. For comparison, has Delphi ever had photocopies? Even taking translations as an example, can you name ten quickly? You can only turn your attention to the country - now, a hundred flowers bloom, and all grass grows together - Delphi books are a surging trend in the computer book market! ! Therefore, when I saw this book on china-pub in the middle of the year, I was quite dissatisfied with the title - Shenzhen Li Zhan had already written an article "Understanding Delphi" (The Atomic World of Delphi), and this book is only one word different from it. . I looked at the catalog, and without browsing it carefully, I saw the second part of "User Interface Design", which was hundreds of pages long. So I thought it was the common garbage on the market, so I skipped it and stopped. Got it. By chance, I went to Bagualing with my friends to buy books (haha, it’s the second store I entered. Friends from Shenzhen should go there more often when they have time. It’s the china-pub Shenzhen branch. The whole store is 20% off. The environment is also good. I want to save 5 yuan. I just used the money to pay for books and forget about it, but our brothers My brother is mostly in Nanshan, so it’s still a good idea to give him a book:). I saw this book, so I flipped through it. When I saw the virtual method, I took a closer look - since it talks about the virtual method, I’m afraid it won’t be possible without VMT. a thorough understanding, but few books talk about VMT, even Marco Cantu's Mastering series is also just a little bit clinging to the pipa, and you can't see it if you don't pay attention (I went to a bookstore on National Day and found that the d7 version has been translated again. It's really fast - the translation is fast, and someone has changed), and the manual series Basically, even the OP didn't talk much about the development guide. The first article I saw about VMT was Delphi's Atomic World, and the other one was Delphi in a Nutshell. Although it was more in-depth, it was too short, Ray Lischner cherishes ink like gold, leaving only one vmt.exe for you to experience, but it is already a ray of light from the treasure house (VCL)! The other article is "Tian Fang Ye Tan VCL" by Chong Chong, which is equally wonderful - when I saw the author speculating on the difference between the base address of the dynamic method table and the virtual method table, I knew that this was my first opinion of this book. Wrong! In fact, I don’t have a deep understanding of dynamic method tables. Although Ray Lischner listed the layout of a dynamic method table in the book, I often glanced over it without going into in-depth study. When I saw this book, I looked at the author. Making speculations and verifications with great interest also makes me very interested:) It can be said that the essence of "Delphi" lies in the first part "The Essence of Object Pascle Language"! To study OP systematically, you don’t need too many books. Take a look at Marco Cantu’s Pascle Essentials, and then carefully study the object pascle reference manual provided with delphi (there is a Chinese version in China), then the foundation of OP has been laid (many people have If you complain that there are no books on OP, then please study the OP reference manual carefully first!) Then, if you go deeper, you can read the first few chapters of the Mastring series. In addition, it is this one. I make no secret of my love for this book - —Especially the first nine chapters! To give a small example, Chapter 7, p201-204, reintroduce keyword, reintroduction and redefinition. There are not many books that explain this keyword carefully. The examples in this book are very clear, allowing beginners to quickly Have a better understanding (look at the "new" keyword added by Aanders in c# ——I'm not talking about the one used to create objects, haha:) Another example is the "Subprogram Parameters" section in Chapter 2. Regarding the very basic but very important knowledge about parameter types, in the Developer Guide, Only values, references and constant parameters are introduced, and out and untyped parameters are not mentioned at all! Did the two authors feel it was so basic that no explanation was necessary? :) The same is true for many domestic books, which seem to be some kind of "profound" theory without explaining it to beginners: (I have to admit that I have read too few domestic Delphi books, except for the OP manual, which introduces comparatively Even this book is detailed. Although it is a simple small detail, it still shows the attitude of the author - if the author always If the book is written from the reader's perspective, then at least it will not make the reader confused when reading, like entering a deep mountain and dense forest, with no idea of the direction. There are too many books that do not consider the reader, not the words before and after the sentence. The contradiction is that it is obviously pieced together and cut, or the code cannot be adjusted at all - take a look at the books written by the previous X Wang and the current X Si (I'm afraid it won't work! There will be people on the Internet who will scold me:) And in this book, between the lines, I can often see the author's rigorous attitude in writing books. It is more of a true Delphi enthusiast's love for Delphi and its valuable learning experience. And research! And people on the market who just want to make money from readers (I call this kind of people "pull" books) "Books instead of "writing" books), let's judge! I often hope that those who "pull" books don't understand Delphi at all. This will at least give me some comfort - Delphiers are all admirers of the goddess and not Will blaspheme her - unfortunately, those who "pull" books are often also so-called "delphiers"...Sorry to go off topic! :) The first 9 chapters of this book basically provide an in-depth introduction and analysis of the OP. From this point of view, this book is not in-depth from the title, but it is from the content. It is an introductory book. I personally think that it will be easier to read this book after you have at least read through the development guide series and the Mastring series. Easy to understand and appreciate the essence of it (off topic, if a beginner feels that the developer's guide is too thick and dare not start or even hopes to find a shortcut, I advise you to give up Delphi, because this book will give you the knowledge of Delphi programming. A solid foundation. Delphi programmers who have not studied the guide series simply scare me. Imagination - either high and shocking or low:) This part can be said to be a deepening and refinement of the content of the OP reference manual, plus the author's own detection and research (this part is more in-depth and worthy of study), Therefore, just this part, I think it is worth buying personally (if you are still studying, then I advise you to bite the bullet and read the development guide first) Buy it and read it through--then consider this book after reading it.) Another thing to mention is the notes scattered throughout the book--almost every page--which also shows the author's rigorous attitude. Many specious concepts, the author often It is listed in detail in the form of prompts, and easily confused areas are often distinguished by comparison with similar concepts, which I think is very commendable. In addition, I think the fourth part is quite valuable, the "operating system core programming" part, Chapter 24 message processing and interception, subclassing, Chapter 26 hooks and dll, Chapter 27 process and kernel objects, Chapter 30 Virtual Memory, Chapter 31 Area Objects and Inter-Process Communication can be said to be the highlights of this part. As we all know, in terms of in-depth windows kernel programming, there are very few Delphi books. I personally feel that if you can implement the content of Jeffey Richter's work in Delphi, or imagine how Delphi should be implemented in your mind, then I think your level will be improved. Improvement, and for readers who do not have C++ skills but need this knowledge, I think this part of the content will satisfy you. The fourth part, component development and IDE extension, has some parts that I am satisfied with and some that I am very dissatisfied with. The one that makes me more satisfied is Chapter 18, RTTI part. Although the development guide is also introduced, I feel that the amount of code and in-depth discussion are not enough to satisfy me. Fortunately, this chapter makes me very satisfied with both the amount of code and the theoretical discussion! As for the component development part, I think it is much inferior to the development guide. What makes me even more dissatisfied is Chapter 22, Interface and COM. This may be because I have read Eric's Delphi COM Programming book. Comparing this chapter, I don’t think this chapter can give readers who don’t know much about interfaces a better understanding, even conceptually or practically, let alone COM, so I think if the author is serious about writing a second edition, this part should be included strengthened. The author may not be very good at the OTA part of Chapter 23, so I will go through it. Personally, I think if you want to learn this knowledge, you can read Chen Sheng’s in-depth exploration, study the source code of GExperts, and search on bdn. There are Several very important articles. Finally, there is the tasteless part of the book - Part 2: User Interface Design. I don't quite understand why the author put this part up, because it has nothing to do with the in-depth discussion of Delphi, and even if it is "Advanced Component Usage", I don't think it is of much value - these contents include "Sunflower Collection" and various version of the Tip Book, or online After searching, it is enough for general applications. There is no need for the author to add this part. If there is a second edition, I hope to remove this part, then go deep into the OP part, strengthen the interface and COM part, and expand the system programming part, then it will be more The word "penetrating" is right! Another thing to say is that although the annotations can represent the author's rigorous attitude, too many are a bit too much. I appreciate the annotations in this book, but they are also a bit too much - some chapters are almost on every page. ——Rather than this, some content is better to be put into the main text, and some comments I think are dispensable. If there are fewer comments, the overall balance will be better—personal feeling:) Overall score: 5 points Out of full marks, I would give it 4 points. As for domestic related books, I think this one should be the best at the moment - if there are more books better than this one, that would be what Delphier would be most happy to see:). Let’s stop here. If you are not financially tight, I recommend buying it.