delphi编程基础_了解Delphi编程的基础

delphi编程基础

Beginner developers eager to master the Delphi programming language should already be familiar with the basics of Microsoft Windows. Learning Delphi is easiest if you approach it from a guided, tutorial-based frame of reference. 

渴望掌握Delphi编程语言的初学者开发人员应该已经熟悉Microsoft Windows的基础知识。 如果您是从基于教程的指导性参考框架中学习Delphi的,那将是最容易的。

基础概念 ( Foundational Concepts )

Get started with a history lesson covering the evolution of (Turbo) Pascal to Delphi 2005, such that Delphi evolved into a rapid-application-deployment framework intended to offer high-performance, scalable applications for online and mobile delivery.

从涵盖(Turbo)Pascal到Delphi 2005演变的历史课程开始,使得Delphi演变成一个快速应用程序部署框架,旨在为在线和移动交付提供高性能,可扩展的应用程序。

After that, explore the meat-and-potatoes of what Delphi actually is and how to install and configure its development environment. From there, explore the main parts and tools of the Delphi IDE.

然后,探究Delphi到底什么,以及如何安装和配置其开发环境。 从那里,探索Delphi IDE的主要部分和工具。

“你好,世界!” ( "Hello, World!" )

Begin your overview of application development with Delphi by creating a simple project, writing code, compiling, and running a project. Then learn about properties, events, and Delphi Pascal by creating your second simple Delphi application — allowing you to learn how to place components on a form, set their properties, and write event-handler procedures to make components cooperate.

通过创建一个简单的项目, 编写代码 ,编译和运行一个项目,开始使用Delphi进行应用程序开发的概述。 然后通过创建第二个简单的Delphi应用程序来了解属性,事件和Delphi Pascal ,使您能够学习如何将组件放置在表单上,​​设置其属性以及编写事件处理程序以使组件协作。

德尔福·帕斯卡(Delphi Pascal) ( Delphi Pascal )

Before you start developing more sophisticated applications by using the RAD features of Delphi, you should learn the basics of the Delphi Pascal language. At this point, you'll need to start thinking carefully about code maintenance, including code commenting, and how to cleaning your Delphi code errors — a discussion on Delphi design, run and compile time errors and how to prevent them. Also, take a look at some solutions to most common logic errors.

在开始使用Delphi的RAD功能开发更复杂的应用程序之前,您应该学习Delphi Pascal语言的基础知识。 此时,您需要开始仔细考虑代码维护,包括代码注释以及如何清除Delphi代码错误 -有关Delphi设计,运行和编译时间错误以及如何防止它们的讨论。 另外,看看一些最常见的逻辑错误的解决方案。

表格和数据库 ( Forms and Databases )

In just about every Delphi application, we use forms to present and retrieve information from users. Delphi arms us with a rich array of visual tools for creating forms and determining their properties and behavior. We can set them up at design time using the property editors and we can write code to re-set them dynamically at runtime. Look at simple SDI forms and consider some good reasons for not letting your program auto-create forms.

在几乎每个Delphi应用程序中,我们都使用表单来呈现和检索用户的信息。 Delphi为我们提供了丰富的可视化工具,用于创建表单并确定其属性和行为。 我们可以在设计时使用属性编辑器对其进行设置,并且可以编写代码以在运行时动态地对其进行重新设置。 查看简单的SDI表单,并考虑一些不允许您的程序自动创建表单的充分理由。

Delphi Personal edition does not offer database support, but you can create your own flat database to store any kind of data — all without a single data-aware component.

Delphi Personal Edition不提供数据库支持,但是您可以创建自己的 平面数据库来存储任何类型的数据-所有这些都无需单个数据感知组件。

管理工作 ( Managing Your Work )

While you're developing a large Delphi application, as your program becomes more complex, its source code can become hard to maintain. Create your own code modules — Delphi code files that contain logically associated functions and procedures. Along the way you should explore Delphi's built-in routines and how to make all the units of a Delphi application cooperate.

在开发大型Delphi应用程序时,随着程序变得越来越复杂,其源代码可能变得难以维护。 创建自己的代码模块-包含逻辑上相关的函数和过程的Delphi代码文件。 在此过程中,您应该探索Delphi的内置例程,以及如何使Delphi应用程序的所有单元相互配合。

The Delphi IDE (the code editor) helps you effectively jump from a method implementation and a method declaration, locate a variable declaration using tooltip symbol insight features, and more.

Delphi IDE( 代码编辑器 )可帮助您有效地从方法实现和方法声明中跳转,使用工具提示符号洞察功能定位变量声明等。

翻译自: https://www.thoughtco.com/beginners-guide-to-delphi-programming-1057657

delphi编程基础

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值