2003 has been the year when .net has begun to be truly popularized. I have seen that more than .net software products are developed using .net, but most of them seem to be limited to asp.net applications. As a previous application is not suitable for enterprise application software development. ASP technology alternative. Some high-end technologies that have been widely used in Java platforms, such as OR Mapping. MS official support technology has not yet been formed, and there are only some third-party Mapping technologies. It is said that the Object Space will be launched in the next version of the .net framework. . At this moment when .net really started, Borland finally brought a ticket to the Delphi community to take the .net express train - Delphi 8 for .net.
Since Borland's support for .net is not very early, and the previous C# Builder has been full of bugs, I have started learning .net technology 2 months ago and tried to use Vs.net in case Delphi 8 is unpredictable . But now it seems that I have a little more worries than that. From the time I downloaded Delphi 8 a few hours ago to now, I have used it basically. This Delphi 8 for .net (or Delphi for .net 1.0) is going to be played in the future. After the first patch, you can also try to use it in the project. Let’s talk about some trial situations and share with you some ways.
A New and More Stable IDE
Delphi8's IDE is the same as C# BUILDER's IDE. The stability of this IDE's environment is much better than that of C# BUILDER, and the speed is significantly faster than that of C# Builder. It seems that Borland did it after C# Builder. Some optimizations. My machine configuration is: P4 2.0+5400rpm hdd+256mb+win2000 adv server (not a newly installed system, there are already large programs such as SQLServer). This configuration is basically acceptable to run. However, it is best to run other large programs at the same time. In addition, many people in the online forum said that the IDE style is different from the original one. In fact, if you want to run the same as the original IDE, just customize it ( The method is the same as D7), and you can also use SDI or MDI styles. All toolbars and dock windows can be moved and positioned, and you can save your IDE settings as before. My personal satisfaction with this IDE is 80%
Delphi 8's IDE
>>Click to view the larger image
One shortcoming found in the IDE:
1. I didn't find the Sytax Check of the PRoject menu. I removed it for some reason, and it was not available in the C# builder.
2. If you want to return to the form design state during code editing, it doesn’t seem easy to click on the right to select open on the form in Project Manager. If you double-click the form, there is no response. Only in the code editor Right-click and select Show Designer to return to the Form Designer.
3. I have found that sometimes when clicking on the Windows menu, there will be an error message.
4. When I open a pas file with more than 3000 lines to browse, the entire Delphi IDE disappeared (of course not every time)
5. Sometimes opening large project files will cause some speed delay (or maybe my machine is too slow?)
6. I personally feel that the Model View thing is not practical (it seems quite slow). I have turned it off and replaced it with the original Code EXPlorer. For more information, please see the .NET Development Manual .NET Mobile and Embedded Technology Special Topic, or
B VCL.net controls at a glance
Borland once said that the original VCL-based project can be opened in D8 and successfully compiled into a .net-based program, so I opened a drp in the Demos directory and compiled. It was indeed no problem.
The following figure is the VCL control panel:
As shown in the figure, you may be surprised that the Vcl control you are using is gone.
Dataaccess page: xml-related controls, DataSnap page SockeConnection, WebConnection and other controls are gone. In addition, Borland is very good at Indy series, they all stay there^_^, but unfortunately I rarely use them. (In addition, I have not tried whether I can add disappearing controls manually. Maybe Borland does not provide .net implementations of those controls at all)
C.net controls at a glance
Let me explain that in Delphi8, the visual control of VCL.net (maybe below Tcomponent) and the visual control of .net cannot be mixed. Either establish a VCL application, or a WinForm Application or Asp.net Web Application, the available controls in the control panel after you create a VCL application are different. A Tform or Tedit cannot be used in WinForm Application. On the contrary, it is said that this is the reason why the message mechanism of VcL.net visual control is different from that of Microsoft.net control (similar discussions have been seen in Taiwan in-depth forums). In addition to the same .net components as VS.net, Borland itself also provides some .net components that can be used for WinForm Application and Asp.net Web Application.
New project menu (VCL, WinForm, Asp.net)
Here are several .net components provided by Borland that can be used for WinForm or Asp.net:
BDP can be used as a replacement for Ado.net. But I don't know if it's easy to use.
DBWeb looks more and more like IntraWeb. Has IntraWeb been sold to Borland? Just like that Bold for Delphi, ECO appeared afterwards?
ECO was famous in C# Builder before. It is said that it comes from Bold for Delphi technology. This thing can realize magical MDA development methods and OR Mapping. This is also one of Borland's .net development tools that are more than Microsoft's tools. Temporary advantage.
D Use Delphi Language for Asp.net development
I personally think that most of the current .net applications are Asp.net web applications. Then it is a great honor to be able to use the familiar Delphi Language for Asp.net development. At least you don’t have to be busy learning C# language in the short term. Although C# still needs to be learned in the long run, you can temporarily put it aside and use familiar ones. Language starts the actual project directly. Delphi8's development environment and functions are basically the same as Vs.net, and it has many input perception and editing functions.
For more information, please see the .NET Development Manual
.NET Mobile and Embedded Technology Topics, or