You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 27, 2024. It is now read-only.
Yu Yongwoo edited this page Aug 18, 2016
·
6 revisions
Welcome to the vote_widget wiki!
명명 규칙
* 기본적으로 카멜케이스.
* 가능하면 기능+객체(+행동+타겟) - postMovieVoteToUser, updateUserByUserIdSetMovieId
* 구하려는 대상이 복수일 경우는 객체에 s를 붙임. 단수라면 안 붙임.
* Controller 딴에서는 HTTP Method를 기능명으로
* post + MovieVote - POST 방식의 영화 투표 메소드
* Model 딴에서는 쿼리 종류를 기능명으로, 추가적인 정보를 포함할 수 있으면 추가
* update + User + ByUserId - User 테이블을 UserId를 기준으로 업데이트함
* update + User + ByUserId + SetMovieIdx - User 테이블을 UserId를 기준으로 업데이트하고 업데이트 되는 값은 MovieIdx