목록jquery (2)
Frontend 개발자 - hyo.loui
친구가 차린 음식점에 드디어 테이블도 배치하고, 인테리어도 했다 오~ 밖에서 보니 괜찮아 보인다. 하지만 껍데기 뿐이다.... 주문을 받을 프론트 직원과, 주방 직원, 심지어 메뉴판 조차 없다 여기서 설명! 우리는 음식점 마다 메뉴판 = JSON(문법)이 필요하다 중국집에 가서 메뉴에 없는 초밥을 주문할 수 없는 것 처럼! JSON 형식에 맞는 키(음식이름) 을 주문해야 밸류(실제 음식)이 나온다 자, 여기서 더 나아가 우리가 주문 할 때 마다 '주문 하면 가게 밖으로 나갔다 와야한다면' 어떨까? (새로고침) 그래서 AJAX 가 생겼다!!! (새로고침 안해도 주문한 것들이 바뀜) 여기서 동기,비동기 처리는 추후에 포스팅하여 설명 해야겠다! 서버-클라이언트 통신 이해하기 1. 서버→클라이언트: "JSON"..
본문에서 다룰 내용은 jQuery 입니다. 하지만 저는 제이쿼리를 잘 사용하지 않습니다. 왜냐하면, 영어단어도 모르는 왕초보가 영작을 시키면 바로 한마디가 나올 수 있을까요? 개인적으로는 부정적입니다. 개발도 이러한 관점에서 pure 한 개발 언어인, 'vanilla javascript' 의 선 학습이 된 상태에서 라이브러리와, 프레임워크를 써야 한다고 생각합니다. 프론트엔드 개발자에 목적을 두지 않는 수준이라면 빠르고 편리한 라이브러리인것은 확실합니다. 그 만큼 점유율도 상당하기도 하구요. 학습 내용을 정리하고자 포스팅 합니다 :) 👉 jQuery를 이용해 Javascript로 HTML을 쉽게 제어하고, 긴 구문을 간단하게 작성합니다. Javascript 잠깐 복습 - 홀짝 판별 onclick 함수 만..