분류 전체보기
-
23/11/22 벌써 느끼는 기술부채카테고리 없음 2023. 11. 22. 19:03
WHAT I DID TODAY 스프링 프로젝트 시큐리티 완성 자바의정석 복습 시작 DETAILS [MVC] Model은 어디로 갔을까? 스프링 기초강의를 보면 항상 나오는 것이 Model 이다. 하지만 여기서 본 이후로 지금까지 단 한번도 본 적도 없으며, 사용해 본적도 없는데 스프링에서 가장 중요하다고 할 수 있는 MVC 패턴 그 중 like-it-too.tistory.com ANYTHING 시큐리티 검증 해야하는데 내일의 내가 할 것.. 시큐리티 너무 미뤘다. NEXT SCHEDULES 정석 하루 2장씩 이번주 내로 끝 merge 이후 오류 수정 추가구현 적용
-
[MVC] Model은 어디로 갔을까?프로그래밍/Spring 2023. 11. 22. 19:01
스프링 기초강의를 보면 항상 나오는 것이 Model 이다. 하지만 여기서 본 이후로 지금까지 단 한번도 본 적도 없으며, 사용해 본적도 없는데 스프링에서 가장 중요하다고 할 수 있는 MVC 패턴 그 중 하나임에도 왜 쓰이지 않는 것일까? MVC란? MVC C 요청받음 -> Model 에서 비즈니스로직을 사용하여 데이터 저장 -> V 로 전달 현재 많이 쓰이는 3계층 아키텍처는 C 요청받음 -> service에서 비즈니스로직을 굴리고 repository를 통해 DB 활용 -> http 응답으로 전달 으로 변하였다. View는 프론트엔드로 넘어가고 프론트엔드에게 데이터전달을 위해 Http를 사용하여 데이터를 보내주는 것이다. Model이 안보이는 이유 최근에는 MVC 패턴이 더 구체화되고 발전하였기 때문에 ..
-
정규식 검증 테스트코드 실패스파르타코딩클럽/스프링 개인 프로젝트 - 기본 CRUD 2 2023. 11. 21. 19:58
진행과정 중 에러사항 기술 1. username, password 정규식 검증 회원가입 정규식이 잘 적용되는지 확인하기 위해 테스트코드를 작성해보았으나, // "ID는 최소 4자 이상, 10자 이하이며 알파벳 소문자(a~z), 숫자(0~9)로 구성되어야 한다." // "비밀번호는 최소 8자 이상, 15자 이하이며 알파벳 대소문자(a~z, A~Z), 숫자(0~9)로 구성되어야 한다." @Test void successTest() { SignupRequestDto testrequestDto = new SignupRequestDto(); testrequestDto.setUsername("abcde"); testrequestDto.setPassword("abcAbc123"); // 예외 안생기면 성공 asser..
-
23/11/20 프로젝트 끝오늘/Today I.. 2023. 11. 20. 17:36
WHAT I DID TODAY 프로젝트 완성? DETAILS 프로젝트 TIL 해설강의 듣고 몰아서 작성할 예정 ANYTHING 저번 개인 프로젝트를 소달구지처럼 겨우 굴러가게 만들었다고 후회했는데 이번엔 더 낡은 달구지가 나왔다. 심지어 마지막엔 댓글기능을 나름 개선했는데 결과는 더 나빠져서 미친듯이 Undo Commit과 Revert를 눌렀다. 무지성으로 Push 안한게 정말 다행이다. NEXT SCHEDULES 4주차 쇼핑몰 마무리 해설강의 저번주 특강들 보기
-
23/11/17 피드백, 개인프로젝트카테고리 없음 2023. 11. 17. 21:59
WHAT I DID TODAY CRUD 완성 DETAILS 개인과제 피드백 + 해당 피드백에 대한 느낀 점 및 현재상태와 비교 최종 피드백 피드백 내용 피드백 내용을 고쳐야할 점과 단순히 아쉬운 부분에 따라 순서를 변경해보았다. 개인 과제 직접 구현하는게 쉽지 않을 수도 있는데 완성하느라 고생하셨습니다. 반드시 고쳐야 할 like-it-too.tistory.com ANYTHING 강의에 의존하면 강의 도움없이 어떤 기술을 접할때 잘 이해하지 못한다. 지금이라도 스프링 공식문서를 보는 습관을 들이자 기술에 대해 정리하고 싶다면 스프링 공식문서를 들어가서 내용을 보자. 정말 잘되어있다. 라는 튜터님의 말씀을 들었다. 오늘도 강의를 살까말까 고민하던 차에 정말 뼈를 때리는 말을 들었다. NEXT SCHEDUL..
-
최종 피드백스파르타코딩클럽/스프링 개인 프로젝트 - 기본 CRUD 2023. 11. 17. 18:11
피드백 내용 피드백 내용을 고쳐야할 점과 단순히 아쉬운 부분에 따라 순서를 변경해보았다. 개인 과제 직접 구현하는게 쉽지 않을 수도 있는데 완성하느라 고생하셨습니다. 반드시 고쳐야 할 점 1. rest api 설계에는 어느정도 업계에서 사용하는 규칙이 있습니다. 이를 엄격히 사용하기 보단 케이스에 따라 유동적으로 사용하긴 하는데 기본적인 원칙을 지키는게 좋습니다. -> API 명세를 신경써서 준비하지 못한게 아쉽다. 다음 프로젝트에서는 노력을 기울여 작성하겠다고 반성한다. 2. git 사용도 적절하지만 커밋 제목을 어떤기능을 구현했는지를 적는게 좋을 것 같네요 -> 매 프로젝트에서 지적받는 커밋메세지. 이번엔 내용을 제대로 적었다고 생각했는데 커밋메세지 양식을 찾아 보니 어림도 없다는 걸 깨달았다. 그나..
-
23/11/16 막히는 프로젝트오늘/Today I.. 2023. 11. 16. 21:13
WHAT I DID TODAY 스프링 개인 프로젝트 CRUD 구현 Redis 찍먹 DETAILS 스프링프로젝트2 1일차 프로젝트 개요 이전 스프링 프로젝트1 (게시판 CRUD) 을 바탕으로 기능을 추가구현하여 Todo 애플리케이션 제작 구현사항 특징 1. 회원가입 2. 로그인 3. 기존의 CRUD에 회원정보 추가 4. 댓글기능 추 like-it-too.tistory.com ANYTHING 치타 어쩌구.. 긴장 어쩌구.. NEXT SCHEDULES CRUD 완성 18시까지 JWT 적용