资源描述:
《delphi_database_application_developers_book.pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、DatabaseApplicationDeveloper’sGuideDelphiforWindowsChapter1IntroductionCopyrightAgreementDelphienablesyoutocreaterobustdatabaseapplicationsquicklyandeasily.DelphidatabaseapplicationscanworkdirectlywithdesktopdatabaseslikeParadox,dBASE,theLocalInterBaseServer,andODBCdatasou
2、rces.TheDelphiClient/ServereditionalsoworkswithremotedatabaseserverssuchasOracle,Sybase,MicrosoftSQLServer,Informix,InterBase,andODBCdatasources.Delphiclientapplicationscanbescaledeasilybetweenmissioncriticalnetwork-basedclient/serverdatabases,andlocaldatabasesonasinglemac
3、hine.ThischapterintroducesDelphi’sdatabasetools,includingtheDataAccessandDataControlscomponentpages,theFieldsEditor,theDatabaseDesktop,andtheDatabaseFormsExpert.WhatyoushouldknowfirstBuildingadatabaseapplicationissimilartobuildinganyotherDelphiapplication.Thisbookassumesyo
4、uunderstandthebasicapplicationdevelopmenttechniquescoveredintheDelphiUser’sGuide,including:•Creatingandmanagingprojects•Creatingformsandmanagingunits•Workingwithcomponents,properties,andevents•WritingsimpleObjectPascalsourcecodeYoualsoneedtohaveaworkingknowledgeoftheDataba
5、seManagementSystem(DBMS)yourDelphidatabaseapplicationsaccess,whetheritisadesktopdatabasesuchasdBASEorParadox,oranSQLserver.Forinformationspecifictobuildingclient/serverapplicationswithDelphi,seeChapter6,“Buildingaclient/serverapplication.”Thisbookassumesyouhaveabasicunders
6、tandingofrelationaldatabases,databasedesign,anddatamanagement.Therearemanythird-partybookscoveringthesetopicsifyouneedtolearnmoreaboutthem.Introduction1OverviewofDelphi’sdatabasefeaturesandcapabilitiesADelphidatabaseapplicationisbuiltusingDelphidatabasedevelopmenttools,Del
7、phidata-accesscomponents,anddata-awareGUIcomponents.AdatabaseapplicationusesDelphicomponentstocommunicatewiththeBorlandDatabaseEngine(BDE),whichinturncommunicateswithdatabases.ThefollowingfigureillustratestherelationshipofDelphitoolsandDelphidatabaseapplicationstotheBDEand
8、datasources:Figure1.1DelphidatabasearchitectureDelphiIDEReportSmithDatabaseBDEConfigurati