목록프로젝트 (46)
사이먼's 코딩노트

[게시판 제작 ~ing]작성된 모든 코드는 저의 깃허브 리포지터리에서 확인하실 수 있습니다.리포지터리 주소 URL : https://github.com/psm817/full_stack_proj_2024_03 GitHub - psm817/full_stack_proj_2024_03Contribute to psm817/full_stack_proj_2024_03 development by creating an account on GitHub.github.com [로그인 정보 Session으로 이전]이번에는 기존에 Controller에서 구현된 로그인 정보 상태와 관련된 loginedMember와 isLogined()를 Session이라는 클래스를 따로 만들어 이전해봅시다.loginedMember는 현재 로그인..

[게시판 제작 ~ing]작성된 모든 코드는 저의 깃허브 리포지터리에서 확인하실 수 있습니다.리포지터리 주소 URL : https://github.com/psm817/full_stack_proj_2024_03 GitHub - psm817/full_stack_proj_2024_03Contribute to psm817/full_stack_proj_2024_03 development by creating an account on GitHub.github.com [html 추출 기능 구현]이번에는"export html" 이라는 명령어와 함께 실행과 동시에 html 파일을 추출하는 기능을 구현해봅시다.기존의 명령어의 종류는 article과 member 였는데, export가 추가됨으로써 export에 대한 각 컨트..

[게시판 제작 ~ing]작성된 모든 코드는 저의 깃허브 리포지터리에서 확인하실 수 있습니다.리포지터리 주소 URL : https://github.com/psm817/full_stack_proj_2024_03 GitHub - psm817/full_stack_proj_2024_03Contribute to psm817/full_stack_proj_2024_03 development by creating an account on GitHub.github.com [MVC 패턴]MVC 패턴이란 Model-View-Controller 의 약어로 주로 GUI 기반의 애플리케이션 개발에 사용된 디자인 패턴이다.개발 초창기에 한 파일에 모든 코드를 넣었기 때문에 기능을 수정하거나 특정 코드를 찾을 때 불편함이 컸다.위와 ..

[게시판 제작 ~ing]작성된 모든 코드는 저의 깃허브 리포지터리에서 확인하실 수 있습니다.리포지터리 주소 URL : https://github.com/psm817/full_stack_proj_2024_03 GitHub - psm817/full_stack_proj_2024_03Contribute to psm817/full_stack_proj_2024_03 development by creating an account on GitHub.github.com [게시물 수정/삭제 시 접근 제한]게시판 제작의 다음 단계는 게시물 수정/삭제 시 접근 제한이다.지난번엔 게시물 작성 시에만 로그인이 되어있지 않다면 article write를 수행하지 못하도록 제한하였다.이번에는 게시물 수정 및 삭제 시에 로그인이 되어..

[게시판 제작 ~ing]작성된 모든 코드는 저의 깃허브 리포지터리에서 확인하실 수 있습니다.리포지터리 주소 URL :https://github.com/psm817/full_stack_proj_2024_03 GitHub - psm817/full_stack_proj_2024_03Contribute to psm817/full_stack_proj_2024_03 development by creating an account on GitHub.github.com [로그아웃 기능 추가 ]게시판 제작의 다음 단계는 로그아웃 기능입니다.로그아웃 기능은 member logout이라는 명령어와 함께 로그아웃이 가능하도록 한다.먼저 MemberController.java 에서 명령어 케이스와 기능을 구현한다.public vo..

[게시판 제작 ~ing]작성된 모든 코드는 저의 깃허브 리포지터리에서 확인하실 수 있습니다.리포지터리 주소 URL : https://github.com/psm817/full_stack_proj_2024_03 GitHub - psm817/full_stack_proj_2024_03Contribute to psm817/full_stack_proj_2024_03 development by creating an account on GitHub.github.com [게시물 리스트에 작성자 이름 표시]현재 구현된 "article list" 명령어는 게시물을 조회하면서 고유 번호, 조회수, 제목이 출력된다.이번에는 게시물 리스트에 작성자 이름을 추가해봅시다.먼저 Article을 생성하는 정보에 회원의 Id가 필요하다...

[게시판 제작 ~ing]작성된 모든 코드는 저의 깃허브 리포지터리에서 확인하실 수 있습니다.리포지터리 주소 URL : https://github.com/psm817/full_stack_proj_2024_03 GitHub - psm817/full_stack_proj_2024_03Contribute to psm817/full_stack_proj_2024_03 development by creating an account on GitHub.github.com [문제점 개선]현재까지 구현된 게시판 프로그램에서 문제점이 있다면 다음과 같은 문제가 있다.먼저 article detail, article delete, article modify 이 3가지 명령어를 입력하고 뒤에 고유 게시물 번호를 입력하지 않았을 때 ..

[게시판 제작 ~ing]작성된 모든 코드는 저의 깃허브 리포지터리에서 확인하실 수 있습니다.리포지터리 주소 URL : https://github.com/psm817/full_stack_proj_2024_03 GitHub - psm817/full_stack_proj_2024_03Contribute to psm817/full_stack_proj_2024_03 development by creating an account on GitHub.github.com [게시물 관련 기능 Controller로 이전]앞선 23일차에서 Article과 Memeber를 생성하는 부분을 클래스로 따로 두어 분리해줬고, 회원 관련 기능을 Controller를 도입하여 MemberController.java 클래스로 이전하였다.이..

[게시판 제작 ~ing]작성된 모든 코드는 저의 깃허브 리포지터리에서 확인하실 수 있습니다.리포지터리 주소 URL : https://github.com/psm817/full_stack_proj_2024_03 GitHub - psm817/full_stack_proj_2024_03Contribute to psm817/full_stack_proj_2024_03 development by creating an account on GitHub.github.com [클래스와 패키지 분리]프로그램이 길고 복잡할 수록 모든 메서드와 변수 선언들을 Main 클래스에서 할 수는 없다.모든 기능들을 Main 클래스에서 구현하게 되면 유지보수도 힘들뿐더러 가독성도 좋지 않다.그래서 현재까지 구현된 게시물 관련 코드와 회원 관..

[게시판 제작 ~ing]작성된 모든 코드는 저의 깃허브 리포지터리에서 확인하실 수 있습니다.리포지터리 주소 URL : https://github.com/psm817/full_stack_proj_2024_03 GitHub - psm817/full_stack_proj_2024_03Contribute to psm817/full_stack_proj_2024_03 development by creating an account on GitHub.github.com [회원가입 기능 추가]다음은 "member join" 이라는 명령어를 통해 회원가입 기능을 추가해봅시다.회원가입 기능은 아이디 중복확인, 비밀번호 확인 기능이 포함되도록 구현해봅시다.class Mem { int id; String regDate..