Javadesignpatterns
Design Patterns implemented in Java
Install / Use
/learn @gentaliti/JavadesignpatternsREADME
<a href="https://travis-ci.org/gentaliti/javadesignpatterns"><img src="https://travis-ci.org/gentaliti/javadesignpatterns.svg?branch=master"/></a> <a href="https://sonarcloud.io/dashboard/index/com.gentaliti%3Ajava-design-patterns"><img src="https://sonarcloud.io//api/badges/gate?key=com.gentaliti%3Ajava-design-patterns"/></a>
Design patterns implemented in Java
Introduction
In software engineering, design patterns are standard solutions to common software design problems.
Each pattern describes a problem that occurs over and over again and then provides a solution which you can use in many different scenarios.
Types of design patterns
As described in design pattern reference book <b>Design Patterns - Elements of Reusable Object-Oriented Software</b>, design patterns can be classified in three categories: <b>Creational, Structural and Behavioral patterns.</b>
Creational Patterns
Creational design patterns abstract the instantiation process.
They deal with object creation mechanisms, while hiding the creation logic. This provides us flexibility for creating objects based on different use cases.
Creational patterns implemented here are:
- Factory Method
- Abstract Factory (in progress)
- Builder
- Prototype (in progress)
- Singleton
Structural Patterns
Structural patterns are concerned with how classes and objects are composed to form larger structures. Rather than composing interfaces or implemetations, these patterns describe ways to compose objects to realize new functionality.
The ability to change the composition at runtime, adds flexibility to object composition.
Structural patterns implemented here are:
Behavioral Patterns
Behavioral patterns are concerned with algorithms and the assignment of responsibilities between objects.
In simple words, they describe how different objects and classes send messages to each other to make things happen and how the steps of a task are divided among different objects.
Behavioral patterns implemented here are:
Credits
<b>Design Patterns: Elements of Reusable Object-Oriented Software</b> - Erich Gamma, John Vlissides, Ralph Johnson, and Richard Helm
<b>Head first Design Patterns</b> - Eric Freeman, Elisabeth Freeman, Kathy Sierra and Bert Bates
<b>Wikipedia</b> (https://en.wikipedia.org/wiki/Software_design_pattern)
Related Skills
clearshot
Structured screenshot analysis for UI implementation and critique. Analyzes every UI screenshot with a 5×5 spatial grid, full element inventory, and design system extraction — facts and taste together, every time. Escalates to full implementation blueprint when building. Trigger on any digital interface image file (png, jpg, gif, webp — websites, apps, dashboards, mockups, wireframes) or commands like 'analyse this screenshot,' 'rebuild this,' 'match this design,' 'clone this.' Skip for non-UI images (photos, memes, charts) unless the user explicitly wants to build a UI from them. Does NOT trigger on HTML source code, CSS, SVGs, or any code pasted as text.
openpencil
2.2kThe world's first open-source AI-native vector design tool and the first to feature concurrent Agent Teams. Design-as-Code. Turn prompts into UI directly on the live canvas. A modern alternative to Pencil.
HappyColorBlend
HappyColorBlendVibe Project Guidelines Project Overview HappyColorBlendVibe is a Figma plugin for color palette generation with advanced tint/shade blending capabilities. It allows designers to
ui-ux-pro-max-skill
62.4kAn AI SKILL that provide design intelligence for building professional UI/UX multiple platforms
