Skip to content

Commit 637344b

Browse files
author
Noer Paanakker
committed
added content about libraries
1 parent 75e18eb commit 637344b

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

Week1/README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ For further study of how to make API calls, check out the following resources:
5252

5353
## 2. Asynchronous JavaScript and XML (AJAX)
5454

55-
AJAX is the idea that data can be loaded into a webpage without refreshing the entire website.
55+
AJAX is the idea that data can be loaded into a webpage without refreshing the entire website. The term is a
5656

5757
### XMLHttpRequests (XHR)
5858

@@ -69,7 +69,7 @@ In order to keep a better overview, we can choose to **modularize** our applicat
6969

7070
However, creating better overview is not the only reason. Among other reasons, modules make a developer's job easy by:
7171

72-
- Allowing the them to focus on only one area of the functionality of the software application
72+
- Allowing them to focus on only one area of the functionality of the software application
7373
- Isolating individual blocks of code, in case anything breaks
7474
- Encouraging the developer to write code in a way that makes it reusable
7575

@@ -79,6 +79,16 @@ For more information about this, go through the following:
7979

8080
### What's a library?
8181

82+
If you've ever written code you know how easy it is to duplicate it: you just copy and paste it.
83+
84+
Modules are small blocks of code that introduce a . If you were to add more code and the code base could really solve a particular problem?
85+
86+
A `library` is a set of code that a developer (or several developers) has written in order to solve a specific problem within an application. This could be, for example, how to easier select items from the DOM, how to handle [data validation](https://www.techopedia.com/definition/10283/data-validation) or how to more easily create a [Single Page Application](https://en.wikipedia.org/wiki/Single-page_application).
87+
88+
At it's most fundamental level it means that others have written functions and other logical processes to make development quicker and easier. If they have published their code, through [npmjs.com](https://www.npmjs.com/) for example, you can legally make use of it in your own code. Almost all applications out there, no matter what language they're written in, contain at least a couple of libraries.
89+
8290
### Using jQuery to make AJAX requests
8391

8492
One of the most well-known and often used libraries in JavaScript is called `jQuery`. It's a library that was designed to make DOM manipulation, as well as event handling, CSS animation and AJAX operations much easier to perform.
93+
94+
- [jQuery Crash Course Playlist](https://www.youtube.com/playlist?list=PLillGF-RfqbYJVXBgZ_nA7FTAAEpp_IAc)

0 commit comments

Comments
 (0)