Foundations of Programming: Design Patterns
Video: WelcomeIdentifies seven object-oriented design patterns (including the singleton, observer, decorator, and factory patterns) that make your development process faster and easier.
Design patterns are reusable solutions that solve the challenges software developers face over and over again. Rather than reinventing the wheel, learn how to make use of these proven and tested patterns that will make your software more reliable and flexible to change. This course will introduce you to design patterns and take you through seven of the most used object-oriented patterns that will make your development faster and easier. Elisabeth Robson and Eric Freeman, coauthors of Head First Design Patterns, join forces to provide an overview of each pattern and examples of the pattern in action. Featured design patterns include the strategy, observer, decorator, singleton, collection, state, and factory method patterns.
- What are design patterns?
- Encapsulating code that varies with the strategy pattern
- Setting behavior dynamically
- Implementing the observer pattern
- Creating chaos with inheritance
- Extending behavior with composition
- Dealing with multithreading and the singleton pattern
- Revising the design for a state machine
- Encapsulating iteration with the collection pattern
- Encapsulating object creation with the factory method pattern
>> Hi, I'm Eric Freeman and welcome to Foundations of Programming: Design Patterns. >> And I'm Elizabeth Robson. Together, Eric and I will be your tour guides for this course. >> So what are design patterns? They're solutions to common software design problems that occur over and over in software development. >> We'll start by showing you how to dynamically change the behavior of your classes with the strategy, decorator, and state patterns. Then we'll show you how to manage communication between objects with the observer pattern.
Next we'll show you how to manage object creation with the singleton pattern. And we'll show you how to encapsulate those aspects of your code that are likely to change with the iterator and factory patterns. >> I'll start off by giving you a broad overview of each design pattern to introduce the concepts and to describe how the pattern works. >> And then I'll dive a little deeper into the pattern, and show you how to implement a design in code. This is where you get to see the design patterns in action. >> We've got a lot to cover, so let's get started.
Find answers to the most frequently asked questions about Foundations of Programming: Design Patterns .
Here are the FAQs that matched your search "" :
- Q: How do I import the exercise files in Eclipse?
- A: Here are instructions for importing the files:1) Save the download folder as any name you choose, such as DesignPatternsLynda. Place this folder in the default Eclipse project folder (the folder you choose when you start Eclipse).2) Start Eclipse.3) In Eclipse, choose File > New > New Java Project.4) In the first New Project dialog box, use the folder name from step 1 as the project name. Check that the location path matches the default Eclipse project path and the name of the folder. (See NewProject.jpg.)
5) Click Next.6) In this dialog box, leave all settings as is (see Step2.jpg):
7) Click Finish.8) You should now have a project in Eclipse with the following structure (see EclipseProjectStructure.jpg):
9) To compile the code, open the folder you want to work with and choose the main class.10) Choose Run > Run As > Java Application.
Sorry, there are no matches for your search "" —to search again, type in another word or phrase and click search.