TCPAdoServerClientV2

所属分类:SQL Server
开发工具:Delphi
文件大小:883KB
下载次数:64
上传日期:2011-05-31 17:29:22
上 传 者飘伶浪子
说明:  国外的数据库三层源码(带连接池) 本人觉得蛮不错的,供大家学习研究。
( TCP AdoServer/Client is a multi-tier tool to design a a thin client application that connects to an application server. It is built using Indy components and ADO. TCP AdoServer/Client is a simple and complete solution to develop and implement a multi-tier applications.)

文件列表:
Test (0, 2010-11-25)
Test\about.dfm (525, 2009-07-13)
Test\about.pas (696, 2009-07-13)
Test\CLientTest.cfg (434, 2010-11-25)
Test\CLientTest.dof (2626, 2010-11-25)
Test\CLientTest.dpr (236, 2010-11-25)
Test\CLientTest.res (876, 2005-12-02)
Test\connection.udl (434, 2010-11-25)
Test\Project1.cfg (434, 2005-12-02)
Test\Project1.dof (2626, 2005-12-02)
Test\Project1.res (876, 2005-12-02)
Test\ProjectGroup1.bpg (821, 2009-06-29)
Test\ServerTest.cfg (434, 2010-11-25)
Test\ServerTest.dof (2626, 2010-11-25)
Test\ServerTest.dpr (505, 2010-11-25)
Test\ServerTest.res (3300, 2009-07-12)
Test\system.ini (312, 2010-11-25)
Test\Test.mdb (122880, 2010-11-25)
Test\Unit1.dfm (2862, 2010-11-25)
Test\Unit1.pas (3529, 2010-11-25)
Test\Unit2.dfm (1872, 2010-11-25)
Test\Unit2.pas (2518, 2009-07-16)
WebAdoClient.dcr (2176, 2005-12-19)
WebAdoServer.dcr (2176, 2005-12-19)
uAdoCommandPool.dcu (4186, 2010-11-25)
uAdoDatasetPool.dcu (4209, 2010-11-25)
UDataConnPool.dcu (5776, 2010-11-25)
webAdo.dcu (6384, 2010-11-25)
WebAdoClient.dcu (18438, 2010-11-25)
WebAdoServer.dcu (10554, 2010-11-25)
webAdo.dpk (816, 2010-11-25)
uAdoCommandPool.pas (4047, 2010-11-25)
uAdoDatasetPool.pas (4052, 2010-11-25)
UDataConnPool.pas (5126, 2010-11-25)
WebAdoClient.pas (9175, 2010-11-25)
WebAdoServer.pas (7959, 2010-11-25)
webAdo.dof (2707, 2010-11-25)
myz.inc (2, 2009-07-03)
webAdo.cfg (438, 2010-11-25)
... ...

TCP AdoServer/Client ver.2.0.1 (Nov, 25 2010) ============================== TCP AdoServer/Client is a multi-tier tool to design a a thin client application that connects to an application server. It is built using Indy components and ADO. TCP AdoServer/Client is a simple and complete solution to develop and implement a multi-tier applications. Component History ----------------- ver.1.0.1 (Dec, 19 2005) Originally written by Allan Bandanes (allan.bandanes@gmail.com) ver.2.0.1 (Nov, 25 2010) Enhancement and bug fixes by Maki Yokoze (makiyokoze@gmail.com) Terms and Conditions -------------------- You may use the software either personal or commercial purposes provided that you will acknowledge the author of the software by sending a mail that you are using the components. You may modify, add or experiment additional features into it and of course informing the author. The author is not liable for any cause or damage may cause in your system by using it. Use it at your own risk!!! ========================== How to Install -------------- 1. Extract the .zip file into your specified folder 2. Open WebAdoPack.dpk from your Delphi application 3. Click Install, this will now install two components. The TCPAdoServer and TCPAdoClient component. Demo Program ------------ The demo program is located at ..\Test Folder. It has two applications the ServerTest.dpr and ClientTest.dpr. ServerTest acts as as Application Server that connects diredtly to the Test.mdb which is a Access database file. ClientTest.dpr is the thin client that connects to the ServerTest. To Start the server, you must modify the connectionstring of the AdoConnection1 on the form to the location where you had extracted the .zip file. You must look for the Test.mdp. Make sure that you set the Connected Property to true. Set the Port property to any number available in your port Default is 55. While running just press the start button to start the application server. For the client simply set the Host property of the TCPAdoClient using the IP of the server eq. 192.168.10.2 and the Port Property to the Port used by the Server. Run it and click Open to see results from the grid. Available Client Methods ------------------------ TTCPAdoClient.Open(Value : String); * Use this method to use simple select statements from the database. eq: TCPAdoClient1.Open('select * from Person'); TTCPAdoClient.ExecSQL(Value : String); * Use this method for Updating the database. eq: TCPAdoClient1.ExecSQL('Delete From Person where ID = 1'); TTCPAdoClient.ExecProc(Value : String); * Use this method for Executing Stored Procedure from the database eq: TCAdoClient1.ProcSql('Ten Most Outstanding Sales;1');

近期下载者

相关文件


收藏者