Delphi 2005
Borland Delphi 2005 Contents 8 Delphi 8 (IDE)13 IDE, 13 IDE, 15 Structure Pane 16 VCL / VCLNET 18 Tool Palette 19 Tool Palette 20 VCLNET 22 Object Inspector 23 Upgrade Project 24 Delphi 2005 25 (Find in Files) 27 International Characters 28 Message List 28 IDE 28 Visual Studio NET IMPORT/EXPORT 30 33 33 33 Variable Field 35 36 37 Namespace (C#) Unit (Delphi) 38 SyncEdit 39 Error Insight 41 Help Insight 43 Page 2
Borland Delphi 2005 44 Content 45 Info 46 Diff Pane 47 Code Navigation 48 49 49 J2EE / CORBA NET Janeva 50 51 52 VCLNET 53 53 (Partially Trusted Callers) 56 Delphi 58 Win32 NET Delphi 58 For In 58 UTF8 59 NET Delphi 59 Delphi Namespaces 60 NET VCL 61 ) (Forward Declared 0 62 Delphi Win32 62 Funtion Inine 63 Nested Type 64 Nested Type 65 4 SSE3 SSE2 Op 65 XML 65 68 68 Exception Dialog Enhancements( ) 69 71 Breakpoints(Breakpoint) 73 The Log Call Stack Breakpoint Option( Breakpoint ) 73 Page 3
Borland Delphi 2005 Breakpoint Dialog Box (Breakpoint ) 75 76 Win32 Evaluator 76 79 ADONET RAD 79 DataSync DataHub, 80 RemoteServer RemoteConnection (remoting) 83 ADONET Borland Data Provider 85 BDP Data Explorer 86 87 88 Stored Procedure 89 Delphi2005 90 NET VCL 90 ADONET 91 / 94 Deployment Manager( ) 94 Web Forms Designer HTML 97 99 100 Tag 100 ASPNET Project Manager 101 DB 102 DB 102 DB 103 IntraWeb 103 107 ADONET RAD 107 DataSync DataHub, 108 RemoteServer RemoteConnection (remoting) 111 ADONET Borland Data Provider 113 BDP Data Explorer 114 Page 4
Borland Delphi 2005 115 116 Stored Procedure 117 Delphi2005 118 NET VCL 118 ADONET 119 / 122 Deployment Manager( ) 122 Web Forms Designer HTML 125 127 128 Tag 128 ASPNET Project Manager 129 DB 130 DB 130 DB 131 IntraWeb 131 Integrated Application Lifecycle Management 135 Delphi 2005 StarTeam 135 Unit Testing 139 Enterprise Core Objects II 142 Rapid MDA142 ECO Space Persistence 145 ECO OCL 146 ECO II 146 A Highly Scalable Enterprise Object Cache 146 Object 147 ECO II Web Forms / Web Services 147 ECO II 148 3 rd 151 Borland InterBase 75 151 Page 5
Borland Delphi 2005 Borland Janeva152 Microsoft NET Framework Borland Optimizeit Profiler 152 Borland StarTeam 60 Standard Edition 152 Borland Delphi 2005 Component One Studio Enterprise 153 Crystal Reports Borland Edition 153 glyfx Borland Special Edition 154 IBM DB2 Universal Developers Edition 154 InstallShield Express for Borland Delphi 154 Internet Direct (Indy) 154 IntraWeb 155 Microsoft SQL Server 2000 Desktop Engine (MSDE 2000) 155 Microsoft SQL Server 2000 Developer Edition 155 Rave Reports Borland Edition 156 Wise Owl Demeanor NET Borland Edition 156 156 Summary 157 Borland Software Corporation 157 157 Page 6
Borland Delphi 2005 Borland Delphi 2005 Page 7
Borland Delphi 2005 Delphi 2005 Reviewer's Guide, 20 Delphi 2005 Delphi 2005 Reviewer's Guide, Borland Delphi 2005 Delphi 2005 Delphi 2005, 1995 Delphi 2005 Delphi Delphi 1983, (IDE),, (syntax)-, (OOP), OWL, Object Windows Library (groundbreaking) 1995 2 Delphi 10, Delphi Microsoft NET Framework (FCS) Page 8
Borland Delphi 2005 Delphi 2005, Delphi 2005 (GUI), Web, database, (model-driven application development) C#, Microsoft NET Framework Win32 (ALM) RAD(Rapid application development) Delphi 2005, : The Delphi 2005 IDE Microsoft NET Framework Win32,,,, Delphi 2005, : Delphi 2005 Delphi,, Delphi 2005 : Delphi 2005 Delphi 2005 StarTeam, NET Borland Enterprise Core Objects II (ECO II),, for the Microsoft NET Framework Borland Optimizeit Profiler Page 9
Borland Delphi 2005 Delphi 2005 Borland Products = Technical Excellence, Borland Delphi 2005 Microsoft NET Framework Borland Delphi 8 2004 7 2 TechEd Europe Best of Show Borland C#Builder 2004 5 24 the Visual Studio Magazine Reader Choice Award Borland Delphi 7 Studio 2004 2 25 Web Services Best GUI Web Services Journal Readers' Choice Award Delphi 2005 Page 10
Borland Delphi 2005 : reviewer's guide Delphi 2005 pre-release Page 11
Borland Delphi 2005 Borland Delphi 2005 Page 12
Borland Delphi 2005 (IDE) Delphi 2005 IDE (integrated development environment) Borland Galileo IDE Borland C#Builder Delphi 8 for NET, Delhi 2005 IDE,,, IDE IDE, Delphi C#, Win32 NET, ASPNET Delphi 2005 IDE Page 13
Borland Delphi 2005 Delphi 2005 IDE,, ASPNET, HTML - - Win32, VCL (visual component library) Page 14
Borland Delphi 2005,, ASPNET Win32 VCL, Delphi 2005 IDE, Delphi 2005 (context-sensitive) Delphi 2005 Delphi 2005 Win32 Delphi, Microsoft NET Framework Delphi, Microsoft NET Framework C# Page 15
Borland Delphi 2005 IDE, Delphi 2005 C# ASPNET, Delphi for NET Web Control class library, Delphi Win32 Windows DLL (dynamic link library),, Tool Palette (snippets) Delphi 2005 NET VB, Delphi 2005 IDE NET VB,,, Structure Pane Structure Pane (context-sensitive), Structure Pane,,, (Delphi 7 (code explorer ) Page 16
Borland Delphi 2005, VCL Structure Pane (Delphi 7 Object Tree View ) Structure Pane, Structure Pane Page 17
Borland Delphi 2005 VCL, Structure Pane Delphi 2005 (Error Insight), VCL / VCLNET Microsoft NET Framework Delphi 8 Delphi 7 VCL " floating " Borland Delphi2005 VCL VCLNET VCL Delphi, Delphi 2005 NET Delphi2005, Tools Options) VCL (VCL Designer) (Embedded designer) Page 18
Borland Delphi 2005 Tool Palette Delphi 2005, design-time (Object Inspector) Delphi 2005 Tool Palette Tool Palette,, (context sensitive),, Tool Palette Tool Palette, Tool Palette Page 19
Borland Delphi 2005 Delphi 2005 Tool Palette Tool Palette Delphi 2005 Tool Palette Delphi Design-time code snippet, Tool Palette,, Tool Palette, Tool Palette Page 20
Borland Delphi 2005 Tool Palette Tool Palette (Filter Current Items), Ctrl-Alt-P Tool Palette (title bar), Tool Palette Tools Options Tool Palette configuration options Options dialog box Tool Palette Page 21
Borland Delphi 2005, Delphi 2005 Tool Palette - - VCL Delphi 2005 VCLNET Delphi VCL Tool Palette (control), TButtonGroup, TCategoryButtons, TDockTabSet Win32 VCL for NET, Delphi 2005 Tool Palette Structure Pane, Delphi 2005 IDE Page 22
Borland Delphi 2005 VCL for NET Delphi VCL Win32 Net Delphi 2005 Delphi 2005 help "What's New in Delphi 2005" Object Inspector Delphi 2005 Object Inspector, Object Inspector (property) (event),, ASPNET aspx, Object Inspector Page 23
Borland Delphi 2005 File Name property, Object Inspector File Name, (unit) File Save As Object Inspector NET, Object Inspector Upgrade Project Delphi2005 Delphi Win32, NET, Win32 Delphi7 Win32 Win32 VCLNET VCLNET 100% NET Page 24
Borland Delphi 2005 - Win32 NET Upgrade Project Win32 Delphi2005 Win32 NET Delphi2005 Win32, NET *bdsproj * Delphi2005 Project Upgrade NET Delphi2005 NET Delphi 2005 Delphi2005,, the ASPNET Web Application Wizard webconfig, globalasax, initial aspx file Page 25
Borland Delphi 2005 IIS Delphi2005 Delphi Win32 Windows 2000 Logo Wizard, DLL Wizard, Automation Object Wizard, Web Service Wizard, IntraWeb Application Wizard, Database Form Wizard the Thread Wizard Delphi2005 NET and C# ASPNET Web Application Wizard, Windows Form Application Wizard, ASPNET Web Service Application Wizard, Web Control Library Wizard Page 26
Borland Delphi 2005 Delphi 2005 Delphi7 Delphi8 New Component Wizard, DB Web Control Library Wizard, ECO ASPNET Application Wizard, ECO Web Service Application Wizard, Satellite Assembly Wizard (Find in Files) Search Find in Files Page 27
Borland Delphi 2005 International Characters Delphi 2005 IDE,,, UTF-8 Characters Message List Message List Delphi 2005, Message List IDE Quality Central (http://qcborlandcom) Delphi2005 IDE IDE (Exception) Delphi2005 Details Page 28
Borland Delphi 2005 Send Send Report Next Next Page 29
Borland Delphi 2005 Next BDN(Borland Developer Network:http://bdnborlandcom) BDN Borland's Quality Central Anonymous Report check box Next Visual Studio NET IMPORT/EXPORT Visual Studio NET 2003 C# Delphi2005 Delphi2005 IMPORT Delphi2005 Visual Studio C# *csproj Visual Studio IMPORT Page 30
Borland Delphi 2005 Delphi2005,,, Visual Studio NET 2003 C# Delphi2005 Delphi2005 NET Delphi2005 C# Visual Studio Delphi EXPORT Delphi Tools Export C# Page 31
Borland Delphi 2005 The Next Generation Code Editor Borland Delphi 2005 Page 32
Delphi 2005 Delphi 2005 Delphi2005 Delphi C#, Sync Edit, Error Insight, Help Insight,,,, Function Delphi 2005,,,,, Function,, Page 33
, Refactor Rename View regerences vofore refactoring Delphi2005, Refactor Page 34
Variable Field Declare Variable and Declare Field Local Variable Member Field Delphi C# (C# C# ) Delphi Variable var Member field type Local Variable Member field, Refactor Declare Variable or Refactor Declare Field( Ctrl-Shift-V Ctrl-Shift-D ) Declare Variable Declare Variable Declare Variable Name Type Dimensions Set Value Local Variable OK Declare Field Field Visibility Class OK Class Field Page 35
Delphi resourcestring C#resourcestring / / Delphi Refactor Extract Resource String Extract Resource String OK Unit Page 36
, Delphi 2005, Delphi, Refactor Extract Method Extract Method Page 37
Delphi 2005,, Passed-by-Value Passed-by-Reference(var ) Namespace (C#) Unit (Delphi), Refactor Import Namespace and Find Unit Namespace C# Refactor Import Namespace, Delphi Refactor Find Unit namespace, Delphi NET Windows Forms, FCL, RTLNET(NET Delphi ) NET VCL VCLNET namespace Page 38
Delphi Win32 VCL RTL Unit Search, namespace OK Delphi, namespace interface implementation SyncEdit SyncEdit Delphi2005, SyncEdit SyncEdit 2 DataTable1 2 Page 39
SyncEdit Shift-Ctrj-J SyncEdit SyncEdit,, SyncEdit, DtaTable CustTable Page 40
SyncEdit Function,, SyncEdit SyncEdit Error Insight Delphi 2005 Error Insight, Delphi C# IDE,, Error Insight Page 41
Erros, TRegistry Borland VclRegistry HKEY_LOCAL_MACHINE BorlandVclWindows unit s usage Page 42
Tools Options Error Insight Help Insight Delphi200 Code Insight Help Insight Help Insight Delphi,,,, Help Insigt Help Insight Help Insight Code Insight Class Completion Argument Value List Code Insight Help Insight, Help Insight SqlConnection BeginTransaction Help Code Insight(Code Completion) Begn Transaction Page 43
Option Code Insight Help Insight Delphi2005 Code Editor History Tab, history Local, Delphi IDE 10 StarTeam StarTeam StarTeam StarTeam Delphi2005 History Manager VCL VCLNET DFM DFM, Page 44
, Delphi DFM 3 Content, Info, Diff Content Content Page 45
(Ctrl C) (Ctrl-V), Rever Info StarTeam StarTeam Delphi 2005 Page 46
Diff Pane Diff Diff Differences From To Buffer (+) (-) Page 47
Code Navigation Delphi 2005 Code Navigation Delphi Ctrl-Shift-Up ( Ctrl-Shift-Down ) Delphi Delphi Code Navigation interface implementation unit initialization finalization Ctrl-Shift-Up Code navigation C# C# - C# Delphi 2 Page 48
Delphi2005 ( ) Toggle Comment Ctrl-/ Delphi2005 // Toggle Comment Ctrl-/ // Ctrl-Shift 0 9 Ctrl + 0-9 Ctrl-Shift-1 Ctrl-1 Delphi2005 Delphi 2005 Tools Option Environment Option Autosave Options Project desktop Page 49
J2EE / CORBA NET Janeva Janeva() J2EE(Java 2 Enterprise Edition) CORBA(common object request broker architecture Delphi 2005 Janeva NET NET J2EE CORBA Delphi2005, Delphi2005 Menu Project Add J2EE Reference Add CORBA Reference J2EE EJB jar/ear CORBA IDL J2EE EJB jar ear Enterprise Java Bean Page 50
OK Delhi2005 ANSI, Binary, UTF8, File Format LOCALE UTF-8 LOCALE PC Page 51
VCLNET Borland Delphi 2005 Page 52
VCLNET NET Delphi ( NET NET RTL ) Win32 VCL 100 NET VCLNET, VCLNET NET 100, VCLNET 2005( NET 8) VCLNET VCL Win32 Win32 NET 2005 VCLNET Win32 NET (RCWs) (PInvoke) 2005 (VLI) NET Pinvoke NET Win32 DLL NET NET Pinvoke Pinvoke [DLLImport] DLL DLL export import Pinvoke, [DLLImport] DLL ( ), Page 53
DLL, [DLLImport] DLL Export Win32 Win32 DLL Export : function ConvertCtoF(CentValue: Integer): Integer; stdcall; function ConvertFtoC(FahrValue: Integer): Integer; stdcall; Pinvoke Import unit ( Win32DLLdll DLL ): function ConvertCtoF; external; [DllImport('Win32DLLdll', CharSet = CharSetAuto, EntryPoint = 'ConvertCtoF')] function ConvertFtoC; external; [DllImport('Win32DLLdll', CharSet = CharSetAuto, EntryPoint = 'ConvertFtoC')] DLL Import DLL DLL VclWin32 namespaces uses, DLL Export VclWin32 unit Supports Funtion, DLL ( DLL ),, Supports funtion DLL export funtion, Supports Supports 2 Page 54
DLL named DLL export named DLL exception Supports false DLL type IWin32DLLInt = interface function ConvertCtoF(CentValue: Integer): Integer; function ConvertFtoC(FahrValue: Integer): Integer; end; Win32DLLdll mylib, IMyWin32DLL (ConvertCtoF) var MyDLL: String; MyWin32DLL: IWin32DLLInt; begin MyDLL := ExtractFilePath(ApplicationExeName) + '\mylib\win32dlldll' ; if not Supports(MyDLL, IWin32DLLInt, MyWin32DLL) then MessageBoxShow(self, 'Could not load Win32DLLdll') else NewInt := MyWin32DLLConvertCtoF(100); Page 55
(Partially Trusted Callers) VCLNET, URL exe NET API VCLNET Delphi 2005 NET VCLNET Page 56
Delphi Borland Delphi 2005 Page 57
Delphi 2005 Delphi 2005 C#, Delphi 2005 C# Intermediate Language(IL) Delphi 32 NET IL Delphi 2005 Win32 NET Win32 NET 2005 for in For In Delphi C# foreach for in for in, for in Page 58
, DataTable's Rows ( DataRowCollection ) DataRows var Row: DataRow; begin // for Row in MyDataTableRows do ListBox1ItemsAdd(Row[0]ToString); NET Delphi for in IEnumerable GetEnuermerator,,, Win32 for in public GetEnumerator function,,, GetEnumerator TList, TCollection, TStrings, TMenuItem, Tfields UTF8 UTF8 Unicode ANSI NET CLS (common language specification) NET NET NET 8 NET namespaces, (forward-declared record type), NET VCL NET Page 59
Delphi Namespaces NET unit namespaces unit namespace C# Delphi namespaces, namespaces, namespace Delphi 2005 namespaces unit namespaces, unit namespaces unit (), unit namespaces unit namespace unit, unit YourCompanyDataUnit1 unit YourCompanyData namespaces YourCompanyDataUnit2 YourCompanyDataUnit3 unit YourCompanyData namespaces Delphi,,, NET, YourCompanyDataUnit1 Delphi unit NET namespaces YourCompanyDataUnits Unit1 NET Delphi Delphi NET Delphi NET Page 60
, NET Delphi,, procedure funtion NET VCL VCLNET NET (DLL ) VCLNET DLL unit DLL UNIT DLL DLL PenWindll DLL OS DLL Delphi PenWin unit DLL PenWindll unit PenWin, PenWindll, UNIT PenWindll UNIT PenWindll PenWindll unit unit, unit unit ( DCPIL ),, DLL Page 61
unit unit DLL Delphi Win32 unit NET Delphi ) (Forward Declared 0 NET Delphi VCL FCL,,,, Delphi Win32 Delphi Win32 NET Delphi 2005 Win32 NET, Delphi Wi32 NET Delphi IDE Win32 NET Win32 Page 62
Win32 Delphi 2005 Delphi Win32 Funtion Inine Funtion Inline Win32 (, funtion, procedure) Funtion Inline function, procedure, funtion, procedure,, {$INLINE} ON, OFF, AUTO ON OFF AUTO {$INLINE} 32 Funtion Inline {$INLINE} AUTO, Page 63
,, VCL RTL, Nested Type Nested Type NET Nested Type Win32 Nested Type 2005 Nested Type type TOuterClass = class strict private myfield: Integer; public type TInnerClass = class public myinnerfield: Integer; procedure innerproc; end; procedure outerproc; end; Page 64
Nested Type Nested Type Nested Type Funtion, Nested Type Nested Type NET Win32,, Nested Type TdateTime Nested Type type TTemperatureConverter = class(tobject) public const AbsoluteZero = -273; procedure ConvertFtoC(Temp: Integer): Integer; // 4 SSE3 SSE2 Op Win32 4 SSE3 SSE2 op, XML XML NET Delphi 8 C#Builder Win32 XML XML Doc XML 2005 Page 65
Generate XML XML xml XML XML XML XML, XML Page 66
The Delphi Debuggers Borland Delphi 2005 Page 67
Delphi 2005 Win32 NET Delphi 2005 IL NET Win32 Delphi 2005, ASPNET, Windows Frorms, VCLNET, Delphi 2005 NET VCL /, COM ( ), Win32 DLL, Delphi 2005 Win32 NET Win32, Delphi 2005 Breakpoint, Call Stack,,,, CPU, Page 68
,, Win32 Breakpoint Breakpoint NET, NET CPU NET IL Win32 IL Win32 Delphi 2005 Exception Dialog Enhancements( ) Exception Exception ( ) Delphi 2005 IDE,, Exception Dialog Page 69
Delphi 2005 Debugger Exception Notification Ignore the exception type Exception Exception ( ) Debugger Exception Notification Ignore this exception type Break, Debugger Inspector Page 70
Debugger Inspector Exception, SqlException _errors SqlErrorCollection CPU Break CPU, CPU, CPU Win32 NET NET IL IL Page 71
NET CPU CPU Breakpoint () Breakpoint Delphi NET Delphi IL JIT ( ) IL CPU IL IL off JIT Page 72
Breakpoints(Breakpoint) Breakpoint,, Delphi 2005 Breakpoint The Log Call Stack Breakpoint Option( Breakpoint ),, Breakpoint,, Breakpoint Page 73
Breakpoint Breakpoint Breakpoint Page 74
Breakpoint Dialog Box (Breakpoint ) Breakpoint, Breakpoint,,, Breakpoint Dialog Breakpoint Breakpoint Breakpoint Breakpoint,, Pass Count, Breakpoint Condition Page 75
Delphi 2005 Run Attach, Delphi 2005 NET, CLR (common language runtime) Win32, Win32 Delphi 2005 Win32 Evaluator Delphi 8 C#Builder Call Stack Win32 Page 76
Win32 ( View Debug Window Local Variable Ctrl-Alt-L ) Page 77
Borland Delphi 2005 Page 78
Delphi Delphi2005 ODBC (open database connectivity) OLEDB Providers, Win32, BDE (Borland Database Engine), dbexpress, IBExpress (InterBase Express), dbgo for ADO, MyBase (ClientDataSet) DataSnap Delphi for NET Delphi Win32 NET Win32, VCLNET Delphi NET C# ADONET FCL Delphi NET C#, ADONET Dta Povider BDP(Borland Data Provider) ADONET BDP,,, ADONET Delphi 2005 Delphi8 C#Builder, ADONET RAD ADONET NET ADONET Delphi ADONET Page 79
Delphi NET RAD, ADONET Delphi ADONET RAD ADONET DataSync DataHub ADONET RemoteServer RemoteConnection DataSync DataHub, Delphi 2005 ADONET, DataSync DataHub ADONET Data Provider,, DataSync DataHub ADONET DataSync DataHub ADONET DataSet IDbConnection ADONET,, Page 80
DataSync DataHub (data remoting components) NET DataSync DataSync Data Provider, DbDataAdapter DataSync, DataSync DataTable DataTable DataSync DbDataAdapter DataSync Data Provider Data Provider FCL, SqlDataAdapter OdbcDataAdapter, IBMDataDB2 OracleDataProvider 3 DataSync Page 81
DataHub DataHub DataSync DataSync DataSet, DataHub DataSync DataHub BDP C# DataSet DataSync DataHub DataGrid DataSync/DataHub DataHub DataHub ApplyChanges DataSync DataSync DataTables Page 82
Resolve Changes datahub1applychanges() RemoteServer RemoteConnection (remoting) NET NET (remote objects) DataSets, NET, DataSets Delphi 2005 NET DataSync DataHub, RemoteServer RemoteConnection DataSync DbDataAdapters DataHub DataSet RemoteServer RemoteConnection DataSync Page 83
DataHub RemoteServer RemoteServer DataSync RemoteConnection RemoteServer RemoteConnection HTTP TCP RemoteServer, DataSync DataSync DataSync Provider ChannelType (Http Tcp), Port listen on, URI( ) RemoteConnection RemoteConnection DataSync RemoteConnection Page 84
ChannelType, Port, URL, URI Provider RemoteConnection ProviderType RemoteConnection DataHub RemoteConnection DataHub RemoteConnection DataSync DataSync DataHub RemoteConnection RemoteServer NET DataSync DataHub DataGrid DataSync, Delphi C#, ADONET Borland Data Provider Borland Data Provider for ADONET ADONET ADONET BDP Page 85
ADONET ADONETBDP BDP DataSync, DataHub BDP DataSync DataHub ADONET Delphi 2005 ADONET BDP BDP Oracle Sybase ADONET BDP BdpCopyTable 1 ADONET BDP BDP Data Explorer( ) Copy Table ADONET BDP ADONET BDP BDP Provider BDP ADONET BDP,, Data Explorer BDP Data Explorer Data Explorer Oracle, DB2, MS SQL Server, InterBase, MS Access ADONET BDP ADONET Data Explorer Page 86
,, Stored Procudure Delphi 2005 IDE Data Explorer BdpConnections, BdpDataAdapters BDP Data Explorer Delphi 2005 Data Explorer,, Stored Procedure, ADONET BDP Data Explorer Delphi 2005 IDE,, ADONET BDP Delphi 2005 ADONET Data Explorer (connection), Tables New Table Delphi 2005 Table Designer Page 87
, Tables Alter ( Drop ) PROJECT Table Designer, ADONET BDP Data Explorer ADONET BDP,, 1 Data Explorer Copy Paste New Table Name Page 88
OK Delphi 2005 Stored Procedure Stored Procedure Data Explorer Stored Procedure, Data Explorer Stored Procedure View Parameters Delphi 2005 Stored Procedure,,, Stored Procedure, Stored Procedure Execute( ) Delphi 2005 Stored Procedure Stored Procedure ( ) Stored Procedure 1003 (mailing label ) Page 89
Delphi2005 Delphi 2005 Delphi 2005 Delphi C# NET Business Objects for Borland Delphi Crystal Report Delphi VCL (VCL Forms (Win32) VCLNET ) Nevrona Designs Rave Reports Borland Edition NET VCL NET Framework Delphi 8 Win32 Delphi Delphi 2005 dbgo ADO dbgo ADO VCL TDataSet OLEDB Providers VCL TDataSet Page 90
ActiveX Data Objects Delphi 2005 VCLNET dbgo for ADO VCLNET TStoredProc, TSimpleDataSet, TNestedDataSet, TUpdateSql DataSnap DataSnap VCLNET TConnectionBroker, TSharedConnection, TLocalConnection ADONET Delphi 2005 SQL Connection, ODBC Connection, OLEDB Connection ADONET ( ADONET BDP, ADONET NET Data Provider ) Delphi 2005 IDE Object Inspector ConnectionString ( ) Connection String SqlConnection ConnectionString Connection String Page 91
Page 92
Borland Delphi 2005 Page 93
/, IDE Delphi, Delphi,, Delphi 2005 Delphi 2005 Delphi 2005 ASPNET Web Applications, ASPNET Web Service Applications, Win32 Web Service servers, Win32 Web Service clients, Web Broker Web server extensions, WebSnap Web server extensions, Win32 NET IntraWeb applications, (what-you-see-is-what-you-get, wysisyg) Web Forms, Delphi 2005 Deployment Manager( ) ASPNET Web applications, ASPNET Web Service Applications, IntraWeb (Win32 NET ) Delphi 2005 Project Manager Project Manager Deployment New Deployment Page 94
XCOPY FTP (, file transfer protocol) XCOPY, XCOPY FTP FTP FTP FTP Copy Selected Files to Destination Copy All New and Modified Files to Destination Page 95
Project Manager Deployment Page 96
Web Forms Designer HTML HTML ASPNET Delphi 2005 HTML, ASPNET ASPNET Page 97
HTML Controls, Web Controls, DB Web Controls Tool Palette Web Forms HTML aspx Web Forms aspx HTML aspx Page 98
Delphi 2005 Web Form DataList, (footer), Delphi 2005 Web Form DataList Page 99
Item DataList End Template Editing Delphi HTML Delphi 2005 cascading style sheets, CSS XHTML Tag Tag Delphi 2005 Tag Web Form Designer, HTML Tag HTML Delphi 2005 HTML Tag <td> Code Insight Page 100
ASPNET Project Manager ASPNET aspx HTML <IMG>(), jpg gif <IMG> src, ASPNET Project Manager Project Manager ASPNET New Folder ASPNET Add,, JavaScript Project Manager ASPNET Delphi 2005 Page 101
DB DB ASPNET NET Web, DB Web Forms FCL DB ASPNET DB, /, DB Delphi 2005 DB Delphi 2005 DB Web DBWebAggregateControl, DBWebNavigatorExtender, DBWebSound, DBWebVideo DBWebAggregateControl DBWebTextBox Sum, Min, Count DBWebSound DBWebVideo ASPNET blob(binary large object), URL DBWebNavigationExtender, ADONET BDP DBWebNavigationExtender Web Form Button DBDataSource, TableName, DataSourceAction Page 102
DataSourceAction DBDataSource DB Delphi 2005 DB DBWebImage DBWebDataSource DBWebImage DBWebSound DBWebVideo DBWebImage bolb URL DBWebImage bolb, DBWebDataSource, - (masterdetail relationships), DBWebDataSource DBWebDataSource XML DB, XML, XML, DBWebDataSource XML XML IntraWeb IntraWeb RAD, ASP NET IntraWeb Page 103
ASPNET IntraWeb IntraWeb TIWServerController IntraWeb ASPNET IntraWeb IntraWeb Delphi VCL VCLNET Tool Palette Delphi IntraWeb HTML, WAP (wireless access protocol), HTML 32 IntraWeb IntraWeb ISAPI (Internet Server application programming interface) HTTP, IIS (Internet Information Server) IIS IntraWeb, IntraWeb HTTP Delphi 2005 IntraWeb ASPNET aspx, IntraWeb HTTP HTML Page 104
Delphi 2005 Win32 Delphi IntraWeb Delphi for NET Page 105
Borland Delphi 2005 Page 106
Delphi Delphi2005 ODBC (open database connectivity) OLEDB Providers, Win32, BDE (Borland Database Engine), dbexpress, IBExpress (InterBase Express), dbgo for ADO, MyBase (ClientDataSet) DataSnap Delphi for NET Delphi Win32 NET Win32, VCLNET Delphi NET C# ADONET FCL Delphi NET C#, ADONET Dta Povider BDP(Borland Data Provider) ADONET BDP,,, ADONET Delphi 2005 Delphi8 C#Builder, ADONET RAD ADONET NET ADONET Delphi ADONET Page 107
Delphi NET RAD, ADONET Delphi ADONET RAD ADONET DataSync DataHub ADONET RemoteServer RemoteConnection DataSync DataHub, Delphi 2005 ADONET, DataSync DataHub ADONET Data Provider,, DataSync DataHub ADONET DataSync DataHub ADONET DataSet IDbConnection ADONET,, Page 108
DataSync DataHub (data remoting components) NET DataSync DataSync Data Provider, DbDataAdapter DataSync, DataSync DataTable DataTable DataSync DbDataAdapter DataSync Data Provider Data Provider FCL, SqlDataAdapter OdbcDataAdapter, IBMDataDB2 OracleDataProvider 3 DataSync Page 109
DataHub DataHub DataSync DataSync DataSet, DataHub DataSync DataHub BDP C# DataSet DataSync DataHub DataGrid DataSync/DataHub DataHub DataHub ApplyChanges DataSync DataSync DataTables Page 110
Resolve Changes datahub1applychanges() RemoteServer RemoteConnection (remoting) NET NET (remote objects) DataSets, NET, DataSets Delphi 2005 NET DataSync DataHub, RemoteServer RemoteConnection DataSync DbDataAdapters DataHub DataSet RemoteServer RemoteConnection DataSync Page 111
DataHub RemoteServer RemoteServer DataSync RemoteConnection RemoteServer RemoteConnection HTTP TCP RemoteServer, DataSync DataSync DataSync Provider ChannelType (Http Tcp), Port listen on, URI( ) RemoteConnection RemoteConnection DataSync RemoteConnection Page 112
ChannelType, Port, URL, URI Provider RemoteConnection ProviderType RemoteConnection DataHub RemoteConnection DataHub RemoteConnection DataSync DataSync DataHub RemoteConnection RemoteServer NET DataSync DataHub DataGrid DataSync, Delphi C#, ADONET Borland Data Provider Borland Data Provider for ADONET ADONET ADONET BDP Page 113
ADONET ADONETBDP BDP DataSync, DataHub BDP DataSync DataHub ADONET Delphi 2005 ADONET BDP BDP Oracle Sybase ADONET BDP BdpCopyTable 1 ADONET BDP BDP Data Explorer( ) Copy Table ADONET BDP ADONET BDP BDP Provider BDP ADONET BDP,, Data Explorer BDP Data Explorer Data Explorer Oracle, DB2, MS SQL Server, InterBase, MS Access ADONET BDP ADONET Data Explorer Page 114
,, Stored Procudure Delphi 2005 IDE Data Explorer BdpConnections, BdpDataAdapters BDP Data Explorer Delphi 2005 Data Explorer,, Stored Procedure, ADONET BDP Data Explorer Delphi 2005 IDE,, ADONET BDP Delphi 2005 ADONET Data Explorer (connection), Tables New Table Delphi 2005 Table Designer Page 115
, Tables Alter ( Drop ) PROJECT Table Designer, ADONET BDP Data Explorer ADONET BDP,, 1 Data Explorer Copy Paste New Table Name Page 116
OK Delphi 2005 Stored Procedure Stored Procedure Data Explorer Stored Procedure, Data Explorer Stored Procedure View Parameters Delphi 2005 Stored Procedure,,, Stored Procedure, Stored Procedure Execute( ) Delphi 2005 Stored Procedure Stored Procedure ( ) Stored Procedure 1003 (mailing label ) Page 117
Delphi2005 Delphi 2005 Delphi 2005 Delphi C# NET Business Objects for Borland Delphi Crystal Report Delphi VCL (VCL Forms (Win32) VCLNET ) Nevrona Designs Rave Reports Borland Edition NET VCL NET Framework Delphi 8 Win32 Delphi Delphi 2005 dbgo ADO dbgo ADO VCL TDataSet OLEDB Providers VCL TDataSet Page 118
ActiveX Data Objects Delphi 2005 VCLNET dbgo for ADO VCLNET TStoredProc, TSimpleDataSet, TNestedDataSet, TUpdateSql DataSnap DataSnap VCLNET TConnectionBroker, TSharedConnection, TLocalConnection ADONET Delphi 2005 SQL Connection, ODBC Connection, OLEDB Connection ADONET ( ADONET BDP, ADONET NET Data Provider ) Delphi 2005 IDE Object Inspector ConnectionString ( ) Connection String SqlConnection ConnectionString Connection String Page 119
Page 120
Borland Delphi 2005 Page 121
/, IDE Delphi, Delphi,, Delphi 2005 Delphi 2005 Delphi 2005 ASPNET Web Applications, ASPNET Web Service Applications, Win32 Web Service servers, Win32 Web Service clients, Web Broker Web server extensions, WebSnap Web server extensions, Win32 NET IntraWeb applications, (what-you-see-is-what-you-get, wysisyg) Web Forms, Delphi 2005 Deployment Manager( ) ASPNET Web applications, ASPNET Web Service Applications, IntraWeb (Win32 NET ) Delphi 2005 Project Manager Project Manager Deployment New Deployment Page 122
XCOPY FTP (, file transfer protocol) XCOPY, XCOPY FTP FTP FTP FTP Copy Selected Files to Destination Copy All New and Modified Files to Destination Page 123
Project Manager Deployment Page 124
Web Forms Designer HTML HTML ASPNET Delphi 2005 HTML, ASPNET ASPNET Page 125
HTML Controls, Web Controls, DB Web Controls Tool Palette Web Forms HTML aspx Web Forms aspx HTML aspx Page 126
Delphi 2005 Web Form DataList, (footer), Delphi 2005 Web Form DataList Page 127
Item DataList End Template Editing Delphi HTML Delphi 2005 cascading style sheets, CSS XHTML Tag Tag Delphi 2005 Tag Web Form Designer, HTML Tag HTML Delphi 2005 HTML Tag <td> Code Insight Page 128
ASPNET Project Manager ASPNET aspx HTML <IMG>(), jpg gif <IMG> src, ASPNET Project Manager Project Manager ASPNET New Folder ASPNET Add,, JavaScript Project Manager ASPNET Delphi 2005 Page 129
DB DB ASPNET NET Web, DB Web Forms FCL DB ASPNET DB, /, DB Delphi 2005 DB Delphi 2005 DB Web DBWebAggregateControl, DBWebNavigatorExtender, DBWebSound, DBWebVideo DBWebAggregateControl DBWebTextBox Sum, Min, Count DBWebSound DBWebVideo ASPNET blob(binary large object), URL DBWebNavigationExtender, ADONET BDP DBWebNavigationExtender Web Form Button DBDataSource, TableName, DataSourceAction Page 130
DataSourceAction DBDataSource DB Delphi 2005 DB DBWebImage DBWebDataSource DBWebImage DBWebSound DBWebVideo DBWebImage bolb URL DBWebImage bolb, DBWebDataSource, - (masterdetail relationships), DBWebDataSource DBWebDataSource XML DB, XML, XML, DBWebDataSource XML XML IntraWeb IntraWeb RAD, ASP NET IntraWeb Page 131
ASPNET IntraWeb IntraWeb TIWServerController IntraWeb ASPNET IntraWeb IntraWeb Delphi VCL VCLNET Tool Palette Delphi IntraWeb HTML, WAP (wireless access protocol), HTML 32 IntraWeb IntraWeb ISAPI (Internet Server application programming interface) HTTP, IIS (Internet Information Server) IIS IntraWeb, IntraWeb HTTP Delphi 2005 IntraWeb ASPNET aspx, IntraWeb HTTP HTML Page 132
Delphi 2005 Win32 Delphi IntraWeb Delphi for NET Page 133
Application Lifecycle Management Borland Delphi 2005 Page 134
Integrated Application Lifecycle Management,,, Delphi 2005 Delphi2005, StarTeam IDE EJB CORBA Janeva, UML ECO Profiling Optimizeit Delphi 2005 ALM(Application Lifecycle Management) StarTeam Unit Testing, Delphi 2005 StarTeam StarTeam Borland StarTeam,, StarTeam Delphi 2005 StarTeam Delphi 2005 IDE StarTeam Delphi 2005 StarTeam, Project Manager context menu sub menu [ ] Page 135
, StarTeam StarTeam,,, StarTeam StarTeam StarTeam Delphi IDE StarTeam StarTeam StarTeam View Client ( ) StarTeam Page 136
Delphi 2005 StarTeam Client,,, Page 137
When you are working with a StarTeam managed project, the Delphi 2005 History Manager makes use of the StarTeam repository For example, the following figure shows the Diff pane of the History Manager Here the Diff pane displays source code versions based on changes that have been checked into the StarTeam repository With the StarTeam enabled History Manager, even changes to source code file names are tracked, as shown in the following figure StarTeam, Delphi 2005 StarTeam Diff Diff StarTeam StarTeam Page 138
Unit Testing Unit Testing, Function, Procedure Unit testing Extreme Programming, Unit testing Delphi 2005 includes unit testing support for all three of its personalities: Delphi Win32, Delphi for the NET Framework, and C# for NET You establish a unit testing by first creating a test project The Test Project Wizard asks you to select which of Delphi 2005's personalities was used to create the code you want to test Delphi 2005 Unit testing Delphi Win32, Delphi for Net Frame work C# Net Unit Testing Delphi 2005 Test Project Page 139
Test Project Test Case Test Case (pas cs) Test Case framework Framework Test Case,, Test Case, Exception, Page 140
Enterprise Core Objects (ECO) II Borland Delphi 2005 Page 141
Enterprise Core Objects II Borland Borland's Enterprise Core Objects ECO( ) Borland NET Framework ECO Net framework Borland diagram Net Framework UML diagram MDA ECO UML UML UML diagram ECO UML UML, Rapid MDA In this respect, ECO is really "Rapid MDA" ECO dramatically reduces the amount of code that you need to write manually, reducing your time to deployment and improving the overall maintainability of your applications More importantly, the applications you build with ECO are based on the enterprise-aware architecture of your UML designs ECO MDA ECO Page 142
ECO UML ECO UML class diagram Building, ResidentialBuilding, Person 3 diagram runtime (Structure Pane) ECO Page 143
Because the model is the central focus of your development efforts, there is an inherent synchronization between your UML model and the application created with it In other environments where UML simply guides development, the model often quickly becomes outof-date, UML UML ECO, UML, ECO,,,,,, GUI ECO Page 144
In most ECO applications, the business objects defined by your UML models map to an underlying ADONET relational database structure This database of your choosing is used to persist and restore your business objects, as needed You can even map your ECO objects to XML files, though most developers prefer the security and transaction support provided by a remote database server ECO, ADONET UML, ECO XML, ECO, UML, ECO UML ECO Space Persistence ECO object ECO object cache ECO Space ECO ECO Space object,, object, ECO Space object object ECO persistence mapper Page 145
ECO OCL UML, ECO OCL ( Object Constraint Language ) UML OMG(an Object Management Group ) object OCL UML, ECO OCL ECO II Delphi 2005 ECO II ECO ECO II NET ECO II A Highly Scalable Enterprise Object Cache ECO II EOO Space 2, ECO Space ECO Space ASPNET ECO Space, ECO persistence mapper ECO Space ECO Space ECO Space ECO persistence mapper thread, ECO Space ECO Space persistent mapper NET ECO Page 146
Object ECO Space object persistence Undo/Redo, versioning, ECO II Web Forms / Web Services ECO II MDA Delphi 2005 C# Delphi for NET ECO ASPNET Web Form ECO ASPNET Web Service Delphi 2005 ECO Data Source, DB ECO object DbDataSource, DB DataSource DbDataSource ECO Space ASPNET, ECO Space state maintenance, ECO Space, ECO ASPNET ASPNET ECO Space EcoSpaceProvider ECO Space / / ECO Space Maintaining state ASPNET object Page 147
ECO Space ECO Space ASPNET ASPNET ECO space ECO space ASPNET ECO II ECO II UML, UML UML ECO II, ECO The following figure shows a UML diagram that ECO created from the sample SQL Server database Northwind In addition to the various classes and their attributes, ECO infers the relationships between the classes based on field names and indexes ECO SQL UML, ECO Page 148
Page 149
Partner Tools Borland Delphi 2005 Page 150
3 rd Delphi 2005, Application Lifecycle Management Delphi 2005 Delphi 2005 Delphi 2005, Borland InterBase 75 InterBase 75 Developer Edition enables you to develop and test your applications running against InterBase, an enterprise-quality remote database management system (RDBMS) Borland InterBase is a small-footprint database server that minimizes maintenance while providing support for mission-critical applications For more information on InterBase 75, please visit: http://wwwborlandcom/interbase/ InterBase 75 Developer Edition RDBMS( Remote Database Management System ) InterBase Borland InterBase Page 151
InterBase 75, http://wwwborlandcom/interbase/ Borland Janeva Janeva J2EE / CORBA http://wwwborlandcom/janeva/ Janeva * Janeva Borland Microsoft NET Framework Borland Optimizeit Profiler Identify and remove performance bottlenecks in your NET managed code through CPU and memory usage analysis with Borland Optimizeit Profiler for the Microsoft NET Framework For more information about Borland Optimizeit for the Microsoft NET Framework, please visit: http://wwwborlandcom/opt_profiler/ Microsoft NET Framework Borland Optimizeit Profiler CPU NET Borland Optimizeit for the Microsoft NET Framework, http://wwwborlandcom/opt_profiler/ Borland StarTeam 60 Standard Edition StarTeam provides you with a rich and automated system for managing the assets and application lifecycle tasks from within a single repository For more information about StarTeam 60 Standard Edition, please visit: http://wwwborlandcom/starteam/ Page 152
StarTeam StarTeam 60 Standard Edition http://wwwborlandcom/starteam/ Borland Delphi 2005 Component One Studio Enterprise Component One Studio Enterprise for Borland Delphi 2005 is a special edition of Studio Enterprise that includes a development license for eleven NET (Windows Forms) and six ASPNET (Web Forms) controls For more information about Component One Enterprise Studio, please visit: http://wwwcomponentonecom/ Borland Delphi 2005 Component One Studio Enterprise 11 NET ( Windows Form) 6 ASPNET(Web Form) Component One Enterprise Studio, http://wwwcomponentonecom/ Crystal Reports Borland Edition Crystal Reports Borland Edition is a NET version of the world's leading reporting tool for use in your C# and Delphi for NET applications For more information about Crystal Reports Borland Edition, please visit: http://wwwbusinessobjectscom/products/reporting/crystalreports/net/defaultasp Crystal Reports Borland Edition NET C# Delphi NET Crystal Reports Borland Edition, http://wwwbusinessobjectscom/products/reporting/crystalreports/net/defaultasp Page 153
glyfx Borland Special Edition glyfx Borland Special Edition is a collection of 95 high-quality images for use in toolbars, buttons, or any control that supports bitmap files For more information on glyfx Borland Special Edition, please visit: http://wwwglyfxcom glyfx Borland Special Edition,, glyfx Borland Special Edition, http://wwwglyfxcom IBM DB2 Universal Developers Edition IBM DB2 Universal Developers Edition DB2, DB2,, InstallShield Express for Borland Delphi InstallShield Express for Borland Delphi provides you with an easy-to-use graphical interface for building custom installers for your Windows software For more information on InstallShield Express for Borland Delphi, please visit: http://wwwinstallshieldcom/borland Borland Delphi InstallShield Express Custom Installer http://wwwinstallshieldcom/borland Internet Direct (Indy) Internet Direct (Indy) is an open-source Internet component suite comprised of popular Internet protocols written in Delphi and based on blocking sockets For more information about Internet Direct, please visit: http://wwwatozedcom/indy Page 154
Internet Direct (Indy) Delphi http://wwwatozedcom/indy IntraWeb IntraWeb is a complete RAD solution for building Web applications, dynamic Web sites that go well beyond the capabilities of regular ASPNET Web applications and ISAPI Web server extensions For more information on IntraWeb, please visit: http://wwwatozedcom/intraweb/ IntraWeb Regular ASPNET ISAPI RAD IntraWeb http://wwwatozedcom/intraweb/ Microsoft SQL Server 2000 Desktop Engine (MSDE 2000) MS SQL Server 2000 SQL SQL 2000 Server Microsoft SQL Server 2000 Developer Edition MS SQL Server Delveloper Edition SQL 2000 Server Page 155
Rave Reports Borland Edition Rave Reports Borland Edition is a powerful and scalable suite of VCL and VCL for NET reporting components for creating sophisticated Delphi reports For more information about Rave Reports Borland Edition, please visit: http://wwwnevronacom/rave/ Rave Reports Boland Edition Delphi VCL VCLNet Rave Reoports Borland Edition http://wwwnevronacom/rave/ Wise Owl Demeanor NET Borland Edition Wise Owl Demeanor for NET Borland Edition is a NET obfuscator, a tool that helps prevent others from reverse-engineering your managed code applications and assemblies For more information about Wise Owl Demeanor for NET Borland Edition, please visit: http://wwwwiseowlcom/ Wise Owl Demeanor for Net Borland Edition Net obfuscator http://wwwwiseowlcom/ Borland Developer Network http://bdnborlandcom/, Borland online, Repository Code Central Code Central url : http://ccborlandcom/ccwebexe/ Page 156
Summary 20 Delphi 2005, Application lifecycle Delphi 2005 Windows Borland Software Corporation 1983 Borland Software Corporation(NASDAQ:BORL) SDO(software delivery optimization) OS Borland,, URL http://wwwborlandcom Carey Jensen, Jensen Data Systems, Inc (http://wwwjensendatasystemscom) 19, Borland Developer Network, Cary Texas, Rice University E-mail : cjensen@jensendatasystemscom Page 157
Made in Borland Copyright 2004 Jensen Data Systems, Inc All rights reserved All Borland brand and product names are trademarks or registered trademarks of Borland Software Corporation in the United States and other countries Microsoft, Windows, and other Microsoft product names are trademarks or registered trademarks of Microsoft Corporation in the US and other countries All other marks are the property of their respective owners Corporate Headquarters: 100 Enterprise Way, Scotts Valley, CA 95066-3249 831-431-1000 wwwborlandcom Offices in: Australia, Brazil, Canada, China, Czech Republic, Finland, France, Germany, Hong Kong, Hungary, India, Ireland, Italy, Japan, Korea, Mexico, the Netherlands, New Zealand, Russia, Singapore, Spain, Sweden, Taiwan, the United Kingdom, and the United States Page 158