Skip to content
Myr

appengine -> app engine

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent e432d83 · Browse files · 3 files+5 added−5 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+5 added−5 removed

  • other:+5 added−5 removed

3 files+5 added−5 removed

modified:docs/deploying/cgi.rst+3 added-3 removed
4 unmodified lines
5is supported by all major servers but usually has a less-than-optimal6performance.78This is also the way you can use a Flask application on Google's9`AppEngine`_, there however the execution does happen in a CGI-like9`App Engine`_, there however the execution does happen in a CGI-like10environment. The application's performance is unaffected because of that.1112.. admonition:: Watch Out1314 Please make sure in advance that your ``app.run()`` call you might15 have in your application file, is inside an ``if __name__ ==16 '__main__':`` or moved to a separate file. Just make sure it's not17 called because this will always start a local WSGI server which we do18 not want if we deploy that application to CGI / appengine.18 not want if we deploy that application to CGI / app engine.1920.. _AppEngine: http://code.google.com/appengine/20.. _App Engine: http://code.google.com/appengine/2122Creating a `.cgi` file23----------------------24
26 unmodified lines
modified:docs/patterns/caching.rst+1 added-1 removed
32 unmodified lines
3334 from werkzeug.contrib.cache import MemcachedCache35 cache = MemcachedCache(['127.0.0.1:11211'])3637If you are using appengine, you can connect to the appengine memcache37If you are using App Engine, you can connect to the App Engine memcache38server easily::3940 from werkzeug.contrib.cache import GAEMemcachedCache41 cache = GAEMemcachedCache()
28 unmodified lines
modified:docs/patterns/lazyloading.rst+1 added-1 removed
6 unmodified lines
7that uses decorators has to be imported upfront or Flask will never8actually find your function.910This can be a problem if your application has to import quick. It might11have to do that on systems like Google's AppEngine or other systems. So11have to do that on systems like Google's App Engine or other systems. So12if you suddenly notice that your application outgrows this approach you13can fall back to a centralized URL mapping.1415The system that enables having a central URL map is the
89 unmodified lines