목록2024/08/08 (3)
wintertreey 님의 블로그
Node.js2009년 라이언 달이 개발한 서버 개발환경이다. 구글의 강력한 V8 자바 스크립트 엔진을 사용하므로, 자바스크립트를 사용하여 서버 어플리케이션을 효과적으로 개발 할 수 있다. 이벤트 기반 비동기 방식의 의미동기식 방식의 경우에, 서버는 클라이언트의 요청이 있을 때까지 가만히 기다리고 있다. 이 처럼기다리고 있는 시간 동안에는 아무것도 하지 않는다. 그러나 이벤트 기반 비동기식 방식은 멀티스레드 프로그래밍을 하지 않아도 다른 일을 처리하고 있다가 요청이 올 때 응답을 할 수 있도록 해 준다. Node의 장점과 단점이벤트 기반 비동기방식은 네트워크 프로그램을 개발하기에 적합하다. 그러나 문제가 발생하는 순간 프로그램전체가 영향을 받을 수 있다. 장점 1. 자바스크립트를 사용해 웹 개발자가 ..
sprweb21_rest + vuerest.html 작업당시에 리액트 작업해서 이만큼 복붙해두었다. restful 형식@GetMapping읽기(전체/1개)@PostMapping추가 insert()@PutMapping수정 update()@DeleteMapping삭제 delete() 이동 url은 같다. @mapping 형식만 달라진다. 이게 restful의 특징. 회원정보 번호이름주소수정/삭제 {{member.num}}{{member.name}}{{member.addr}} 수정 삭제 회원 추가 또는 수정 회원 {{memberForm.num?'수정':'추가'}} 반응형 데이터란?Vue.js에서 데이터 변경을 자동으로 추적하고 UI를 업데이트하는 방식을..
https://wisdom-cs.tistory.com/66 [Spring Data JPA] 기본 사용법 정리전에 공부했던 Spring Data JPA의 기본 사용법을 정리하고자 한다. ✔️ Dependency build.gradle 파일의 dependencies 부분에 다음을 추가하자. implementation ‘org.springframework.boot:spring-boot-starter-data-jpa’ ✔️ 공wisdom-cs.tistory.comhttps://jjangadadcodingdiary.tistory.com/entry/Spring-Spring-Data%EC%9D%98-findBy-%EB%A9%94%EC%84%9C%EB%93%9C-%EB%84%A4%EC%9D%B4%EB%B0%8D-%EA..