Behavioral_Command Pattern
✅ Command Pattern encapsulate the request decouple invoker(호출자) and reciever(수신자) 👍🏻 when request logic changes, invoker code will not change ✅ Diagram 👀 Command pattern example ✔️ In...
✅ Command Pattern encapsulate the request decouple invoker(호출자) and reciever(수신자) 👍🏻 when request logic changes, invoker code will not change ✅ Diagram 👀 Command pattern example ✔️ In...
✅ Production code @Repository public interface ProductRepository extends JpaRepository<Product, Long> { /** * select * * from product * where selling_status IN ('SELLING',...
✅ Diagram ✅ Product Entity @Entity @Getter @NoArgsConstructor(access = AccessLevel.PROTECTED) public class Product extends BaseEntity { @Id @GeneratedValue(strategy = GenerationType.IDENT...
✅ use the handler chain to handle request client will only make request to the Interface Handler inside the chain of concrete handlers, it will handle the request 👍🏻 client will n...
✅ Bridge decouple abstract and implementation bridge can connect abstract and concrete ✅ Structure bridge Abstraction -----> Implementor | | Refine...
👍🏻 Reusability of existing code can reuse existing code without having to modify it, thanks to a new adapter 👉🏻 OC principle One class does one thing, adapter class does the adapter work ...
✅ C:/ProgramFiles, c:/ProgramFiles x86 for storing applications if lower than 4GB, x86 ⚠️ you cannot delete the files manually ❌ you need to use CCleaner tool : piriform.com/ccleaner ...
✅ In windows official webpage choose the version 11, 10, 8.1, 7… rename the iso with details 👀 Wwindows1164b22H2 ✅ Choose descargar do not click on update actualizar ahora you will ...
Loose coupling OC principle default in interface 🛠️ When to use factory When you want to create several types of smth with different values give the creation role to a factory 👀 Yo...
✅ Layered Architecutre in Spring ❓ why use layered architecture? separation of concerns to organize code by responsitbility Presentation Layer Controller: handles HTTP request &am...