Limit search to available items
279 results found. Sorted by relevance | date | title .
Book Cover
E-book
Author Singh, Kamalmeet

Title Design Patterns and Best Practices in Java : a Comprehensive Guide to Building Smart and Reusable Code in Java
Published Birmingham : Packt Publishing Ltd, 2018

Copies

Description 1 online resource (272 pages)
Contents Intro; Title Page; Copyright and Credits; Packt Upsell; Contributors; Table of Contents; Preface; Chapter 1: From Object-Oriented to Functional Programming; Java -- an introduction; Java programming paradigms; Imperative programming; Real-life imperative example; Object-oriented paradigm; Objects and classes; Encapsulation; Abstraction; Inheritance; Polymorphism; Declarative programming; Functional programming; Working with collections versus working with streams; An introduction to Unified Modeling Language; Class relations; Generalization; Realization; Dependency; Association; Aggregation
CompositionDesign patterns and principles; Single responsibility principle; Open/closed principle; Liskov Substitution Principle; Interface Segregation Principle; Dependency inversion principle; Summary; Chapter 2: Creational Patterns; Singleton pattern; Synchronized singletons; Synchronized singleton with double-checked locking mechanism; Lock-free thread-safe singleton; Early and lazy loading; The factory pattern; Simple factory pattern; Static factory; Simple factory with class registration using reflection; Simple factory with class registration using Product.newInstance
Factory method patternAnonymous concrete factory; Abstract factory; Simple factory versus factory method versus abstract factory; Builder pattern; Car builder example; Simplified builder pattern; Anonymous builders with method chaining; Prototype pattern; Shallow clone versus deep clone; Object pool pattern; Summary; Chapter 3: Behavioral Patterns; The chain-of-responsibility pattern; Intent; Implementation; Applicability and examples; The command pattern; Intent; Implementation; Applicability and examples; The interpreter pattern; Intent; Implementation; Applicability and examples
The iterator patternIntent; Implementation; Applicability and examples; The observer pattern; Intent; Implementation; The mediator pattern; Intent; Implementation; Applicability and examples; The memento pattern; Intent; Implementation; Applicability; The state pattern; The strategy pattern; Intent; Implementation; The template method pattern; Intent; Implementation; The null object pattern; Implementation; The visitor pattern; Intent; Implementation; Summary; Chapter 4: Structural Patterns; Adapter pattern; Intent; Implementation; Examples; Proxy pattern; Intent; Implementation; Examples
Decorator patternIntent; Implementation; Examples; Bridge pattern; Intent; Implementation; Examples; Composite pattern; Intent; Implementation; Examples; Façade pattern; Intent; Implementation; Examples; Flyweight pattern; Intent; Implementation; Examples; Summary; Chapter 5: Functional Patterns; Introducing functional programming; Lambda expressions; Pure functions; Referential transparency; First-class functions; Higher-order functions; Composition; Currying; Closure; Immutability; Functors; Applicatives; Monads; Introducing functional programming in Java; Lambda expressions; Streams
Summary Having a knowledge of design patterns enables you, as a developer, to improve your code base, promote code reuse, and make the architecture more robust. As languages evolve, new features take time to fully understand before they are adopted en masse. The mission of this book is to ease the adoption of the latest trends and provide good ..
Notes Stream creator operations
Print version record
Subject Java
Computer programming -- software development.
Programming & scripting languages: general.
Systems analysis & design.
Computers -- Programming Languages -- Java.
Computers -- Software Development & Engineering -- General.
Computers -- Software Development & Engineering -- Systems Analysis & Design.
Form Electronic book
Author Ianculescu, Adrian
TORJE, LUCIAN-PAUL
ISBN 9781786469014
1786469014
9781786463593
1786463598