Generate Random Alphanumeric Strings in PHP
Let me begin this post by saying that almost no event is truly random. Even the outcome of a classic coin toss could in theory be predicted if we knew the effect of every factor involved, like air...
appkr/repository-demo
Step-by-step Repository Pattern Demo. Contribute to appkr/repository-demo development by creating an account on GitHub.
How to Use Repository Pattern in Laravel Application Step by Step
How to Use Repository Pattern in Laravel Application Step by Step for begginers
Repository Design Pattern in Laravel
In this article, I'll discuss Repository design pattern in Laravel with question-answer way. Like what is repository pattern, what are benefits, how to implement in Laravel and more
Laravel API — Repository Pattern (Make Your Code More Structured)- The Simple Guide
Hi friends, right here, we’re gonna talk about Laravel again. Let’s go!
Laravel Repository Pattern – PHP Design Pattern | ASPER BROTHERS
Do you use the Laravel framework in your projects? See how to implement Pattern Repository. This will make your work easier and make the application architecture more readable.
[Spring] 스프링 Interceptor의 동작 과정
Handler Interceptor 전반적인 클라이언트 요청흐름 그림에서 확인해보면, Spring Container 내에서 Handler Mapping(수행할 handler 결정) 이후 HandlerAdaptor(결정된 핸들러 수행) 전/후 과정에서 수행됨을 확..
[Spring]서블릿 Filter를 사용해보자
스프링 mvc의 전반적인 요청과정은 이전에 정리했어요 [Spring] 쓰레드 관점에서 본 Spring MVC HTTP 요청과정 Servlet Filter 요청을 받은 WAS 가 Servlet Container 에게 Request, Response 를 던져주면, 이를..
[Spring] 쓰레드 관점에서 본 Spring MVC HTTP 요청과정
우선 스프링 MVC의 요청과정을 큰 그림으로 보기로 해요. 큰 흐름으로, 클라이언트가 HTTP 요청을 보내면, WAS는 TCP/IP 연결 대기 과정( welcome 소켓 )에서 클라이언트를 위한 소캣( 연결 소켓 )을 생성해서 연..
[SpringBoot] Local-Memory 캐시를 사용해보자
@Service public class PathService { private static final Logger logger = LoggerFactory.getLogger(PathService.class); private final LineService lineService; private final StationService stationServic..
[Spring] 애플리케이션 컨텍스트
애플리케이션 컨텍스트 오브젝트 팩토리(직접 설정 정보를 넣어주는 것, DaoFactory)에 대응하는 것이 스프링의 애플리케이션 컨텍스트 예요. 스프링에서는 이 애플리케이션 컨텍스트를 IoC컨테이너 라 하기도 하..
[SpringBoot] @SpringBootApplication @SpringBootConfiguration, @EnableAutoConfiguration
스프링 부트를 의존성에 추가하면 (implementation 'org.springframework.boot:spring-boot-starter-web') 아래와 같이 @SpringBootApplication 애노테이션이 붙어있는 메인 클래스를 확인할 수 있어요. @SpringBo..
[SpringBoot] HttpSession 대신 HandlerMethodArgumentResolver 사용하기
HandlerMethodArgumentResolver란? HandlerMethodArgumentResolver 는 사용자 요청이 Controller에 도달하기 전에 그 요청에 포함된 파라미터들을 수정할 수 있게 해주는 역할을 해요. Controller에서 @RequestBod..
[SpringBoot] 커스텀 애노테이션으로 Password규칙 적용하기
스프링 프레임워크가 기본적으로 제공하는 Validator이외의 Validator를 구현해야할 순간이 있습니다. 스프링은 컨트롤러에서 클라이언트에서 넘겨받은 값에 대한 검증을 JSR-303 기반으로 쉽고 강력하게 할 수 있..