Encapsulation - the concept of separating processing and hiding data within specific classes.
The three tier structure is divided into three tiers: Presentation, Business, and Persistence or Data Access.
Presentation Tier - contains the classes that display information for the user and accept user input.
Business Tier - contains logic and calculations that must occur in order to fulfill the requirements of the program. The classes use data entered by users and data from storage to perform the calculations.
Persistence Tier - contains code required to read and write data from storage. After the program is terminated the data gets stored in the database and therefore gets the name persistent data.
Wednesday, October 14, 2009
ADO.NET - Semester 2 Week 6
Database - a collection of related information stored in a structured format. The data is organised into tables. Each column is reffered to as a filed while the rows are called records. The unique field represents the primary key.
Data Binding - allows the display of each field as an object on the form.
Data Binding - allows the display of each field as an object on the form.
Arrays and File Handling - Semester 2 Week 5
Arrays - variables that can store more than one value. Each item in the array that contains a value is called an element. Arrays use a subscript to identify each element in the array.
File Handling - The process of editing, selecting, deleting, or adding data into a text file or .txt. These text files are called sequential files. To open a text file, the programmer adds in an object into the System.IO called StreamReader. To write in a text file the programmer adds the object StreamWriter.
File Handling - The process of editing, selecting, deleting, or adding data into a text file or .txt. These text files are called sequential files. To open a text file, the programmer adds in an object into the System.IO called StreamReader. To write in a text file the programmer adds the object StreamWriter.
Subscribe to:
Posts (Atom)

