Delphi 2005 new feature
BY BOB SWART (www.drbob42.com)
Bob Swart Training & Consultancy (EBOB42)
Translation: ari original: http://bdn.borland.com/Article/0,1410,32778,00.html
Borland Delphi 2005 launch screen
1 Introduction
Borland Delphi 2005 is currently the latest version of Delphi, providing a fast development environment under Microsoft Windows operating system and Microsoft .NET Framework 1.1 version, available in Delphi language (adapting to Win32 and .NET 1.1) with C # (only adaptable> NET 1.1) development
Product Overview
Delphi 2005 can be seen as three different features: a Win32 feature that uses the Delphi language (successive version of Delphi7), and two .NET features: a use of Delphi as a development language (successive version of Delphi8), another use C # As a development language. About the last feature of this wrap, Delphi 2005 is from Borland C # Builder
1.0
Rise
Class is coming.
Conclusion, Delphi2005 is the next version of Delphi3 to 8 and C # Builder developers, which developed as fast application under Win32 and is as good as the .NET framework.
Key feature
- Supports three different features: Delphi for Win32, Delphi for .NET and C # are in a development environment (and debug environment).
- It is easier to transplant Win32 application in the same development environment to .NET
- Add some new features of the Delphi language such as multi-unit namespace, for ... in ... DO loop, inline function, and other code optimization technology.
- Supports WinForms, ASP.NET Web Forms development in a visual environment, just like Borland's development of applications on the VCL framework on .NET and WIN32.
- Support heterogeneous data access (you can use all ADO.NET data adapters - not just bdpdataadapter), multi-layer data application development can use new DataSync, DataHub, RemoteServer, and RemoteConnection controls.
- Support Reconstruction to regulate your source code to enhance the probability of removability and successful reuse of code.
- Support Dunit and NUnit unit testing, you can use the Extreme Unit Test Framework to improve your code quality in Delphi for Win32, Delphi for .NET, and C # items.
- Support Eco II (Enterprise Core Objects II) - A UML corresponding object model framework and object persistence, supporting multiple databases via the Borland data provider, and now also supports ASP.NET.
- Supporting ASP.NET DB web control enables development simpler design, development, and distributing powerful web applications with data-driven web applications.
- Support version control and team development, through extra plug-in StarTeam, you can make special written views for your project and provide a historical list view.
- Built-in support J2EE Enterprise EJB, or CORBA Server through Janeva For Delphi for .NET and C # applications.
2. Borland Delphi 2005 This white paper will be able to discuss some important enhancements of Borland Delphi 2005 from different ranges. First, the enhancement of IDE will be referred to, followed by refactoring, using Dunit and NUnit unit testing, In terms of data access and Web, ALM support, and finally talk about Delphi's reinforcement, language and debugger.
2.1 Ide Delphi 2005 visual development environment (IDE) has a significant significance of significant expansion and enhancements in all aspects mentioned below. Welcome interfaces have been redesigned, not only displaying recently opened projects, but also shows Borland Developer network and RSS latest news (need to join the Internet)
Diversified Features Delphi 2005 supports diverse properties, reflects while supporting Delphi Fro Win32, Delphi for .NET, and C # items. This is a small useful prompt, a personalized icon will display on the IDE toolbar. Currently selected type (Delphi for Win32 corresponds to
, Delphi for .NET corresponds to
And C # corresponding
).
Item Manager Delphi 2005 project manager can now display directory structure of the entire project (if it is an ASP.NET project, even functioning in the current project directory), this can be more intuitive You know the placement of the file and decide that file is to distribute it to the user. In a project group, we can add items to different targets (and features), or move from one project to another - that is Turn an immediate characteristic to another.
Now the project manager and object viewer can be used in conjunction, as long as you want the project manager to select a file, the object checker will display the information related to the file, such as the file name, the full path of the file, will also add relevant Attributes such as culture, name, assembler, or options for local copy,. Most displayed properties are read-only (display with gray fonts), of course, part is able to change, such as file name, local copy State,. The project manager can also sense StarTeam at the same time, and when managing items stored in the StarTeam, you can provide related context awareness prompts based on the input command.
Backup and Historical List Borland Delphi 2005 provides a hidden source code to provide you with a multi-level copy and historical list in your project directory. This replaces the way of the old use ~ file name. That _ _ Historical list directory can include multiple versions of the project (default is the last ten maintenance version), and can be used as a local file version control warehouse.
Historical views are used to check and back up different versions of your project file, but also provide a very useful (intelligent) to compare different versions of the file different versions. Intuitive display you in the source code The addition or removal or modification of the action. In addition to the change of the code, you can revoke the previous changes, return to the time point of your previous backup file. Historical view also supports StarTeam to provide more complete Team view historical list (reference ALM part)
Floating VCL designer
Borland Delphi 2005 now provides a selection of free floating designers, just like previous Delphi7 and prior versions (relative to fixed designer Delphi8). The default situation is to use embedded designers, but you can be in Delphi The dialog box of the corresponding VCL designer is found in the options, and then remove the options of the designer to cancel the embedding effect.
Delphi 2005 Tool Selection Dialog
This feature not only allows you to observe your FORM design and source code, but also allow you to observe multiple FORMs and data modules simultaneously.
Synchronize editing
Borland Delphi 2005 provides a new synchronization editing feature that allows you to modify multiple variables in a selected code area (for example, allow you to rename them at the same time). Note that this function is limited, only suitable for small The source code modification of the area (such as a process or code), if you want to modify the identifier in a large code area, it is recommended that you still use the reconstruction, which uses the syntax and semantic analysis engine.
Delphi 2005 synchronous editor
Error real-time prompt
The Borland Delphi 2005 IDE provides a new function called error real-time prompt (ERROR Insight), you can highlight the input error syntax while entering Delphi, C #, HTML code. Error real-time prompt will display under the wrong syntax A red slide prompt, this information will include more information about the corresponding error. This feature can even help you correct the syntax errors in the source code before starting the program. In addition, for the undeclared identifier errors Spelling keywords and reserved words, error Real-time prompts can also misunderstand the symbol and not in the current range declaration (just as if the type in a namespace is used, you must use Uses or use I identified) association findings
Borland Delphi 2005 IDE has an enhanced approach to find the associated code, which is the use of reconstruction engines, you can navigate to your source code by lookup results. You can find the symbol of local (in a separate source file) Quote (such as fields, methods, attributes, variables, etc.), or you can find and check all related references in all source files, related references list the code directly, the code in each node directly correspondence If you double-click a node, the code editor will appear and display the corresponding source code. This is a simple and fast access source file.
DLPHI 2005 association lookup tree list lookup results
The associated lookup results can always be found under menu "views", the tree list can even contain different query results, and display the last query result.