如何判断 Google App Engine 文档页面适用于第一/第二代标准还是柔性环境 [英] How to tell if a Google App Engine documentation page applies to the 1st/2nd generation standard or the flexible environment
问题描述
我看到很多 问题将
如果文档页面没有显示上述模式(例如,如果它是关于与 App Engine 有某种关联的其他 Google Cloud 产品的页面),请检查正在讨论的 App Engine 功能并尝试找到相应的 GAE 文档.
检查这些将 2 个环境和/或它们的功能并排放置的指南也可能有助于区分:
注意:标准环境下列出/提及多语言版本(Node.js
除外)是指第一代和第二代标准环境,明显不同从彼此.您还应该查看这些情况的比较和/或迁移指南:
- 了解 Python 2 和 Python 3 在 App Engine 标准上的差异环境
- 从 Java 7 迁移到 Java 8 运行时
- 将您的应用从 PHP 5.5 迁移到 PHP 7.2
- 将您的 App Engine 应用从 Go 1.9 迁移到 Go 1.11一个>
I see a lot of questions from users mixing up the standard environment with the flexible environment, especially when it comes to documentation, often attempting to follow the wrong instructions, obviously with undesired results.
How can one easily tell which GAE environment a certain page is applicable to?
Most (if not all) of the GAE documentation is structured by the environment. When looking at a certain documentation page the environment is clearly indicated in several places:
- the second section at the top of the left-side documentation navigation bar
- the navigation trail at the top of the actual documentation page (which may vary slightly depending on the programming language)
- the
docs/flexible
vsdocs/standard
strings in the doc page URLs - some pages applicable to multiple programming languages and/or environments (maybe with small differences) have tabs indicating:
- the currently selected language and environment
- the other languages and environments the page applies to (selectable)
- the languages and environments the page doesn't apply to (grayed out)
Examples:
If the documentation page doesn't show the above mentioned patterns (for example if it's a page about some other Google Cloud product somehow related to the App Engine), then check about the App Engine feature being discussed and try to locate the respective GAE documentation.
What may also help with the distinction would be to check these guides putting the 2 environments and/or their features side by side:
- Choosing an App Engine Environment
- App Engine Flexible Environment for Users of App Engine Standard Environment
- Migrating Services from the Standard Environment to the Flexible Environment
Note: when multiple language versions are listed/mentioned under the standard environment (excepting Node.js
) they refer to the 1st and 2nd generation standard environment, significantly different from each-other. You should also check the comparison and/or migration guides for these cases:
- Understanding differences between Python 2 and Python 3 on the App Engine standard environment
- Migrating from Java 7 to Java 8 Runtime
- Migrating Your App from PHP 5.5 to PHP 7.2
- Migrating your App Engine app from Go 1.9 to Go 1.11
这篇关于如何判断 Google App Engine 文档页面适用于第一/第二代标准还是柔性环境的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!