You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Platform is not described in documentation glossary #27096
Lurking through the angular source code I've found createPlatform. Unfortunately I have not found out through the docs or comments of Angular what a platform actually represents. I think the glossary would be the best place for a description?
Starter definition: https://en.wikipedia.org/wiki/Computing_platform
"he environment in which a piece of software is executed. It may be the hardware or the operating system (OS), even a web browser and associated application programming interfaces, or other underlying software, as long as the program code is executed with it. "
In the context of Angular, "platform" can mean all of Angular or more specifically the context in which the Angular app runs. We could be more clear about what "runs" means in that loose definition.
In addition to a glossary addition, the following APIs docs should be clear about how "platform" is used in this context
I see.. What kind of confused me was the platform platformCore, which is not tied to any "platform" which an Angular app runs on. But after some digging I realized platforms kind of inherit themselves platformCore <- platformCoreDynamic <- platformBrowserDynamic and each platform comes with its own providers.
Am I getting this right?
If so I think it would be quite interesting to see in the docs platform X is based on platform Y and which providers come with it.
Basically, the main docs for Angular's PlatformRef is here, but I agree that the docs for the specific platformRefs created by the various factories (e.g. platformBrowser(), platformBrowserDynamic(), etc) are pretty thin on details 😳
Reacted by Jennifer Fell, Michael Prentice and Livio Brunner
Activity
jenniferfell commentedon Nov 20, 2018
Starter definition: https://en.wikipedia.org/wiki/Computing_platform
"he environment in which a piece of software is executed. It may be the hardware or the operating system (OS), even a web browser and associated application programming interfaces, or other underlying software, as long as the program code is executed with it. "
In the context of Angular, "platform" can mean all of Angular or more specifically the context in which the Angular app runs. We could be more clear about what "runs" means in that loose definition.
In addition to a glossary addition, the following APIs docs should be clear about how "platform" is used in this context
BrunnerLivio commentedon Nov 21, 2018
I see.. What kind of confused me was the platform
platformCore, which is not tied to any "platform" which an Angular app runs on. But after some digging I realized platforms kind of inherit themselvesplatformCore <- platformCoreDynamic <- platformBrowserDynamicand each platform comes with its own providers.Am I getting this right?
If so I think it would be quite interesting to see in the docs platform X is based on platform Y and which providers come with it.
gkalpak commentedon Nov 21, 2018
Basically, the main docs for Angular's
PlatformRefis here, but I agree that the docs for the specific platformRefs created by the various factories (e.g. platformBrowser(), platformBrowserDynamic(), etc) are pretty thin on details 😳Splaktar commentedon May 22, 2019
We needed these docs today while trying to explain the
@angular/webworkerdeprecation in #30598.kapunahelewong commentedon May 22, 2019
fyi @dennispbrown and @brandonroberts.
angular-automatic-lock-bot commentedon Sep 15, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.