The coolest programmer with Kol

zhaozj2021-02-08  235

The coolest programmer with Kol

By SuperPage

Foreword

The VCL library is well known to the Delphi programmer, almost became the spokesperson of Delphi Rad technology. VCL has the world's largest and most abundant control resources covering all aspects of software development, far exceeding other development tools, is coveted by each programmer. The advantages of VCL no longer say, now I have to introduce another set of Delphi to Delphi: Kol.

What is KOL?

KOL - Key Objects Library is a set of objects to develop power 32 bit Windows GUI applications using Delphi It is distributed free of charge, with source code Delphi2, Delphi3, Delphi4 and Delphi5 are supported KOL allows to create very compact GUI applications... (starting from ~ 13,5K without compression - if suggested system units replacement used)... The most of code is converted to built-in assembler Help generating tool xHelpGen is provided for KOL, which creates detailed documentation in html format Documentation is generated on base of comments from the source, so developers instantly have access to the most fresh and complete documentation. Programming for KOL was totally non-visual earlier, but with opening project MCK (Mirror Classes Kit), all advantages of visual programming become available for Developers Who Use Kol. Starting from April, 2001 The Units To Create Tiny (But Power) Database Applications Starting from 24k Executable Siz e. IT Uses Ole DB Protocol, SO Any Database Can Be Supported, Including Network Database.

(The above page from the home page from Kol)

"Code without one byte is waste"

(I wrote the second KOL program, 35K, 28K after Aspack, 1 EXE does not need any runtime)

Now the VCL app is very beautiful, it is not enough to streamline (a little air GUI program has at least 270K (Delphi5) because Borland's compiler technology is superb, with SmartLink technology (use only The code is connected to the EXE, but for many object-oriented programming, the virtual method is inherited, making smartlink no power. And as Delphi upgrades, the code of basic objects and attributes are getting bigger and bigger. Although the separated runtime compilation can reduce EXE, it is difficult to install the VCL run library, unless Microsoft will step ... (not said). But always, although the VCL-based program has redundant code, but relatively similar classes, EXE size is very good, generally around hundred k to 1,2m. In fact, we have long heard that you can create a small program directly with WinAPI (have a famous TestGui.dprise), so some programmers intend to build a library other than the VCL, with the main function of VCL, create a streamlined program . There are three non-VCL libraries on Delphi, there are three, ACLs, XCl / Kol, are from Russia (Old Maozi's high generations, and is a lot of revolution in history). Among them, the most revolutionary subordinate KOL library, the author VLADIMIR Kladov began designing XCL in 1999, XCL out of 1.86 (July 2000) is to override VCL, delete unnecessary use of few object properties and methods, Its system is similar to VCL and is also an object inheritance. By 2000, VLADIMIR KLADOV found that the XCL was effective, but it could not fundamentally solve the problem, or it may repeat the VCL library, so he stopped XCL and launched a more bold plan Kol. Its technical point is to design a giant object TControl, avoid object inheritance, create objects with different newxxxx methods, so that the compiler can easily remove the redundant code, and there is a variety of means such as the SYSTEM unit. It sounds incredible, right? Haha, but I have played the latest KOL, I found it is really powerful, Kol's goals are not replacing VCLs, but to help us complete some full-featured, size compact-specific EXE (9.5K), This will be useful in we will design some of the distribution or embedding equipment programs online. In addition, a large number of objects such as TSTRLIST, TLIST in Kol is higher than the original VCL efficiency. Is Kol's programming? (The following sections As far as I have just updated 0.74kol, 0.73mck library from online, while Kol recently updated very frequent, please pay attention to its website) The early KOL program is complete " Non-visual ", its standard example can be seen. However, using Kol's programmers, there are absolutely a leisure generation, believe that VC / MFC's buddies will be easy to get started, because the dealing with WinAPI is actually very kind, but KOL is definitely an optimal object-oriented class, build a new program The handwritten code is not much.

However, Kladov also launched a visual development tool MCK (mirror component library), very cleverly using Delphi IDE to achieve visual development. Of course, many people suggest designing VCL engineering translation tools to be more convenient, but now no one is doing, after all, is a revolutionary thing, more people need more people. I personally think that MCK is still a good idea, at least in new project development is not difficult. But the traditional Delphi programmer must have ideological preparations, your first KOL program spending time is definitely the number of you the first VCL program or even more (the first VCL program just click F9, huh, " The future KOL will "visualize" extent, and my estimate should be very optimistic. Now Kol already has an control of the OLEDB and DBF databases. Due to Male source code for VCL, Kol's control group comes to the day. Speaking of visual tools MCK, I really admire Kladov's conspiciency, Kladov has a sentence very interesting: "KOL / XCL has not intended to design into visual development methods from the beginning ... I repeatedly reported that Kol visualization It is impossible, but after I have 4 pass, things are like to do ... "

Said so much almost, everyone hurry to the KOL home page.

other

The first Kol Form you wrote should be set to False to pay attention to the DefaultPosition Defaultsize property.

I hope that Delphi brothers have time to exchange KOL development experience, my mailbox: superpage@163.net

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

New Post(0)