Introduction to Object Oriented Programming using Microsoft Visual Studio 2008

Course 6367A: Introduction to Object Oriented Programming using Microsoft Visual Studio 2008 Course Details Co ur s e Outline M o d ule 1: Getting St...
Author: Aleesha Shelton
0 downloads 2 Views 120KB Size
Course 6367A:

Introduction to Object Oriented Programming using Microsoft Visual Studio 2008 Course Details Co ur s e Outline M o d ule 1: Getting Sta r ted with Ob ject-Or iented Pr o g r a mming This module provides fundamental knowledge required before getting started with object-oriented development. It also reviews Visual Studio 2008 features. Les s o ns Introduction to Object-Oriented Programming Creating Projects in Visual Studio 2008 Coding in Visual Studio 2008 Productivity Features in Visual Studio 2008 Debugging Visual Studio Applications La b : Getting Sta r ted with Ob ject-Or iented Develo p ment in Vis ua l Stud io 2008 Determining the Types of Projects for Solution Creating the Solution and Projects Adding Code to the Solution Adding Comments to the Solution Creating the Solution and Projects After completing this module, students will be able to: Describe what makes an object-oriented program different than a procedural based program. List influencing factors that affect successful object oriented development. Describe the overall design goals of an object-oriented application. Explain how Visual Studio and .NET support developing object-oriented applications. Describe the various project types supported by Visual Studio 2008 and when to use them. Evaluate when to use Web site and Web application projects.

Create folders and files for the project types included in the 6367A lab application. Describe the primary folders/file types included in each project. Describe how .NET establishes and references .NET data types. Create data types used within the lab application. Manage data types used within the lab application. Create basic programming structures and control flows within the Visual Studio 2008 IDE. Manage basic programming structures and control flows within the Visual Studio 2008 IDE. Describe Visual Studio 2008 productivity enhancements. Use editing features such as edit marks, code snippets and refactoring in Visual Studio 2008. Create code comments. Generate documentation from code comments. Troubleshoot coding errors using the debugging interface. Test for business logic errors during design time. M o d ule 2: Imp lementing Cla s s es , Pr o p er ties a nd M etho d s This module explains classes and their importance in the basic structure of an object-oriented application. It also add properties and methods to implement the internal functionality of a class. Les s o ns Creating Classes Implementing Properties Within a Class Implementing Methods Within a Class Using Classes, Properties and Methods La b : Imp lementing Cla s s es with Pr o p er ties a nd M etho d s in Vis ua l Stud io 2008 Creating a Class Structure Adding Properties to a Class Structure Adding Methods to a Class Structure Instantiating and Using a Class within an Application Implementing a Shared Method After completing this module, students will be able to: Create a class structure within an object-oriented application. Describe the relationship between classes, properties and methods.

Describe the relationship between classes and objects. Describe the instantiation process of an object. Create properties within class structures to maintain class specific data within Visual Studio projects. Control access to properties. Simplify property creation syntax by using default properties. Create value type and reference type based properties. Define the syntax of a basic method. Use value and reference types as parameters and as return types of a method. Create overloaded methods. Control access to methods. Control class construction using constructors. Create objects from classes. Access the properties of a class instance. Invoke the methods of a class instance. Invoke a shared method of a class instance. M o d ule 3: Imp lementing Inher ita nce, Ab s tr a ctio n, a nd Po lymo r p his m This module explains how to implement inheritance, abstraction and polymorphism to reduce code duplication. It also describes how to create structures that emphasize code reusability. Les s o ns Introduction to Inheritance and Abstraction Implementing Inheritance and Abstraction Introduction to Polymorphism Implementing a Polymorphic Structure La b : Imp lementing Inher ita nce a nd Ab s tr a ctio n Implementing Inheritance Within the Class Structures Implementing Abstraction Within the Class Structures Implementing Polymorphism Within the Lab Application After completing this module, students will be able to: Explain how to reduce code duplication can be reduced by using inheritance and abstraction.

Explain how to increase code reuse can be increased by using inheritance and abstraction. Identify the impact of inheritance on class structures. Write code to create an inherited class. Write code to create an abstract class. Manage the relationship between a base class and a derived class. Manage the construction of inherited class structure. Explain the importance of implementing dynamic code. Explain how polymorphism can create dynamic code at runtime within inherited class structures. Explain the importance of decoupling inherited class functionality from runtime control code. Explain how polymorphism can simplify the code required by the runtime portion of the application. Identify uses of polymorphism within a business scenario. Write code to create a polymorphic structure. Write code to use a polymorphic structure. Create a polymorphic solution that reduces control code logic. Create a polymorphic solution that decouples class dependencies. M o d ule 4: Imp lementing Inter fa ces This module explains how to implement interfaces to establish common relationships between classes, reduce code dependencies, and facilitate code standardization. Les s o ns Introduction to Interfaces Implementing a Custom Interface La b : Imp lementing Inter fa ces Writing Code to Use a System-Defined Interface Defining a Custom Interface Implementing a Custom Interface Implementing Polymorphism with Interfaces After completing this module, students will be able to: Explain the importance of reducing code dependencies. Explain how dependencies between classes can be reduced by implementing interfaces.

Explain the importance of code standardization. Explain how code standardization can be increased through implementing interfaces. Identify uses of interfaces within a business scenario. Create an interface. Describe commonly used system-defined interfaces. Write code to implement an interface. Use an interface to access the functionality within a class. Use an interface with a polymorphic class structure. M o d ule 5: Des ig ning Ob ject-Or iented Str uctur es This module explains the process of creating an object-oriented structure design from a business problem. It also describes how to create object-oriented structures based on their knowledge of classes, properties, methods, inheritance, and interfaces. And last, the students will review and refine their designs. Les s o ns Establishing Classes from Business Requirements Adding Inheritance to the Design Adding Interfaces to the Design Reviewing and Refining the Design La b : Des ig ning Ob ject-Or iented Str uctur es Creating a Draft Class Diagram from the Business Scenario Adding Properties and Methods to the Class Diagram Adding Inheritance to the Class Diagram Adding Interfaces to the Class Diagram Refining the Design After completing this module, students will be able to: Review the goals of object-oriented design. Describe approaches to create an object-oriented design based on business requirements. Create a class diagram to document the design. Identify classes based on business requirements. Diagram an initial class structure to fulfill business requirements. Identify the properties and methods based on business requirements.

Diagram properties and methods to fulfill business requirements. Describe approaches of designing inherited class structures based on business requirements. Identify inherited class structures based on business requirements. Add inherited structures to the proposed class diagram. Critique the methods and property placement within the new class diagram. Modify the methods and property placement within the new class diagram. Describe approaches of designing interface structures from business requirements. Identify interfaces based on business requirements. Modify the class diagram to include interfaces. Determine if a proposed design meets the business requirements. Determine if a proposed design follows the principals of object-oriented application design. Determine the effect of future usage on the completed class diagram. M o d ule 6: Deleg a tes , E vents , a nd E xcep tio ns This module explains how to create and use delegates, events and exceptions to establish interclass communications. Les s o ns Introduction to Delegates Implementing Delegates Introduction to Events Implementing Events Introduction to Exceptions Implementing Exceptions La b : Imp lementing Deleg a tes a nd E vents Implementing a Delegate Implementing a Custom Event Implementing an Event Handler for System Events La b : Imp lementing E xcep tio ns Implementing Custom Exceptions Managing System Exceptions

After completing this module, students will be able to: Explain the importance of interclass communications. Describe the delegate model. Explain how the delegate model can decouple class dependencies and increase code reusability. Identify uses of delegates within a business scenario. Define the syntax required to implement a delegate within a class. Define the syntax required to use a delegate from a calling class. Use delegates to establish interclass communications. Describe the system event model and its importance to object-oriented applications. Describe the benefits of creating custom events within an object-oriented application. Identify appropriate uses of system and custom events. Apply the syntax required to create a system event handler within a class. Apply the syntax required to create a custom event. Apply the syntax required to create a custom event handler. Describe the exception model used within .NET applications. Explain how exception management can help mitigate runtime errors within an application. Describe differences in object-oriented exception management versus procedural-based exception management. Identify uses of exception management given a business scenario. Apply the syntax used to handle a system-generated exception within a class. Apply the syntax used to create a custom exception. Apply the syntax used to throw a custom exception. Implement a solution that uses exceptions to mitigate runtime errors. M o d ule 7: Des ig ning Ob ject Co lla b o r a tio n This module explains how to design collaborations between classes by using methods, events, exceptions and delegates. It also introduces sequence diagrams as a way of documenting and planning class interactions. Les s o ns Introduction to Class Interactions Adding Interactions to a Design Evaluating the Design

Introduction to Patterns La b : Des ig ning Ob ject-Or iented Inter a ctio ns Design Interactions Using Methods Design Interactions Using Events, Delegates, and Exceptions Evaluating and Refining the Design Evaluating a Pattern After completing this module, students will be able to: Define design goals to create class interactions. Identify differences between events, exceptions, delegates and direct method invocation to implement an interaction design. Describe evaluation approaches and criteria to determine if a design is effective in solving a business problem. Determine interaction boundaries within an object-oriented design to decouple class structures. Organize an application to decouple dependencies between code. Determine the best communication method between classes given a business requirement. Diagram class interactions. Determine the overall effectiveness of the design in meeting the business requirements. Evaluate the overall design against object-oriented design best practices. Critique the design using evaluation techniques. Describe design patterns and their importance to object-oriented design. Determine the applicability of a design pattern to a business scenario. Apply a design pattern to an existing solution. M o d ule 8: Dep lo ying Co mp o nents a nd Cla s s Lib r a r ies This module explains how to create and maintain updatable units of software by deploying components and class libraries. It also describes how to maintain an application without redeploying the entire application. Les s o ns Introduction to Components and Class Libraries Deploying a Component/Class Library Best Practices for Deploying a Component/Class Library La b : Dep lo ying Co mp o nents /Cla s s Lib r a r ies

Creating a Component/Class Library Deploying the Application Updating the Component/Class Library Deploying an Updated Component/Class Library After completing this module, students will be able to: Explain the importance of creating deployable units of software. Describe the software development lifecycle with respect to upgrading and maintenance. Determine uses of components and class libraries given a business scenario. Prepare an application to use component/class libraries. Create a component/class library. Deploy a component/class library. Manage versioning within an application using a component/class library. Describe best practices for deploying component/class libraries. Identify code that maximizes component/class library usage. Explain how a component/class library meets best practices.

Ad d itio na l Rea d ing To help you prepare for this class, review the following resources: Visual Studio 2005 Class Designer Default Project Templates in Visual Studio Web Application Projects Overview Value Types in the Common Type System Type Fundamentals System.Collections.Generic Namespace IConvertible Interface XML Documentation Comments (C# Programming Guide)

Suggest Documents