Skip to content

Commit 574990e

Browse files
jbogarthydeAndrewKushnir
authored andcommitted
docs: add platform to glossary (angular#30731)
PR Close angular#30731
1 parent aa9eb55 commit 574990e

File tree

3 files changed

+19
-3
lines changed

3 files changed

+19
-3
lines changed

aio/content/guide/glossary.md

+13
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,19 @@ A class which is preceded by the `@Pipe{}` decorator and which defines a functio
622622

623623
To learn more, see [Pipes](guide/pipes).
624624

625+
{@a platform}
626+
627+
## platform
628+
629+
In Angular terminology, a platform is the context in which an Angular application runs.
630+
The most common platform for Angular applications is a web browser, but it can also be an operating system for a mobile device, or a web server.
631+
632+
Support for the various Angular run-time platforms is provided by the `@angular/platform-*` packages. These packages allow applications that make use of `@angular/core` and `@angular/common` to execute in different environments by providing implementation for gathering user input and rendering UIs for the given platform. Isolating platform-specific functionality allows the developer to make platform-independent use of the rest of the framework.
633+
634+
* When running in a web browser, [`BrowserModule`](api/platform-browser/BrowserModule) is imported from the `platform-browser` package, and supports services that simplify security and event processing, and allows applications to access browser-specific features, such as interpreting keyboard input and controlling the title of the document being displayed. All applications running in the browser use the same platform service.
635+
636+
* When [server-side rendering](#server-side-rendering) (SSR) is used, the [`platform-server`](api/platform-server) package provides web server implementations of the `DOM`, `XMLHttpRequest`, and other low-level features that don't rely on a browser.
637+
625638
{@a polyfill}
626639

627640
## polyfill

packages/platform-browser/PACKAGE.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
Supports delivery of Angular apps on different supported browsers.
1+
Supports execution of Angular apps on different supported browsers.
22

3-
The `BrowserModule` is included by default in any app created through the CLI,
4-
and it re-exports the `CommonModule` and `ApplicationModule` exports,
3+
The `BrowserModule` is included by default in any app created through the CLI,
4+
and it re-exports the `CommonModule` and `ApplicationModule` exports,
55
making basic Angular functionality available to the app.
66

77
For more information, see [Browser Support](guide/browser-support).

packages/platform-server/PACKAGE.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Supports delivery of Angular apps on a server, for use with [server-side rendering](guide/glossary#server-side-rendering) (SSR).
2+
3+
For more information, see [Server-side Rendering: An intro to Angular Universal](guide/universal).

0 commit comments

Comments
 (0)