Skip to content
This repository was archived by the owner on Oct 1, 2025. It is now read-only.

Commit bd6b6e3

Browse files
committed
more cleanup
1 parent e1a748d commit bd6b6e3

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.README.md.swp

32 KB
Binary file not shown.

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ App Engine is not a free service. While you may not have needed to enable billin
2929
In App Engine's early days, users wanted Google to make the platform more flexible for developers and make their apps more portable. As a result, the team made significant changes to its 2nd-generation service which launched in 2017. As a result, all previously built-in services have been removed, and users can either choose from new standalone Cloud products as replacements or best-of-breed replacements in the broader developer community. Summary:
3030

3131
- **Legacy platform**: *Python 2* only, proprietary built-in services
32-
- **Next generation**: *Python 3* only, *no* proprietary built-in services
32+
- **Next generation**: *Python 3* only, external services, flexible platform
3333

3434
The key issue is that developers looking to port their applications to Python 3 have two **huge** hurdles to overcome, migrating from Python 2 to 3 **and** migrating from built-in services to alternatives. On top of this, direct replacements are not available for all built-in services; alternatives come in 3 flavors:
3535

@@ -44,19 +44,20 @@ These are the challenges developers are facing, so the purpose of this content i
4444

4545
## Progression
4646

47-
All codelabs begin with code in a START repo and ends with a FINISH repo folder, completing a single migration. Users who complete the tutorial should confirm their code (for the most part) matches what's in the FINISH folder. The Module 0 repo contains a barebones Python 2.7 App Engine app that uses the `webapp2` web framework plus the `ndb` Datastore library. It represents the baseline migration sample app.
47+
All codelabs begin with code in a START repo folder and end with code in a FINISH folder, implementing a single migration. Upon completion should confirm their code (for the most part) matches what's in the FINISH folder. The baseline migration sample app is a barebones Python 2.7 App Engine app that uses the `webapp2` web framework plus the `ndb` Datastore library. This is what's iin the Module 0 repo folder (link below).
4848

49-
1. From there, Module 1 migrates away from `webapp2` to Flask, migrating the Module 0 code (START) to end with the Module 1 folder.
49+
1. From there (Module 0 is START), the Module 1 codelab migrates from the `webapp2` web framework to Flask where the Module 1 repo folder is the FINISH point.
5050

51-
1. The Module 2 codelab migrates away from `ndb` to Cloud NDB, STARTs with the Module 1 repo (ours or yours), and ends with the Module 2 (Python 2) FINISH repo folder. Module 2's codelab also has a bonus migration to Python 3, resulting in code that should match the Module 2 (Python 3) repo. Once you've arrived at Module 2's Python 3 code, your app is modernized and runs on the next-generation platform.
51+
1. The Module 2 codelab STARTs with the Module 1 code (yours or ours) and migrates away from `ndb` to Cloud NDB, and ends with the Module 2 (Python 2) FINISH repo folder. There's also has a bonus migration to Python 3, resulting in another FINISH repo folder. Once you've deployed this Python 3 code, your app is modernized and runs on the next-generation platform.
5252

53-
Of course, things aren't as simple in real life. Your Python 2 App Engine app may also be using Task Queues, Memcache, or many of the other original App Engine built-in services, so those will be additional migration modules (not all are available yet). With some exceptions, there's no specific order of what migrations you do next. It's just what you (or your apps) need. Here's full summary of what's currently available:
53+
Of course, things aren't as simple in real life. Your Python 2 App Engine app may also be using Task Queues, Memcache, or many of the other original App Engine built-in services, so there will be additional migration modules (not all are available yet). With some exceptions, there's no specific order of what migrations you do next. It's just what you (or your apps) need. Here's full summary of what's currently available:
5454

5555

5656
## Migrations
5757

5858
The table below summarizes migration module resources currently available to developers along with a more detailed table of contents below. Be sure to check back for updates as more resources are planned.
5959

60+
6061
### Summary table
6162

6263
Module | Topic | Video | Codelab | START repo | FINISH repo
@@ -72,6 +73,7 @@ Module | Topic | Video | Codelab | START repo | FINISH repo
7273
8|Migrate to Cloud Tasks| _TBD_ | _TBD_ | Module 7 [code](/mod7-gaetasks) (2.x) | Module 8 [code](/mod8-cloudtasks) (2.x)
7374
9|Migrate to Python 3 (Cloud Datastore & Cloud Tasks v2)| _TBD_ | _TBD_ | Module 8 [code](/mod8-cloudtasks) (2.x) | Module 9 [code](/mod9-py3xlouddstasks) (3.x)
7475

76+
7577
### Table of contents
7678

7779
If there is a logical codelab to do immediately after completing one, they will be designated as NEXT. Other recommended codelabs will be listed as RECOMMENDED, and the more optional ones will be labeled as OTHERS (and usually in some kind of priority order).
@@ -186,7 +188,6 @@ If your original app users does *not* have a user interface, i.e., mobile backen
186188
- [Firebase mobile & web app platform](https://firebase.google.com) (and [Cloud Functions for Firebase](https://firebase.google.com/products/functions) [customized for Firebase])
187189

188190

189-
190191
### Canonical code samples
191192

192193
- This repo, along with corresponding codelabs & videos are complementary to the official docs & code samples.

0 commit comments

Comments
 (0)