Delphi數據庫編程新手指南(目錄)

先列出自我學習以及翻譯目標:

說明:這些簡單的就不翻譯出來了,還是直接進入正題吧。(現在發現翻譯真不是一般人能幹得下來的事情啊,尤其是要翻譯的流暢、易懂這種地步....快哭了

About the Course:

This free online course is perfect for Delphi database beginners as well as for those who want a broad overview of the art of database programming with Delphi. Developers will learn how to design, develop and test a database application using ADO with Delphi. This course focuses on the most common uses of ADO in a Delphi application: Connecting to a database using TADOConnection, work with Tables and Queries, handle database exception, create reports, etc.

[課程概述:]

該課程特別適合於Delphi數據庫編程的初學者,以及想深入瞭解該技術之人。開發者將學習如何利用Delphi的ADO組件進行數據庫相關應用程序的設計,開發和測試。課程着重於ADO組件的常見應用:例如用TADOConnection組件連接一個數據庫,進行表查詢,處理數據庫異常,創建報表等。

Prerequisites:

Readers should have at least a working knowledge of the Windows operating system, as well as some decent level of Delphi Programming knowledge base. New developers should first explore A Beginner's Guide to Delphi Programming

[必備基礎:]

讀者應具有Windows操作系統下進行工作的經驗,以及紮實的Delphi編程基礎。新手請先學習[Delphi編程新手指南].

Chapters

The chapters of this course are being created and updated dynamically on this site. You can find the latest chapter on the last page of this article.

[目錄:]

章節目錄處於動態更新中。最新的章節,請在該課程的about.com導航頁面最後一頁進行查找。

CHAPTER 1:
Fundamentals of Database Development (with Delphi)
Delphi as the database programming tool, Data Access with Delphi...just a few words, Building a new MS Access database. 
Discuss about questions, comments, problems and solutions related to this chapter!

數據庫編程基礎(Delphi)

Delphi的數據庫編程工具,使用Delphi進行數據訪問......幾行代碼,創建一個新的MS Access數據庫。

本章相關提問,建議,難題及解決方案!(點URL連接)

CHAPTER 2:
Connecting to a database. BDE? ADO?
Connecting to a database. What is the BDE? What is ADO? How to connect to an Access database - the UDL file? Looking forward: the smallest ADO example. 
Discuss about questions, comments, problems and solutions related to this chapter!

使用BDE還是ADO訪問數據庫?

訪問數據庫。 什麼BDE、ADO?如何訪問Access數據庫以及UDL文件?展望:最小的ADO示例

CHAPTER 3:
Pictures inside a database
Displaying images (BMP, JPEG, ...) inside an Access database with ADO and Delphi. 
Discuss about questions, comments, problems and solutions related to this chapter!

數據庫裏的圖片

使用Delphi的ADO組件,訪問並顯示Access數據庫裏的圖片(JPEG,BMP,...)

CHAPTER 4:
Data browsing and navigation
Building a data browsing form - linking data components. Navigating through a recordset with a DBNavigator. 
Discuss about questions, comments, problems and solutions related to this chapter!

數據查詢及導航條


CHAPTER 5: 
Behind data in datasets
What is the state of data? Iterating through a recordset, bookmarking and reading the data from a database table. 
Discuss about questions, comments, problems and solutions related to this chapter!

CHAPTER 6: 
Data modifications
Learn how to add, insert and delete records from a database table. 
Discuss about questions, comments, problems and solutions related to this chapter!

CHAPTER 7: 
Queries with ADO
Take a look at how you can take advantage of the TADOQuery component to boost your ADO-Delphi productivity. 
Discuss about questions, comments, problems and solutions related to this chapter!

CHAPTER 8: 
Data filtering
Using Filters to narrow the scope of data that is presented to the user. 
Discuss about questions, comments, problems and solutions related to this chapter!

CHAPTER 9: 
Searching for data
Walking through various methods of data seeking and locating while developing ADO based Delphi database applications. 
Discuss about questions, comments, problems and solutions related to this chapter!

CHAPTER 10: 
ADO Cursors
How ADO uses cursors as a storage and access mechanism, and what you should do to choose the best cursor for your Delphi ADO application. 
Discuss about questions, comments, problems and solutions related to this chapter!

CHAPTER 11: 
From Paradox to Access with ADO and Delphi
Focusing on the TADOCommand components and using the SQL DDL language to help porting your BDE/Paradox data to ADO/Access. 
Discuss about questions, comments, problems and solutions related to this chapter!

CHAPTER 12: 
Master detail relationships
How to use master-detail database relationships, with ADO and Delphi, to deal effectively with the problem of joining two database tables to present information. 
Discuss about questions, comments, problems and solutions related to this chapter!

CHAPTER 13: 
New...Access Database from Delphi
How to create an MS Access database without the MS Access. How to create a table, add an index to an existing table, how to join two tables and set up referential integrity. No MS Access, only Pure Delphi code. 
Discuss about questions, comments, problems and solutions related to this chapter!

CHAPTER 14: 
Charting with Databases
Introducing the TDBChart component by integrating some basic charts into a Delphi ADO based application to quickly make graphs directly for the data in recordsets without requiring any code. 
Discuss about questions, comments, problems and solutions related to this chapter!

CHAPTER 15: 
Lookup!
See how to use lookup fields in Delphi to achieve faster, better and safer data editing. Also, find how to create a new field for a dataset and discuss some of the key lookup properties. Plus, take a look at how to place a combo box inside a DBGrid. 
Discuss about questions, comments, problems and solutions related to this chapter!

CHAPTER 16: 
Compacting an Access database with ADO and Delphi
While working in a database application you change data in a database, the database becomes fragmented and uses more disk space than is necessary. Periodically, you can compact your database to defragment the database file. This article shows how to use JRO from Delphi in order to compact an Access database from code. 
Discuss about questions, comments, problems and solutions related to this chapter!

CHAPTER 17: 
Database reports with Delphi and ADO
How to use QuickReport set of components to create database reports with Delphi. See how to produce database output with text, images, charts and memos - quickly and easily. 
Discuss about questions, comments, problems and solutions related to this chapter!

CHAPTER 18: 
Data Modules
How to use the TDataModule class - central location for collecting and encapsulating DataSet and DataSource objects, their properties, events and code. 
Discuss about questions, comments, problems and solutions related to this chapter!

CHAPTER 19: 
Handling database errors
Introducing error handling techniques in Delphi ADO database application development. Find out about global exception handling and dataset specific error events. See how to write an error logging procedure. 
Discuss about questions, comments, problems and solutions related to this chapter!

CHAPTER 20: 
From ADO Query to HTML
How to export your data to HTML using Delphi and ADO. This is the first step in publishing your database on the Internet - see how to create a static HTML page from an ADO query. 
Discuss about questions, comments, problems and solutions related to this chapter!

CHAPTER 21: 
Using ADO in Delphi 3 and 4 (before AdoExpress / dbGO)
How to import Active Data Objects (ADO) type-libraries in Delphi 3 and 4 to create a wrapper around components that encapsulate the functionality of ADO objects, properties and methods. 
Discuss about questions, comments, problems and solutions related to this chapter!

CHAPTER 22: 
Transactions in Delphi ADO database development
How many times have you wanted to insert, delete or update a lot of records collectively wanting that either all of them get executed or if there is an error then none is executed at all? This article will show you how to post or undo a series of changes made to the source data in a single call. 
Discuss about questions, comments, problems and solutions related to this chapter!

CHAPTER 23: 
Deploying Delphi ADO database applications
It is time to make your Delphi ADO database application available for others to run. Once you have created a Delphi ADO based solution, the final step is to successfully deploy it to the user's computer. 
Discuss about questions, comments, problems and solutions related to this chapter!

CHAPTER 24: 
Delphi ADO/DB programming: Real Problems - Real Solutions
In real world situations, really doing database programming is much more complex than writing about. This chapter points to some great Delphi Programming Forum threads initiated by this Course - discussions that solve problems on the field.

CHAPTER 25: 
TOP ADO programming TIPS
Collection of frequently asked questions, answers, tips and tricks about ADO programming. 
Discuss about questions, comments, problems and solutions related to this chapter!

CHAPTER 26: 
Quiz: Delphi ADO Programming
What would it look like: Who Wants to be a Delphi ADO Database Programming Guru - the trivia game. 
Discuss about questions, comments, problems and solutions related to this chapter!

Appendixes

What follows is a list of articles (quick tips) explaining how to use various Delphi DB related components more efficiently at design and run time.

APPENDIX 0 
DB Aware Grid Components
The list of the best Data Aware Grid components available for Delphi. The TDBGrid component enhanced to maximum. 

APPENDIX A 
DBGrid to the MAX
Contrary to most other Delphi data-aware controls, the DBGrid component has many nice features and is more powerful than you would have thought. The "standard" DBGrid does its job of displaying and manipulating records from a dataset in a tabular grid. However, there are many ways (and reasons) why you should consider customizing the output of a DBGrid:

Adjusting DBGrid column widths automatically, DBGrid with MultiSelect Coloring DBGrid, Selecting and highlighting a row in a DBGrid - "OnMouseOverRow", Sorting records in DBGrid by Clicking on Column Title, Adding components to a DBGrid - theory, CheckBox inside a DBGrid, DateTimePicker (calendar) inside a DBGrid, Drop down pick list inside a DBGrid - part 1, Drop down list (DBLookupComboBox) inside a DBGrid - part 2, Accessing protected members of a DBGrid, Exposing the OnClick event for a DBGrid, What is being typed into the DBGrid?, How to Display Only Selected Fields in a DbGrid, How to get DBGrid Cell coordinates, How to create a simple database display form, Get the line number of a selected row in a DBGrid, Prevent CTRL+DELETE in DBGrid, How to correctly use the mouse wheel in DBGrid, Making the Enter key work like a Tab key in a DBGrid ... 

APPENDIX B 
Customizing the DBNavigator
Enhancing the TDBNavigator component with modified graphics (glyphs), custom button captions, and more. Exposing the OnMouseUp/Down event for every button.
Discuss about questions, comments, problems and solutions related to this quick tip!

APPENDIX C 
Accessing and managing MS Excel sheets with Delphi
How to retrieve, display and edit Microsoft Excel spreadsheets with ADO (dbGO) and Delphi. This step-by-step article describes how to connect to Excel, retrieve sheet data, and enable editing of data (using the DBGrid). You'll also find a list of most common errors (and how to deal with them) that might pop up in the process. 
Discuss about questions, comments, problems and solutions related to this quick tip!

APPENDIX D 
Enumerating available SQL Servers. Retrieving databases on a SQL Server
Here's how to create your own connection dialog for a SQL Server database. Full Delphi source code for getting the list of available MS SQL Servers (on a network) and listing database names on a Server. 
Discuss about questions, comments, problems and solutions related to this quick tip!


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章