Skip to content

Commit 8105c4e

Browse files
Merge pull request learning-zone#13 from far1dghaderi/master
complete 3 TODOS
2 parents f625e59 + 5542ad0 commit 8105c4e

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,11 @@ Node JS Platform does not follow Request/Response Multi-Threaded Stateless Model
361361

362362
## Q. ***What is the difference between Node.js, AJAX, and JQuery?***
363363

364-
*ToDo*
364+
Node.js is a javascript runtime that makes it possible for us to write back-end of applications.
365+
366+
Asynchronous JavaScript and XML(AJAX) refers to group of technologies that we use to send requests to web servers and retrieve data from them without reloading the page.
367+
368+
Jquery is a simple javascript library that helps us with front-end development.
365369

366370
<div align="right">
367371
<b><a href="#">↥ back to top</a></b>
@@ -1511,7 +1515,7 @@ V8 is Google’s open source high-performance JavaScript and WebAssembly engine,
15111515

15121516
## Q. ***Why is LIBUV needed in Node JS?***
15131517

1514-
*ToDo*
1518+
LIBUV is a library written in C++ and it's focus is on asynchronous I/O. Node.js use this library to interact with OS, system files and networking and also two core features of Node.js called event loop and thread pool are available in this runtime thanks to this library.
15151519

15161520
<div align="right">
15171521
<b><a href="#">↥ back to top</a></b>
@@ -2654,7 +2658,12 @@ var server = app.listen(3000, function () {
26542658

26552659
## Q. ***What is the difference between req.params and req.query?***
26562660

2657-
*ToDo*
2661+
params are a part of a path in URL and they're also known as URL variables. for example, if you have the route /books/:id, then the “id” property will be available as req.params.id. req.params default value is an empty object {}.
2662+
2663+
A query string is a part of a URL that assigns values to specified parameters. A query string commonly includes fields added to a base URL by a Web browser or other client application, for example as part of an HTML form. A query is the last part of URL
2664+
2665+
2666+
26582667

26592668
<div align="right">
26602669
<b><a href="#">↥ back to top</a></b>

0 commit comments

Comments
 (0)