Head First Design Patterns 1st Edition by Eric Freeman, Elisabeth Robson, Bert Bates, Kathy Sierra – Ebook PDF Instant Download/Delivery. 9780596007126 ,0596007124
Full download Head First Design Patterns 1st Edition after payment
Product details:
ISBN 10: 0596007124
ISBN 13: 9780596007126
Author: Eric Freeman, Elisabeth Robson, Bert Bates, Kathy Sierra
Head First Design Patterns 1st Edition Table of contents:
Chapter 1: Intro to design patterns
It started with a simple SimUDuck app
But now we need the ducks to FLY
Designing the Duck Behaviors
Implementing the Duck Behaviors
Integrating the Duck Behavior
More integration
Testing the Duck code
Setting the behavior dynamically
The Big Picture on encapsulated behaviors
HAS-A can be better than IS-A
Speaking of Design Patterns
The power of a shared vocabulary
How do I use Design Patterns?
Tools for your Design Toolbox
Design Patterns Crossword
Design Puzzle Solution
Design Patterns Crossword Solution
Chapter 2: The Observer Pattern
The Weather Monitoring application overview
Unpacking the WeatherData class
What do we know so far?
Taking a first, misguided SWAG at the Weather Station
What’s wrong with our implementation?
Meet the Observer Pattern
Publishers + Subscribers = Observer Pattern
A day in the life of the Observer Pattern
Five-minute drama: a subject for observation
The Observer Pattern defined
The Observer Pattern defined: the class diagram
The power of Loose Coupling
Designing the Weather Station
Implementing the Weather Station
Implementing the Subject interface in Weather Data
Now, let’s build those display elements
Power up the Weather Station
Using Java’s built-in Observer Pattern
How Java’s built-in Observer Pattern works
Reworking the Weather Station with the built-in support
Tools for your Design Toolbox
Design Patterns Crossword
Design Patterns Crossword Solution
Chapter 3: The Decorator Pattern
The Open-Closed Principle
Meet the Decorator Pattern
Constructing a drink order with Decorators
The Decorator Pattern defined
Decorating our Beverages
New barista training
Writing the Starbuzz code
Coding beverages
Serving some coffees
Real World Decorators: Java I/O
Decorating the java.io classes
Writing your own Java I/O Decorator
Test out your new Java I/O Decorator
Tools for your Design Toolbox
Chapter 4: The Factory Pattern
Identifying the aspects that vary
Encapsulating object creation
Building a simple pizza factory
Reworking the PizzaStore class
The Simple Factory defined
Franchising the pizza store
A framework for the pizza store
Allowing the subclasses to decide
Let’s make a PizzaStore
Declaring a factory method
It’s finally time to meet the Factory Method Pattern
Another perspective: parallel class hierarchies
Factory Method Pattern defined
Looking at object dependencies
The Dependency Inversion Principle
Applying the Principle
Inverting your thinking
A few guidelines to help you follow the Principle
Building the ingredient factories
Abstract Factory Pattern defined
Factory method and Abstract Factory compared
Tools for your Design Toolbox
Design Patterns Crossword
Design Puzzle Solution
Design Patterns Crossword Solution
Chapter 5: The Singleton Pattern
Dissecting the classic Singleton Pattern implementation
The Chocolate Factory
Singleton Pattern defined
Dealing with multithreading
Meanwhile, back at the chocolate factory
Tools for your Design Toolbox
Design Patterns Crossword
Chapter 6: The Command Pattern
Free hardware! Let’s check out the Remote Control
Taking a look at the vendor classes
The Objectville Diner roles and responsibilities
From the Diner to the Command Pattern
Our first command object
Using the command object
The Command Pattern defined
The Command Pattern defined: the class diagram
Assigning Commands to slots
Implementing the Remote Control
Implementing the Commands
Putting the Remote Control through its paces
Time to write that documentation
Time to QA that Undo button!
Using state to implement Undo
Adding Undo to the CeilingFan commands
Testing the ceiling fan
Every remote needs a Party Mode!
Using a macro command
The Command Pattern means lots of command classes
Simplifying the Remote Control with lambda expressions
Test the remote control with lambda expressions
More uses of the Command Pattern: queuing requests
More uses of the Command Pattern: logging requests
Tools for your Design Toolbox
Design Patterns Crossword
Chapter 7: The Adapter and Facade Patterns
Adapters all around us
Object-oriented adapters
Test drive the adapter
The Adapter Pattern explained
Adapter Pattern defined
Object and class adapters
Real-world adapters
Adapting an Enumeration to an Iterator
Home Sweet Home Theater
Lights, Camera, Facade!
Constructing your home theater facade
Implementing the simplified interface
Facade Pattern defined
The Principle of Least Knowledge
How NOT to Win Friends and Influence Objects
The Facade and the Principle of Least Knowledge
Tools for your Design Toolbox
Design Patterns Crossword
Design Patterns Crossword Solution
Chapter 8: The Template Method Pattern
Whipping up some coffee and tea classes (in Java)
Sir, may I abstract your Coffee, Tea?
Taking the design further
Abstracting prepareRecipe()
Meet the Template Method
What did the Template Method get us?
Template Method Pattern defined
Hooked on Template Method
Using the hook
Let’s run the Test Drive
The Hollywood Principle
The Hollywood Principle and Template Method
Template Methods in the Wild
Sorting with Template Method
Comparing Ducks and Ducks
The making of the sorting duck machine
Swingin’ with Frames
Applet
Design Patterns Crossword
Tools for your Design Toolbox
Design Pattern Crossword Solution
Chapter 9: The Iterator and Composite Patterns
Breaking News: Objectville Diner and Objectville Pancake House Merge
Check out the Menu Items
Lou and Mel’s Menu Implementations
What’s the problem with having two different menu representations?
Can we encapsulate the iteration?
Meet the Iterator Pattern
Adding an Iterator to DinerMenu
Reworking the Diner Menu with Iterator
Fixing up the Waitress Code
Testing our code
Cleaning things up with java.util.Iterator
Iterator Pattern defined
Taking a look at the Cafe Menu
Reworking the Cafe Menu code
Adding the Cafe Menu to the Waitress
Iterators and Collections
The Composite Pattern defined
Designing Menus with Composite
Implementing the Menu Component
Implementing the Menu Item
Implementing the Composite Menu
Flashback to Iterator
The Composite Iterator
The Null Iterator
The magic of Iterator & Composite together
Design Patterns Crossword
Tools for your Design Toolbox
Design Patterns Crossword Solution
Chapter 10: The State Pattern
Java Breakers
State machines 101
Writing the code
In-house testing
The messy STATE of things
The new design
Defining the State interfaces and classes
Implementing our State classes
Reworking the Gumball Machine
Implementing more states
The State Pattern defined
Tools for your Design Toolbox
Design Puzzle Solution
Chapter 11: The Proxy Pattern
Coding the Monitor
Testing the Monitor
The role of the ‘remote proxy’
Adding a remote proxy to the Gumball Machine monitoring code
Remote methods 101
How the method call happens
Java RMI, the Big Picture
Making the Remote service
Step one: make a Remote interface
Step two: make a Remote implementation
Step three: run rmiregistry
Complete code for the server side
How does the client get the stub object?
Complete client code
Registering with the RMI registry
Writing the Monitor test drive
The Proxy Pattern defined
Get ready for Virtual Proxy
Displaying CD covers
Designing the CD cover Virtual Proxy
Writing the Image Proxy
Using the Java API’s Proxy to create a protection proxy
Matchmaking in Objectville
Step one: creating Invocation Handlers
Step two: creating the Proxy class and instantiating the Proxy object
Testing the matchmaking service
The Proxy Zoo
Design Patterns Crossword
Tools for your Design Toolbox
Design Patterns Crossword Solution
Chapter 12: Compound Patterns
Working together
Duck reunion
The King of Compound Patterns
Meet the Model-View-Controller
Looking at MVC through patterns-colored glasses
Using MVC to control the beat
Putting the pieces together
Building the pieces
The View
Implementing the View
Now for the Controller
Exploring Strategy
Adapting the Model
MVC and the Web
Design Patterns and Model 2
Tools for your Design Toolbox
Chapter 13: Better Living with Patterns
Design Pattern defined
Looking more closely at the Design Pattern definition
So you wanna be a Design Patterns writer
Organizing Design Patterns
Pattern Categories
Thinking in Patterns
Don’t forget the power of the shared vocabulary
The Patterns Zoo
Annihilating evil with Anti-Patterns
Tools for your Design Patterns
Leaving Objectville
Chapter 14: Appendix
Why use the Bridge Pattern?
Builder
Why use the Builder Pattern?
Chain of Responsbility
How to use the Chain of Responsibility Pattern
Flyweight
Why use the Flyweight Pattern?
Interpreter
How to implement an interpreter
Mediator
Mediator in action
Memento
The Memento at work
Prototype
Prototype to the rescue
Visitor
The Visitor drops by
Index
People also search for Head First Design Patterns 1st Edition:
head first design patterns o’reilly
head first design patterns 2nd edition pdf
head first design patterns 2nd edition
head first design patterns github