The name Delphi comes from the name of the city in ancient Greece. It concentrates the advantages of third-generation languages. Based on Object Pascal, it expands object-oriented capabilities and perfectly combines visual development methods. Delphi has attracted people's attention since its launch in March 1995, and won many awards that year.
The emergence of Delphi broke V's dominance in the field of visual programming. And Delphi uses local compiler direct generation technology, making the execution performance of the program much higher than that of programs generated by other products. It is also a true object-oriented programming language. The rigor of the PASCAL language coupled with the advantages of visualization and powerful database functions make it fully capable of competing with Microsoft's VB. Many people believed that Pascal was the most promising programming language at the time and predicted that Delphi would become the mainstream environment for visual programming.
Delphi automatically converts it into an .EXE file after you compile the program. It runs faster than VB, and it can run without the need for other support libraries after compilation. Its database function is also quite powerful, making it an ideal programming tool for developing medium-sized database software. Delphi is suitable for the development of application software, database systems, system software, etc. Moreover, it has almost the same functions as VB, and can also use API functions, which is very useful in controlling Windows.
Delphi is a new visual programming environment that provides us with a convenient and fast Windows application development tool. It uses many advanced features and design ideas of the Microsoft Windows graphical user interface, adopts a flexible and reusable complete object-oriented programming language (Object-Oriented Language), the fastest editor in the world today, and the most leading database technology . For the majority of program developers, using Delphi to develop application software will undoubtedly greatly improve programming efficiency, and with the deepening of the application, you will find that programming is no longer a boring job - every design detail of Delphi, All will bring you a joy.
Basic form of Delphi
Delphi is actually a version of the Pascal language, but it is very different from the traditional Pascal language. A Delphi program is first an application framework, and this framework is the "skeleton" of the application. Even if nothing is attached to the skeleton, it can still operate exactly as designed. Your job is just to add your program to the "skeleton". The default application is a blank form (Form), you can run it and get a blank window. This window has all the properties of a Windows window: it can be zoomed in, moved, maximized and minimized, etc., but you did not write a single line of program. Therefore, it can be said that the application framework lays a good foundation for the development of user applications by providing things that are common to all applications.
Delphi has done all the basic work for you - the program framework is a completed runnable application that just doesn't handle anything. All you need to do is add the code to the program to complete the function you need. Behind the blank window, the application's frame is waiting for user input. Since you didn't tell it how to react after receiving user input, the window only responds to basic Windows operations (move, zoom, etc.), it just accepts user input and then ignores it. Delphi puts the complex processes of Windows programming such as callbacks and handle processing under an invisible Romulam cover, so that you can program visual components easily and calmly without being bothered by them.
Object-oriented programming concepts
Object-Oriented Programming (OOP) is the basis for the birth of Delphi. OOP aims to create software that reuses code and has the ability to better simulate real-world environments, which makes it recognized as the winner of top-down programming. It "encapsulates" functions into "objects" necessary for Windows programming by adding extended statements to the program. Object-oriented programming languages make complex work clear and easy to write.
It's a revolution, not in the objects themselves, but in their ability to handle work. Objects are not compatible with traditional programming and programming methods, and being partially object-oriented makes the situation worse. Unless the entire development environment is object-oriented, the benefits of objects may not be as much trouble.
Delphi is completely object-oriented, which makes Delphi an accessible development tool that promotes software reuse, making it very attractive.
Some early programming languages with OOP performance, such as C++, Pascal, Smalltalk, etc., although they have object-oriented characteristics, they cannot easily draw visual objects and have poor interaction capabilities with users. Programmers still have to write a lot of code. The launch of Delphi filled this gap. You don't have to create objects yourself, just add the code to complete the function in the provided program framework, and leave the rest to Delphi. If you want to generate beautiful interfaces and well-structured programs, you don't have to rack your brains at all, Delphi will help you do it easily. It allows the use of its Object Pascal language in a visual programming environment with true OOP extensions. This revolutionary combination closely combines visual programming with object-oriented development frameworks.