Why create VCL for. NET? -- Written by Delphi compiler architect

Source: Internet
Author: User

Abstract: Why does Borland create VCL for. NET? When should you use VCL for. NET instead of the Windows Forms framework of the. NET system itself?
Delphi 8 for. NET has aroused great attention in the Delphi community! People frequently talk about. NET infrastructure in newsgroups, chat rooms, and small party meetings, and about the relationship between it and the Win32 platform that we are all familiar.
One of the hot topics is Delphi8's VCL for. NET. Most of the arguments seem to be focused on this issue: in this ambitious plan, what is the purpose of VCL for. NET? It is a short-term transplant bridge or a long-term application framework. Why does Borland need to create these things to compete with Microsoft's WinForms? Is this a wise move or a lack of caution?
Please be quiet. There is no need to argue over this issue. The reasons are as follows.
Background
Microsoft's. NET Framework provides a hardware-neutral execution environment and language-independent type system. This is good, but it is not enough to generate a Windows-based client application .. NET also includes the Windows Forms ("WinForms") application framework to create a graphical interface application for the WIN32 operating system. Programmers familiar with Borland VCL application architecture in Delphi or C ++ Builder will find many familiar design patterns in the. NET WinForms framework. This is not surprising: as Anders Hejlsberg said, "It's a good mechanism. Why not ".
Although there are many similarities between VCL and WinForms, it is very difficult and painful to port the existing Win32 VCL application to WinForms. In addition, this will limit adoption of new ideas. The sales of corresponding (software) tools also bring about the same problems.
. NET is a new platform. In the software industry, even all new activities are based on. NET. Compared with existing and ongoing Win32 development,. NET application development is still a small part. We mentioned earlier about the customer's. NET platform interest survey clearly shows that many Borland customers are interested in. NET is an uncertain interest. They cannot afford to give up all the investment on the Win32 platform, but are completely new.. NET platform. This is still the case today and it will continue for years.
It is easy to create a WinForms in Delphi 8 for. NET. The existing Delphi developers told us: "This is good, but what can we use it to do for our VCL code? These codes were previously created, and our business relies on these codes ."
To make our customers more satisfied and. NET platform is more attractive for existing Delphi developers, and some things are needed to fill the existing Win32 development and new. NET development. It needs to be a pure. NET Framework like the. NET Framework itself. It also needs to provide high compatibility with the existing Win32 VCL structure. To attract existing VCL developers, Delphi for. NET needs a VCL implemented on the. NET platform.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.