Front-End/JQuery

[제이쿼리] 제이쿼리 개요, 다운로드, 연결 방법

챌링킴 2021. 6. 27. 17:48
반응형

1) 제이쿼리(JQuery)란?

- 오픈 소스 기반의 자바스크립트 라이브러리를 뜻한다.

- 문서객체모델(DOM)과 이벤트(Event)에 관한 처리를 쉽게 구현할 수 있다.

- Ajax 응용 프로그램도 빠르게 개발이 가능하다.

- 요소들을 선택하는 강력한 방법을 제공하고 선택된 요소들을 효율적으로 제어할 수 있다.

 

2) 라이브러리 vs 프레임워크의 차이점

집을 짓는데에 예를 들자면,

라이브러리는 집을 짓는데에 필요한 도구, 프레임워크는 집(틀)이라고 보면 된다.

 

3) 제이쿼리 다운로드

 

1. 공식사이트

https://jquery.com/

 

jQuery

What is jQuery? jQuery is a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.

jquery.com

 

2. 다운로드 버전

 

다운받아서 그대로 개발에 사용되는 파일

Download the compressed, production jQuery 3.6.0 의 링크 주소 복사를 해서 스크립트 주소에 붙여넣기

<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>

 

오픈소스 기반으로 수정하여 사용가능한 파일

Download the uncompressed, development jQuery 3.6.0

 

 

4) 제이쿼리 다운로드 없이 링크를 사용하여 연결하는 방법

 

https://code.jquery.com/

 

jQuery CDN

The integrity and crossorigin attributes are used for Subresource Integrity (SRI) checking. This allows browsers to ensure that resources hosted on third-party servers have not been tampered with. Use of SRI is recommended as a best-practice, whenever libr

code.jquery.com

 

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>

 

 

 

반응형

'Front-End > JQuery' 카테고리의 다른 글

[제이쿼리] JQuery 기본 문법과 특징  (0) 2021.12.11