Skip to content

Commit

Permalink
feat: improvements on glossary engine (mdn#34165)
Browse files Browse the repository at this point in the history
* feat: improvements on glossary engine

* feat: improvements on JavaScript Engine

* feat: improvements on Rendering Engine

* feat: improvements

Co-authored-by: Dipika Bhattacharya <[email protected]>

---------

Co-authored-by: Dipika Bhattacharya <[email protected]>
  • Loading branch information
PassionPenguin and dipikabh committed Jun 27, 2024
1 parent bc90f4f commit b49ed0d
Show file tree
Hide file tree
Showing 6 changed files with 62 additions and 31 deletions.
1 change: 1 addition & 0 deletions files/en-us/_redirects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3601,6 +3601,7 @@
/en-US/docs/Glossary/Property_(CSS) /en-US/docs/Glossary/property/CSS
/en-US/docs/Glossary/Random_Number_Generator /en-US/docs/Glossary/RNG
/en-US/docs/Glossary/Reference /en-US/docs/Glossary/Object_reference
/en-US/docs/Glossary/Rendering_engine /en-US/docs/Glossary/Engine/Rendering
/en-US/docs/Glossary/Responsive_design /en-US/docs/Glossary/Responsive_web_design
/en-US/docs/Glossary/Round_Trip_Time_(RTT) /en-US/docs/Glossary/Round_Trip_Time
/en-US/docs/Glossary/SRTP /en-US/docs/Glossary/RTP
Expand Down
26 changes: 13 additions & 13 deletions files/en-us/_wikihistory.json
Original file line number Diff line number Diff line change
Expand Up @@ -2159,7 +2159,7 @@
"fscholz"
]
},
"Glossary/Engine": {
"Glossary/Engine/JavaScript": {
"modified": "2019-05-09T03:04:25.699Z",
"contributors": [
"SphinxKnight",
Expand All @@ -2172,6 +2172,18 @@
"panaggio"
]
},
"Glossary/Engine/Rendering": {
"modified": "2020-09-28T13:38:28.076Z",
"contributors": [
"myakura",
"ramsunvtech",
"hbloomer",
"Andrew_Pfeiffer",
"klez",
"kscarfone",
"ChrisL"
]
},
"Glossary/Entity": {
"modified": "2019-09-05T01:20:53.488Z",
"contributors": [
Expand Down Expand Up @@ -4213,18 +4225,6 @@
"teainthegarden"
]
},
"Glossary/Rendering_engine": {
"modified": "2020-09-28T13:38:28.076Z",
"contributors": [
"myakura",
"ramsunvtech",
"hbloomer",
"Andrew_Pfeiffer",
"klez",
"kscarfone",
"ChrisL"
]
},
"Glossary/Repo": {
"modified": "2019-03-23T23:09:46.809Z",
"contributors": [
Expand Down
6 changes: 2 additions & 4 deletions files/en-us/glossary/engine/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ page-type: glossary-definition

{{GlossarySidebar}}

The {{glossary("JavaScript")}} engine is an interpreter that parses and executes a JavaScript program.
The term **engine** can have several meanings depending on the context. It may refer to:

## See also

- [JavaScript engine](https://en.wikipedia.org/wiki/JavaScript_engine) on Wikipedia
{{GlossaryDisambiguation}}
23 changes: 23 additions & 0 deletions files/en-us/glossary/engine/javascript/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
title: JavaScript engine
slug: Glossary/Engine/JavaScript
page-type: glossary-definition
---

{{GlossarySidebar}}

**JavaScript engines** are interpreters that parse and execute {{glossary("JavaScript")}} code. Modern JavaScript engines use just-in-time (JIT) compilation to convert JavaScript code into machine code that can be executed by a computer's processor. A JavaScript engine is typically developed and used in web {{glossary("browser", "browsers")}} to run client-side code but can also be used in server-side environments like {{glossary("Node.js")}}.

In a browser, the JavaScript engine operates together with the rendering engine via the {{glossary("DOM", "Document Object Model")}} and {{glossary("WebIDL", "Web IDL")}} bindings. Some JavaScript engines also execute {{glossary("WebAssembly")}} code in the same sandbox as regular JavaScript code.

Do not confuse JavaScript engines with {{glossary("engine/rendering", "rendering engines")}}, which are also crucial parts of browsers.

## See also

- [JavaScript engine](https://en.wikipedia.org/wiki/JavaScript_engine) on Wikipedia
- Glossary
- {{glossary("Engine")}}
- {{glossary("JavaScript")}}
- {{glossary("WebAssembly")}}
- {{glossary("Browser")}}
- {{glossary("Node.js")}}
23 changes: 23 additions & 0 deletions files/en-us/glossary/engine/rendering/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
title: Rendering engine
slug: Glossary/Engine/Rendering
page-type: glossary-definition
---

{{GlossarySidebar}}

**Rendering engines** (also known as layout engines or browser engines) are part of a {{glossary("Browser", "web browser")}} that transforms {{glossary("HTML")}}, {{glossary("CSS")}}, and other resources of a web page into a visual representation on a screen.

Common rendering engines include:

- {{glossary("Blink")}}
- {{glossary("Gecko")}}
- {{glossary("WebKit")}}
- {{glossary("Trident")}}

## See also

- [Browser engine](https://en.wikipedia.org/wiki/Browser_engine) on Wikipedia
- Glossary
- {{Glossary("Engine")}}
- {{Glossary("Browser")}}
14 changes: 0 additions & 14 deletions files/en-us/glossary/rendering_engine/index.md

This file was deleted.

0 comments on commit b49ed0d

Please sign in to comment.