공부계획

20200618목 공부계획

gpffh1011 2020. 6. 18. 13:47
+++++집가서 할일+++++
<<최종목표 >> 쌤소스코드에서 수정,삭제구현
0.두유챙기기
1. HashMap
2. StringBuilder & append ..append가 다 모았다가 toString 으로 한번에 출력/ 첨과 마지막만 메모리사용
기존의 코드(아래)는 메모리 낭비가 심함(단계별로 데이터가 다 생성되기때문에)
String sql = ""
sql += alfjs
sql += alfjs
sql += alfjs

String str = "*";
Strign str2 = "*";  //재활용모드

String str = new String("*");
Strign str2 = new String("*");
위 2개는 같지않다. 각자 새로운객체

3. toString()
alt+shift+t > change
4. class나누어하는 작업의 이점무엇?
5. 이클립스에 인덱스기능 같은거 있나??
6. currentBoard 공부 list에서 해보기


<<기능리스트>>쌤코드에 다시해야함
게시판 변경 - article changeBoard free
	   - 공지사항(notice) / 자유게시판(free) 존재.
게시물 추가 - article write (완료)
                - 기본적으로 공지사항 게시물로 추가.
게시물 리스팅 - article list (완료)
게시물 상세보기 - article detail 1(완료)
게시물 수정 - article modify 1(완료)
게시물 삭제 - article delete 1(완료)
정적 사이트 빌드
	build site
	build startAutoSite
	build stopAutoSite
	생성되는 파일
		site/article/list-free.html
		site/article/list-notice.html
		site/article/1.html
		site/article/2.html
		...
<<참고>>
article, board 테이블이 있어야 합니다.   (완료)
article 테이블 구조 - id, regDate, title, body, boardId (SQL테이블 만듬)
board 테이블 구조 - id, regDate, name, code  (SQL테이블만 만듬)