首 页 | 新 闻 | 技术中心 | 第二书店 | 《程序员》 | 《开发高手》 | 社 区 | 黄 页 | 人 才
移 动专 题SUNIBM微 软微 创精 华Donews人 邮
我的技术中心 
我的分类 我的文档
全部文章 发表文章
专栏管理 使用说明



 RSS 订阅 
最新文档列表
Windows/.NET
.NET  (rss)    
Visual C++  (rss)    
Delphi  (rss)    
Visual Basic  (rss)    
ASP  (rss)    
JavaScript  (rss)    
Java/Linux
Java  (rss)    
Perl  (rss)    
综合
其他开发语言  (rss)    
文件格式  (rss)    
企业开发
游戏开发  (rss)    
网站制作技术  (rss)    
数据库
数据库开发  (rss)    
软件工程
其他  (rss)    

积极原创作者 
baggio785 (64)
Killvin (27)
AppleBBS (271)
dogbear2000 (23)
myan (31)
sxycgxj (64)
kgdiwss (75)
masterall (324)
lzmtw (35)
donkeyzheng (8)
CSDN - 文档中心 - 数据库开发 阅读:0   评论: 0    参与评论
标题   Delphi Multi-Tier DB Application Code Generator     选择自 dogbear2000 的 Blog
关键字   Delphi Multi-Tier DB Application Code Generator
出处  

Delphi Multi-Tier DB Application Code Generator
Bear


Code Generator Main Window


We need input at least there parameters: Template Directory, Output Directory and UDL filename.
Here the Database.udl connect to MS SQL Server Northwind database.
Click "Help" button for more information.
Click "Generate Project Source Code" button to geneate source code.

DBAPPCodeGenerator.PNG

It will generate two directories in the output directory.
One is for application server and another is for the Client GUI program.

You can open the app server project in Delphi and run it directly! (do this first to register the application server)
You can open the client GUI project in Delphi and run it directly!

Now you can copy what you need in the two projects into your real projects.

It will save you a lot of time of : dragging and dropping components, renaming components, connecting components, setting captions ....

 


Generated projects

 

App Server:

Run Time:

AppServer_Run.PNG
It will connect to database via Database.udl with exe file.

Design Time:

AppServer_Design.PNG

 

GUI Client:

Run Time:

GUIClient_Run_Main.PNG
It can use DCOMConnection, :SocketConnection or WebConnection.
Please config this in Config.ini

GUIClient_TableGrids.PNG

GUIClient_Run_Employee.PNG

GUIClient_Run_Orders.PNG

Design Time:

 

GUIClient_Design1.PNG

GUIClient_Design2.PNG

GUIClient_Design3.PNG

 

Enjoy it.

2006.5


相关文章
对该文的评论