Friday, March 31, 2017

Getting started with GAE - Python on codenvy.io - Part 2

Continuing my earlier post here...


We had reached to a default application being created by codenvy as template to get started.
I will try to shade some light on this default application also share a backup of the source code for JUST IN CASE situations here.

Attached source code


Your workspace allows you to have multiple projects in it; we here are now looking at a sample that covers basics of app engine in one example.

During my learning curve all this application has was divided into seven steps now world being fast I believe this one shall suffice.

Running the application:
Your application is already coded ready to run with codenvy just click on source folder and press play you application shall start. There will be url at bottom shown in logs click on it to view your output.

DASHBOARD VIEW
 OUTPUT AFTER CLICKING ON LINK

List of concepts to look for to understand about source code:
  • Checkout app.yaml
    This file gives you entire configuration of your app including directory structure and URL mapping
  • Open and study guestbook.py
    This is your core logic study it thoroughly like an OOP case study (bottom up). All routing and business logic is mentioned. Study libraries needed to include
  • Concepts covered
    URL Pattern to Class mapping
    Handling requests
    Classes / Libraries in order for reference : Jinja, webapp2, ndb, and Users
  • Google plus social sign in and verification

No comments:

Post a Comment

Quick setup Phonegap Development Environment using Docker

INTRO NOTE : Pre-requisite is to have ubuntu 16.04 Following DIGITAL OCEAN tutorial for same...