Sanwei Book - Delphi

xiaoxiao2021-03-06  74

http://hubdog.9cbs.net/Updatelist/ul20030102.htm

Sanwei Book - Delphi

Moderator: xingzhou (boating), "programmer" magazine technology editor

Jiabin: GRHUNTER (Han Lei): founder of Chinese Development Online (www.codelphi.com)

Hubdog: "Delphi Depth Exploration" Author

Pascal and Object Pascal

Xingzhou: Li Wei's "Borland Legend" series, seemingly language calm, but it contains the Borland complex to let many of the programmers. Borland's defeat in the C development tool market, but Borland's counterattack strategy made people accidentally, because their weapons were actually Pascal that was abandoned, although the early turbo pascal was red pole, but Borland still used The Turbo C sent Turbo Pascal to the museum.

GRHUNTER: However, there are also known people who think that PASCAL is a reason for Delphi success. Because although the Pascal language has ANSI standards, the world is probably only a Borland's compiler manufacturer also supports Pascal, which is only the only, Borland has absolute leadership advantages. Because of the advanced technology and dominant position of this language, Delphi is almost equal to a new language, and it can be used to play, and it also uses extremely elegant and simple style to show a pattern different from other development tools.

Hubdog: The true essence of Delphi is Object Pascal. Borland integrates modern-oriented software development ideas based on the standard-oriented PASCAL language, so that this "most elegant" programming language is new life.

Xingzhou: An advantage that uses Pascal as a meta-language is not compatible, because the ANSI standard is actually equivalent to Borland's own standard. This benefits can be revealed from C Builder's defects, in order to compatibility with various C elements - including Borland's OWL, MFC, ANSI standards, etc., make it comparative, this defect has become the largest C Builder. Sculpture.

GRHUNTER: Yes, MS VC has an absolute advantage of the C language development platform market, and C Builder and other products should be compatible with it.

Hubdog: Although the standard Pascal is in many ways with Object Pascal, the object-oriented and the oriented process is two different kinds of differences. If you start learning, the standard Pascal is the standard PASCAL. When the process of the process is deeply rooted in your mind, you will feel that it is difficult to understand the object-oriented idea, at least I have experienced such a painful process. So I think if a person who has never learned a standard Pascal, an understanding of OOP ideas in Object Pascal, but is more natural. Therefore, my suggestion is to skip standard Pascal and learn directly Object Pascal.

XINGzhou: About the process and object-oriented, I don't think you can easily divide who is bad, or who is advanced. My understanding is an object-oriented way to develop a methodology, and the process is the purpose of software development. After the concept of OOP, let us have a new in software development, very good choice. If it is not to be a high low, it is more confused.

But talk about learning Pascal language, I am afraid it is difficult to find a suitable book on the market. Now Pascal's book is rare, let alone find a book that is specifically Object Pascal. Hubdog: In fact, learning Object Pascal's most authoritative and most comprehensive information should be the Object Pascal Reference in the online help distributed with Delphi software. Unfortunately, because Borland did not have Microsoft as a strong financial and humanity, the help of Object Pascal so far is also pure English. But if you bought genuine Delphi software, you will get the Chinese translation manual of Borland's Object Pascal.

Xingzhou: The so-called far in the sky, near you!

GRHUNTER: Read this "Language Guide" at least two benefits: one, although the content is straight, but all the way, there will be a complete understanding of the language; two can be the difference between the language itself and the compiler characteristics Clear understanding. Novice is often unclear what is the problem of language itself, what is the problem of compiler implementation, what is a specific problem for support platform.

Hubdog: This manual is not very thick, but it is a lot of important themes. From the language most basic elements, data types, variables, constants, function processes, classes, standard IO, dynamic connection libraries, and memory management. The embedded assembly language, the object interface, etc. mentioned, and even a syntax diagram of Object Pascal, the only disadvantage is not as a large number of detailed examples like "C Primer".

Xingzhou: The document that is self-use software is indeed a good idea, simply pressing "F1", you can quickly get answers in a powerful online help system. Although Delphi's help system is difficult to compare with huge MSDN, it is enough to cope with the actual situation.

Hubdog: In fact, other books that explain Object Pascal syntax details are basically not, even if some books are slightly involved, it is also a little water. However, someone translated the "Essential Pascal" written by Macro Cantu, although the content is not a lot, but there are many exquisite explains, it is worth seeing.

Xingzhou: I have checked online, "Essential Pascal" download location is really a lot, such as: http://www.21url.net/delphi/essential_pascal.chm.

Hubdog: Ray Liscbner's "Delphi Technical Manual" book is also part of the content of the language itself, very good, and the power publishing house is also true, but the strange is such a Delphi, the world's sales in 2001. The classic book is not good in domestic sales, so that I am very strange. I guessed that this book is too small, so many people think that is not strong?

System introduction class:

Xingzhou: I rarely use Delphi, but because of the common C Builder, C Builder's book is very small, so basically refer to Delphi book, after all, they have a very similar place. Although I bought some Delphi books, I thought about it, but I feel that it is difficult to make everyone think that "classic" Delphi book compared to other books such as C .

GRHUNTER: It is just that C is mixed with Microsoft Visual C , we can't simply think that Delphi is Pascal. For C , it can be used as an example, but if the discussion is limited to VC , it seems that the classic work seems to be not much. In fact, in the Delphi development world, there are also some books / authors to be familiar, even their books must be bought, and it is not bought. Xingzhou: But for beginners, choosing the right book is indeed a problem that ahead, it is very much, but there is not much harvest, and many people are asking this question: "How to choose a good Delphi reading? "

GRHUNTER: The answer to this question is insightful. Generally speaking, I don't buy a work of domestic authors, and even buy a work in China.

Hubdog: I also have the same feeling, because some of the domestic publishers really do not cherish their own reputation. For example, many of the books that have a signboard in Delphi, how to develop database programs, how to use TButton and other controls, which leads to a lot of Delphi beginners have a misunderstanding, think that Delphi and VB, PB, etc. are almost, nothing more than one The language that can be used to quickly develop database applications, think that Delphi's program development is to drag and drop several controls, set some properties, OK, and this is a complete error.

Xingzhou: I also noticed that many translated books are not high, and some Chinese version of the books that have highly evaluated highly criticized criticism.

GRHUNTER: However, foreign Delphi books are not excellent, and most of them are also rubbish. It is recommended that the reader will take a look at these places before purchasing books: 1, DR. Bob website (www.drbob42.com), some book reviews, evaluation of Ken. 2, Delphi Informant Magazine magazine online version (www.delphizine.com) or paper printing plate, the magazine book review comes from the master, more credible. 3, Amazon Online Bookstore (www.amazon.com), if a Delphi book has a relatively high evaluation (including editing evaluation and reader evaluation), then this book is absolutely worth buying.

Xingzhou: According to the results of the authoritative survey, the programmer using Delph is more than half in China. At the 9CBS website, Delphi is also one of the most popular forums. However, I noticed that some people often mention very simple questions, and some of them are actually very experienced. I think this is the reason why their knowledge structure has a vulnerability, or that learning is not systematic.

GRHUNTER: System learning Delphi, it is recommended to see Charlie Calvart's Delphi X Unleashed (in Chinese) series, but it seems that it has not continued to continue. The series is relaxed in writing, but it is not relaxed and lost. .

Xingzhou: I have a big piece of Delphi in hand: "Delphi 5 Programming Development Guide". I feel very good, comprehensively, my favorite look is its topic. Now, Amazon is already selling 6.0.

Hubdog: The author of "Delphi5 Programmer Development Guide" has rich development experience, including CHALIES CALVERT and Xavier et al. Have also served in Borland, so these books are very actually practical, in place. And because the knowledge covered by these books is very comprehensive, it is very suitable for the case to reserve it. GRHUNTER: The biggest feature of this series is to focus on technical specific applications. For the problems that readers are easily encountered, they are more in-depth explanations, so practicality is quite strong.

Hubdog: Macro Cantu's "The MasteringDelphi X) series is also very good, and the domestic introduction of For Delphi4, 5, 6. Recently, I read "Delphi6 from the introduction" English version, I feel that the level of the book is much higher than the previous version, especially the new technology tracking of Delphi6 is very tight, rewriting a lot of content, adds to XML and COM , Action enhancement, CLX and database content, etc., it looks very enjoyable.

GRHUNTER: This book is the name of MasteringDelphi X. Author Marco Cantu is very thorough for Object Pascal, and can keep up with the development of technology, and add corresponding chapters for each new version of Delphi.

Hubdog: Indeed, this book's explanation about Object Pascal should be said to be the best in this book, especially it provides a very exciting example of the interpretation of the interface and package, showing how to use interface and package implementation Similar to the plugin technology of Borland's Open Tools API, and from the future technology development trend of Delphi, the interface technology imitates multiple inheritance methods will substantially replace the previous single depth inherited VCL framework, this part of The content is worth careful. A good news is that the Chinese version of this book has been introduced by the Electronic Industry Press. However, there is a bad news to see the book review in China-Pub, it seems to be translated, not very satisfied, so I want English. Good people still read English.

GRHUNTER: The common feature of these books is the discussion of the topic, accompanied by rich and interesting examples, and all the books of the all-book books, thousands of pages. So, if you don't match the actual exercises, you will lose its meaning. Therefore, after getting the book, I think it must be carefully viewed the source program parallel to the original book, the routine in the book, and the instructions in the corresponding chapter in the book, so Can get started very quickly.

Hubdog: In addition, the extent of these three books is slightly different. Relatively, Xavier et al. Compares the "Delphi programmer development guide", basically based on VCL development, and comparison between content changes between various versions Less, the latest D6 version is compared with the D5 version, I just looked at it, but added the contents of InterBase Express and Decision Cube. The "Delphi4 technology insider" of CHALIES is relatively deep. Many examples are not based on VCL, but directly call the Windows API to be implemented. When you just read, you may have some difficulties, but this will undoubtedly help readers better understand. The wonderful implementation of VCL. In addition, CHALIES is more proficient in DirectX, so his book is the only book containing Delphi development DirectX program content, and the DCOM and CORBA part of this book are also very exciting, it is the earliest discussion of three The book developed, even now, it is not too time.

GRHUNTER: System learning Delphi books There are also $ Delphi x (Chinese translation "Delphi X Development Handbook" series of Todd Miller, the author is a member of the Delphi development group, which has a deep understanding of Object Pascal and Delphi. It is also familiar with it to help Delphi's comprehensive understanding. Reference Manual:

GRHUNTER: Recommended two, Clay Shannon's Developer's Guide To delphi Trouble-shanging (Chinese) and Ray Lischner Delphi In a nutshell (Chinese). "Delphi Technical Manual"). Developer's Guide To delphi Trouble-shanging will write the programs and the possible warnings that may be encountered during the compilation process, and the error message is listed in detail. There is a description of the possible cause of the error, and a method of solving the problem is a hard work that the author sets for many years of development experience. Delphi in a nutshell's explanation of the VCL system, RTTI, multi-thread, etc., is concise, refers to the people, and it is scratched to itch.

Hubdog: For VCL function library, I don't think of which book is more detailed and comprehensive than "Delphi Technical Manual", the author ray Liscbner has introduced the VCL function, process, variable, and in detail. Keywords, etc., and very clear and thoroughly speaking many embarrassments. The only lack of regret is that there is no index of the function process in the book, and it is not so convenient to check. Speaking of Ray Liscbner, this person is my idol, wrote a lot of best-selling Delphi books, including "Secret of Delphi2" and "Hidden path of delphi" where Hidden path of delphi is the only discussion of foreign publications so far. Open Tools API's book, explaining a lot of Borland has never been public secrets, but unfortunately, these two books have not been introduced to China. Ray Liscbner is recently written another book for Oreilly "C in a nutshell", and he often in Borland's Open Tools API and Kylix newsgroups, very enthusiastic, and I have answered me several questions.

GRHUNTER: This book is indeed a must-have reading of Delphi developers.

Theme research

Xingzhou: Programming on the Windows platform, reasonable use of the API to programming is an eternal topic, this is no exception for Delphi, the previously recommended "Delphi Programmer Development Guide" contains a lot of how to use API Perform programming.

Hubdog: Foreign WordWare Press published a series of Delphi's books that use Windows API program - "The Tomes of Delphi" series, the best two are "Windows Core API Development" and "Windows Graphical API Development". The feature of this series is that each API has a detailed example of a detailed example and has a detailed description of each parameter of the API, and each book will be averaged nearly 300 examples, and encountered in programming. The API will not call, as long as this book is looked, you can find the answer. Among them, I only like this book, because the example of the book shows a lot of graphics effects. After reading the book in the book, look at these beautiful effects and an additional enjoyment. Unfortunately, these books have not introduced to China.

GRHUNTER: This type of book is also some in China, but most of them will be the tips of Delphi enthusiasts to translate the quiltose, very zero, and it is not guaranteed to be able to run. I don't recommend everyone to buy such books. Hubdog: However, Chen Saida wrote a book for a book for a book. It is an exception. The content is relatively rich and in-depth, and the language has inherited Taiwan writers consistently and humorous characteristics and read it easily and happily.

Xingzhou: This book is deeply adventive, but I think it is too biased toward entertainment, and for system-level, the API of the functional application level involves less.

Hubdog: I also think that the book is not enough system, which may be due to the author's writing book is still going to school, so interest is the reason for distracting?

GRHUNTER: "Deep Adventures" is probably because it is the author's first book, the pen is restored, lacks everyone's style.

Xingzhou: Under Windows, master COM programming is also an important part.

GRHUNTER: Eric Harmon Delphi COM PROGRAMING (Chinese translated "Delphi COM in-depth programming")

Hubdog: This book is characterized by pile up a lot of source code, but I feel lack of theoretical and systematic descriptions, let people just know how but don't know. So many Delphi develop COM, but also to learn from Don Box "COM nature" and classic "inside ole2" C language book.

Xingzhou: Hubdog's masterpiece "Delphi depth exploration" seems to be the only book specially discussed in Delphi for COM development.

Grhunter: Oh, you are welcome, Hubdog's "deep exploration" is too zero.

Hubdog: Yes, I am more focused on the application for COM. This is mainly because I have written this book, I am still in the school, and it is extensive. Therefore, the content of this book is more zero, the theoretical is not strong, causing many people to see it, I don't know what to do. After I think, I still reitefully write some summary content. Unfortunately, the wood has become a boat.

Xingzhou: Talking about Delphi development, database program development is undoubtedly Delphi's most important application field, which is one of Delphi's success, it not only completely defeated Power Builder, which also occupies the upper wind in the contest with VB.

Hubdog: Database Development Advanced Good Book, I first saw Li Wei wrote the "Delphi3 actual combat" book, the domestic version is "Delphi3 from the entry to the proficiency", is the Aerospace publication. Strictly said that this book is not a purely speaking database development, only half of the book is related to database development, but it is rare this book for the efficiency and use of our most common database components. Due to the in-depth analysis, the comparison of TTable, TQuery, and TSTOREDPROC components, the efficiency comparison of TDatabase, LOOKUP and LOCATE, etc. The root cause of system efficiency is low, and it is a sudden feeling of how to write an efficient database program after reading. It is worth mentioning that this book is also the first to introduce the three-story book. After so many years, in the "Delphi4 technology insider", I have already sold it five fold today, it still has a place on my bookshelf. . Xingzhou: I use ADO programming and start learning from Li Wei's book, remember is "Delphi 5.x ADO / MTS / COM Advanced Program Design".

GRHUNTER: Li Wei's distributed multi-layer system series (including "Delphi 5.x distributed multi-layer application system", "Delphi 5.x distributed multi-layer application e-commerce article", "Delphi 5.x ADO / MTS / COM Advanced Program Design ("Delphi 6 / Kylix2 SOAP / Web Servic Program", etc.), is a special reading of Delphi multi-storey application design, the pen method is fascinating, it is called in Chinese Delphi By. .

Hubdog: Li Wei is undoubtedly a boutique in distributed database development books, covering the necessary technologies involved in developing distributed multi-layer applications with Delphi5, from discussing how to build a distributed multi-layer application system using Delphi, has been in-depth analysis To how to develop high-efficiency multi-layer applications, let you have a dealing with Delphi's Midas and distributed objects. Anyone who has just started using MIDAS will encounter system efficiency and annoying problems that are configured with DCOM. Li Wei is willing to publish his valuable experience in these books, share with you, is worthy of our festival.

GRHUNTER: But readers should recognize that the multi-layer distribution applications introduced in this series of books are generally based on Borland's own platform, and examples are too simple and are directly used in actual suffering. However, if the reader reads the mentality of "understanding multi-layer distributed applications", it will be beneficial, the key is that he is not endless letter.

Xingzhou: Li Wei's book is a class, basically introducing Borland's new products, new technologies, work than Borland's popular science reading, but it is better, but after a certain work experience, it will need I have explored myself. The so-called "master lead door, practice in itself".

Hubdog: In addition, these books describe the Midas three-layer development architecture comes with Delphi, in large systems, like the Tuxedo and WebLogic and IBM's CICS, MQ and WebSphere, etc., even in small and medium-sized In the system, Midas is also far from mainstream products. The actual successful cases are rare, and compared with third parties such as Microsoft's own COM and ASTAs are undoubtedly occupied by stability and simplicity.

Hubdog: As for the continent-related books, although there are a lot, but harsh, there is no good book, most of them simply translate Delphi online parties for documents on the database development section. Although there are some examples of example development, but they cannot compare with Li Wei in the depth. GRHUNTER: Recommend a few other books. KEITH WOOD Delphi Developer's Guide To XML is the only book that is fully introduced to XML technology in Delphi application, the book organization structure (from the XML specification, DOM specification to various manufacturers to DOM / SAX API API to real world The specific application is applied, it has considerable strong versatility and guidance. The author has written the Delphi Informant Magazine for a long time, and the text is simple and straightforward. Alex Fedorov et al. AdvancedDelphi Developer's Guide to Ado and Kudzu et al. Delphi Developer's Guide to Communication Programming are a model of specializes in a special area.

Hubdog: The "Delphi6 SOAP / Web Service Design" written by Li Wei has made a detailed introduction to many of the popular technology such as SOAP, Web Service, and UDDI, and the advantages and disadvantages of them have also made Zhongken's evaluation, for the future Technical development has made good prospects. However, the Web Service is still in a rapid development stage. Many of the norms are not perfect. There is still no large-scale use of the application, so I think this book is more suitable as a technical reserve, the actual meaning is not very Big. In addition, this book is not much involved in SOAP's foundation XML, and it is not enough.

to sum up

GRHUNTER: Sichuan food is unique, and the Delphi developer's reading face is also not too narrow. I think, except for Delphi books, the following three types of books should also be involved: First, the principle of Windows system and API reference, one is software engineering, one is modeling and OO (object-oriented) principle. More master readers can also realize the true meaning of the program from philosophy and all books.

Hubdog: Overall, Delphi's book is still more than the application so far.

GRHUNTER: Delphi can stand up and stand in a Microsoft's development tool, and the reason is that the reason is kind, and the two is focused on the application. He is one, which is the so-called RAD (Rapid Application Development, fast application development). Naturally, Delphi-related books also highlight the characteristics of "practicality".

Xingzhou: The classic book introduced above is the overseas version, and the status of language and other languages ​​such as C is as good as it is.

GRHUNTER: This shows that everyone lacks everyone, lacks experience, and master

Hubdog: After the introduction of many classic external books, the readers reflect bad, indicating that the domestic translation level also needs to be improved.

GRHUNTER: Yes, if Don Taylor is in the final part of the Delphi Programming Explorer book with the other two authors, even uses the form of detective novels to describe the Delphi database application development technology, and the twists of plots, the writing of writing, It is unbearable to most "real" detective novels. MARCO CANTU, STEVE TEIXEIRA (and its writing group), CHARLIE CALVART and other people's work can be revised repeatedly, and each version is launched, it is sought after by Delphi developers, which is not the word style with the author. relationship. Unfortunately, it has never seen a Chinese translation that truly exactly the original style. One hundred books in a region, translators reached more than ten people, and their translation quality can be imagined. Even the basic terms, the grammatical logic has to make mistakes, and more about the style of writing. Xingzhou: The situation has improved a lot over the previous year, I hope that the publishing society can truly attach importance to this issue, so that the classic book is really a boutique.

This site original and translated content retains copyright, welcome to post, please indicate the small nest to the Parbus dog when reposing

转载请注明原文地址:https://www.9cbs.com/read-120119.html

New Post(0)