Python for Google app engine : master the full range of development features provided by Google App Engine to build and run scalable web applications in Python /
If you are a Python developer, whether you have experience in web applications development or not, and want to rapidly deploy a scalable backend service or a modern web application on Google App Engine, then this book is for you.
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham, England :
Packt Publishing,
2015.
|
Colección: | Community experience distilled.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started; The cloud computing stack
- SaaS, PaaS, and IaaS; Google Cloud Platform; Hosting + Compute; Storage; BigQuery; Services; What Google App Engine does; The runtime environment; The services; Making our first Python application; Download and installation; Installing on Windows; Installing on Mac OS X; Installing on Linux; App Engine Launcher; Creating the application; The app.yaml configuration file; The main.py application script
- Running the development serverUploading the application to App Engine; Google Developer Console; Development Console; Summary; Chapter 2: A More Complex Application; Experimenting on the Notes application; Authenticating users; HTML templates with Jinja2; Handling forms; Persisting data in Datastore; Defining the models; Basic querying; Transactions; Using static files; Summary; Chapter 3: Storing and Processing Users' Data; Uploading files to Google Cloud Storage; Installing Cloud Storage Client Library; Adding a form to upload images; Serving files from Cloud Storage
- Serving files through Google's Content Delivery NetworkServing images; Serving other types of files; Transforming images with the Images service; Processing long jobs with the task queue; Scheduling tasks with Cron; Sending notification e-mails; Receiving users' data as e-mail messages; Summary; Chapter 4: Improving Application Performances; Advanced use of Datastore; More on properties
- arrange composite data with StructuredProperty; More on queries
- save space with projections and optimize iterations with mapping; Projection queries; Mapping; NDB asynchronous operations; Caching
- Backup and restore functionalitiesIndexing; Using Memcache; Breaking our application into modules; Summary; Chapter 5: Storing Data in Google Cloud SQL; Creating a Cloud SQL instance; Configuring access; Setting the root password; Connecting to the instance with the MySQL console; Creating the notes database; Creating a dedicated user; Creating tables; Connecting to the instance from our application; Loading and saving data; Using the local MySQL installation for development; Summary; Chapter 6: Using Channels to Implement a Real-time Application; Understanding how the Channel API works
- Making our application real timeImplementing the server; The JavaScript code for clients; Tracking connections and disconnections; Summary; Chapter 7: Building an Application with Django; Setting up the local environment; Configuring a virtual environment; Installing dependencies; Rewriting our application using Django 1.7; Using Google Cloud SQL as a database backend; Creating a reusable application in Django; Views and templates; Authenticating users with Django; Using the ORM and the migrations system; Processing forms with the Forms API; Uploading files to the Google Cloud Storage