일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- 동기
- mybatis
- 스프링부트
- ajax
- logstash
- kibana
- oracle
- DB
- 코딩테스트
- elk
- Spring
- 비동기
- 자바스크립트
- crud
- 자바
- Java
- 파이썬
- querydsl
- javascript
- spring boot
- 알고리즘
- Callback
- springboot
- filebeat
- 백준
- mysql
- 백엔드
- JPA
- jQuery
- 스프링
- Today
- Total
목록백엔드 (2)
샘오리_개발노트
https://softwareengineering.stackexchange.com/questions/436540/is-the-frontend-or-backend-api-responsible-for-formatting-data-in-a-specific-l Is the frontend or backend (API) responsible for formatting data in a specific locale? In our company we had a discussion whether formatting data in a certain locale is the responsibility of the frontend application or of the API that provides data to it. ..
오늘은 저번 글에 이어서 백 쪽의 로직은 어떻게 동작하는지 작성해보려고 한다. 먼저 view 단에서 배열을 통해 보내준 값을 컨트롤러 단에서 어떻게 받는지는 아래와 같다. CONTROLLER //코드 활성화/비활성화 @GetMapping(value = "/disableCode") public String disableCode(@RequestParam("articlesArray") String[] articlesArray) { for(String arr:articlesArray) { Integer codeNo = Integer.valueOf(arr); codeService.disableCode(codeNo); } return "redirect:/selectCode"; } 원리는 향상된 for문으로 arti..