最酷的程序员用KOL前言 VCL 库是Delphi程序员熟知的,她几乎成了Delphi RAD技术的代言人。 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 unit KOLEdb provided, which allows to create tiny (but power) database applications starting from 24K of executable size. It uses OLE DB protocol, so any database can be supported, including network database. (以上这段摘自KOL的主页) "没有一个字节的代码是废物"
(我写的第2个KOL程序,35K,Aspack压缩后28K,1个Exe不需要任何运行库) 现在的VCL应用程序虽然很优美,但还不够精简(a little oversized),一个空空的GUI程序至少有270K(Delphi5),原因是Borland的编译器技术虽然精湛,具有SmartLink技术(只把用到的代码连接到EXE),但对于很多面向对象编程中采用了大量的的方法继承,虚方法表,使得 SmartLink也无能为力。而且随着 Delphi 升级,基本对象的方法和属性的代码也越来越大。采用分离的运行库编译虽然可以减小EXE,但要求客户端安装VCL运行库是困难的,除非微软让步......(不说也罢)。不过总的说来,虽然基于VCL的程序有冗余代码,但相对其他同类类库,EXE尺寸已经算很不错了,一般在数百K到1、2M左右。 KOL的程序设计难吗? 但Kladov又推出一个可视开发工具 MCK(镜象构件库),非常巧妙的利用了Delphi的IDE “KOL/XCL从一开始就没打算设计成可视化开发方式...我反复的告戒自己KOL可视化是不可能的,可是我熬了4个通宵后,事情好象办成了...” 说这么多差不多了,各位赶快去KOL主页上看看吧。 其他 你写的第一个KOL Form 注意上的 defaultPosition defaultSize 属性请设为 False. 上一篇:关于Delphi中预编译指令的使用方法 下一篇:从Internet时间服务器获取标准格林尼治时间 更多相关文章
|
推荐文章
精彩文章
|