QueryService API 문서 개정 요청 3
Paging 관련 문서에서 개발자의 혼란을 야기할 부분이 있어 개정 요청합니다.
Paging 시 입력하는 argument의 이름이 그러한데
일단 매뉴얼이 의미가 정확하므로 인용을 하자면
--------------------------------------------
매뉴얼: http://dev.anyframejava.org/anyframe/doc/core/3.1.0/corefw/guide/query-u...
다음은 paging support를 사용하는 일반적인 유형이다.
public Collection find...(..., int page number to display, int row count per page);
page number이 1보다 작으면 첫번째 page가 display된다.
row count per page는 0보다 커야 한다.
page number와 row count를 사용하여 계산한 값이 전체 record의 개수보다 크면 마지막 페이지가 출력된다.
--------------------------------------------
위와 같이 세번째 argument는 그 의미가 page number to display
네번째 argument는 그 의미가 row count per page
로 설명되어 있어 의미 전달이 비교적 정확합니다.
다만 API의 경우는 다음과 같습니다.
--------------------------------------------
API http://dev.anyframejava.org/anyframe/doc/core/3.1.0/corefw/apidocs/index...
findWithRowCount(String queryId, Object[] values, int pageIndex, int pageSize)
--------------------------------------------
위와 같이 세번째 argument에 pageIndex
네번째 argument에 pageSize
로 되어있습니다만 이것이 이렇게 왜곡되어 해석될 수 있습니다.
"index는 0부터 시작한다"
"pageSize는 총 페이지 수를 의미한다."
사용자 입장에서야 1페이지, 2페이지, 3페이지로 카운트 하겠지만
개발자 입장에서라면 인텍스 0번, 1번, 2번 과 같이 카운트 합니다.
따라서 의미 오역, 왜곡이 발생할 수 있는
API 문서의 pageIndex, pageSize를
매뉴얼의 의미가 잘 전달되는 단어로 변경 요청합니다.
pageNumber, rowCount
정도면 어떨까 싶습니다만 영어권 사용자가 이해하는 정확한 단어로 선정되면 되겠습니다.
(인도 개발자에게 작명 부탁하면 될 듯하군요)


QueryService API 문서 개정 요청 3
감사합니다. ^^ 향후 릴리즈시 반영토록 하겠습니다.
Oh my goodness! an incredible
Oh my goodness! an incredible article dude. Thank you Nonetheless I'm experiencing challenge with ur rss . Dont know why Unable to subscribe to it. Is there anybody getting equivalent rss drawback? Anybody who knows kindly respond. Thnkx
Bed bath and beyond coupons 40% off Database How to grow weed indoors hock Hemorroides Clop
This site is known as a
This site is known as a walk-by for the entire information you needed about this and didnÂt know who to ask. Glimpse right here, and also youÂll undoubtedly discover it.
Big Tits photofinishing IM Live hyperopia Livejasmin blacknwhite epiglottidean