Aula da série Design Patterns 4Devs sobre os padrões singleton e monostate

Overview

Rocketseat+

DesignPatterns4Devs - Singleton & Monostate

Nessa aula o intuíto é abordar um padrão bem polêmico na comunidade dev: Singleton. Apesar de ser um considerado "anti-pattern" o singleton tem sim sua usabilidade e o objetivo dessa aula além de apresentar todo o conceito e prática é também mostrar uma alterativa do singleton que é o monostate criado pelo Uncle Bob!

Monostate tem sua vantagem de permitir agora que possamos trabalhar com interfaces e levar comportamentos a elas com métodos estáticos.

Será uma aula bem completa, repleta de exemplos reais do dia a dia!

https://lucid.app/lucidchart/440a59dd-bce8-400a-8ac9-4a73453da79e/edit?viewport_loc=-8%2C173%2C2216%2C1119%2CHWEp-vi-RSFO&invitationId=inv_ab572b43-0d19-4f0f-a643-8952512fdeb8#

https://lucid.app/lucidchart/90308ee7-4ddd-475b-8cec-0d93d237b07e/edit?invitationId=inv_5d433639-365a-4ec6-8166-cc9944003341#

Expert

Ana Neri
You might also like...

G&C (Good & Cheap) is a web application with the objective of ensuring sustainable consumption and production patterns in our cities.

G&C (Good & Cheap) is a web application with the objective of ensuring sustainable consumption and production patterns in our cities.

MUBISOFT ECO Table of Contents G&C, Keep It Fresh! Sustainable Development Goals Application Requirements G&C, Keep It Fresh! G&C (Good & Cheap) is a

May 2, 2022

Fault tolerance and resilience patterns for the JVM

Failsafe Failsafe is a lightweight, zero-dependency library for handling failures in Java 8+, with a concise API for handling everyday use cases and t

Dec 6, 2022

Create different patterns and designs using your favorite programming language for this project.

Create different patterns and designs using your favorite programming language for this project.

Patterns project for Hacktoberfest Create different patterns and designs using your favourite programming language weather it be a square pattern, sta

Oct 5, 2022

The repository is created to showcase examples of microservices patterns using different technologies.

Repository Objective The goal of this repository is to demonstrate coding examples in different languages mainly Java and .NET core. These examples wi

Nov 17, 2022

Spring Domain Driven Design Boilerplate

Spring Domain Driven Design Boilerplate

Spring Domain Driven Design Boilerplate This project describes some product operations such as create and get, also covered by Domain Driven Design on

Oct 24, 2022

Team project within the course of Software System Design and Analysis.

InnoBookCrossing - Application for sharing books at Innopolis Description The application is designed to help people share books with each other. All

Oct 22, 2022

Modular and customizable Material Design UI components for Android

Material Components for Android Material Components for Android (MDC-Android) help developers execute Material Design. Developed by a core team of eng

Dec 3, 2022

A quiz app with great layout design, dynamic questions using firebase and what not....

A quiz app with great layout design, dynamic questions using firebase and what not....

AndroidQuizApp An android quiz app created using Android Studio with our language JAVA that has great layout design, dynamic questions using firebase

Oct 11, 2022
Owner
Rocketseat Creators Program
Organização que armazena o código produzido nos projetos do Experts Club 🚀 Organização principal: @Rocketseat
Rocketseat Creators Program
Creational design patterns written in Java

Java Design Patterns Creational design patterns implementation: Singleton, Factory Method, Builder written in Java. Getting Started No additional step

Tamerlan Satualdypov 11 Mar 7, 2022
شرح الـ Design Patterns باللغة العربية

بسم الله الرحمن الرحيم السلام عليكم ورحمة الله وبركاته تعلم نماذج التصميم باللغة العربية إن شاءالله نبدأ سلسلة بسيطة لشرح الـ Design Pattern باللغة ال

أحمد الطبراني 17 Feb 3, 2022
Java Design Patterns code examples

Java Design Patterns code examples Behavioral In software engineering, behavioral design patterns are design patterns that identify common communicati

Gaboso™ 3 Jun 29, 2022
A collection of design patterns implemented in Java

Design Patterns A collection of design patterns implemented in Java and referenced from this book: Design Patterns: Elements of Reusable Object-Orient

Karim Elghamry 6 Sep 5, 2022
Design Patterns: Elements of Reusable Object-Oriented Software

GoF Design Patterns Design Patterns: Elements of Reusable Object-Oriented Software Task 싱글톤패턴 싱글톤 패턴 구현 방법을 깨뜨리는 방법 리플렉션을 통해 싱글톤 패턴을 깨뜨리다 역직렬화를 통해 싱글톤

전지환 11 Jul 19, 2022
A sideproject to learn more about object-oriented programming, design patterns and Java meanwhile studying an OOP-course.

MyBank Description A console application that simulates a bank with very simple functions. Potential story could be an employee using this application

null 2 Mar 23, 2022
Simple examples for various Design patterns

About Simple examples for various Design patterns. Design patterns represent the best practices used by experienced object-oriented software developer

Mohsen Teymouri 1 Jan 26, 2022
This project contains many sample codes for demonstrating the usage of some common design patterns.

STUDY COMMON DESIGN PATTERNS 1. About this project This project contains many sample codes for demonstrating the usage of the following design pattern

Võ Trần Minh Quân 18 Nov 16, 2022
Crud sobre el mundo del cine, y listado de películas que un usuario puede tener en su casa.

FilmHome ?? ??️ Crud sobre el mundo del cine, y listado para gestionar las películas que un usuario puede tener como colección en su casa. ??️ VIDEO Y

Adrian Egea Hermoso 5 May 16, 2022
Curso que apresenta conceitos introdutórios sobre como podemos trabalhar com debugging na linguagem Java.

Debugging Java Curso que apresenta conceitos introdutórios sobre como podemos trabalhar com debugging na linguagem Java. Curso este ministrado por mim

Camila Cavalcante 388 Dec 2, 2022