Questions tagged [google-app-engine]
Google App Engine is a cloud computing technology for hosting web applications in Google-managed data centers. Google App Engine is a Platform as a Service (PaaS) offering for Java, Python, Go (experimental) and PHP (beta).
37 questions
4
votes
2
answers
128
views
Calculate cumulative daily rainfall
It took me a while to compute this script, it works perfectly, but I think that it is very raw and long.
The goal of the script is to produce a graph of cumulated rainfall with 3 lines:
Cumulated ...
1
vote
1
answer
8k
views
Generating JSON with Jinja2
I needed quickly to represent a list in json format. I wrote the following front-end in jinja2 with google appengine.
...
2
votes
0
answers
67
views
Google App Engine - Blog Post & User Profile Handler
I am currently developing a web app that lets users submit posts and replies, and they can have their own profile which lists all the submitted posts and replies. I am also using X-AppEngine to fetch ...
2
votes
1
answer
95
views
Unit testing for a blog post model on Google App Engine
It is my second day into software testing and I am currently testing my database, handlers, and functions. I am wondering if I am taking the right approach as this is the first time testing my web app....
3
votes
1
answer
213
views
Dynamic IP Notification Using Google App Engine
This script is very basic: it does one thing. Connect to it's root and it will log your IP if it has never seen it before. Connect to /logs, and it will show a list ...
8
votes
4
answers
3k
views
API method to validate Facebook OAuth token
I am new to Java / OOP and I'm concerned that I have a method which is doing far too much "stuff" - but I don't easily see how it can be shortened in a way which is not contrived / arbitrary.
This is ...
3
votes
1
answer
2k
views
Sequence counter with persistence
In one of my object I needed a sequence I would use to increment an Id field just like we often do with classical databases. As I have not found a suitable solution,...
1
vote
1
answer
174
views
Generic JWT Handler
I'm developing a Go REST service that uses JWT (JSON Web Tokens) for authentication.
I've written a JWTHandler which validates the token using a Validation Handler. If validation succeeds, the ...
1
vote
2
answers
234
views
Making datastore inserts with Google App Engine and WTForms
I have a class for making datastore inserts with Google App Engine and WTForms. Now I want to refactor it into smaller units but I'm not sure how to do it. Can you help me find what needs to be done? ...
5
votes
1
answer
605
views
Avoiding callback chaining in authenticator
I'm developing an iOS Application in Swift that uses Google Cloud Endpoints as its backend. For now, I've just written the code for the user to login with his Gmail account and I've refactored it as ...
5
votes
2
answers
381
views
Image download handler app
I have a paid app on the app engine. At the moment, usually there is only one instance. The app has a download handler that sends an image after re-sizing it if it is too big. The problem is: if a web ...
6
votes
1
answer
629
views
Custom Google App Engine Python user managment
I've written this script as a basic authentication system for use on Google App Engine. I would appreciate it if anyone would mind having a look and seeing if there are any obvious security ...
8
votes
6
answers
1k
views
Is it possible to optimize the following boolean checks?
The following code works and it prints out only True as it is supposed to, for all the different cases:
...
3
votes
0
answers
182
views
App.yaml configuration for Google App Engine [closed]
I wonder if the following configuration is correct and the handlers are in the right order:
...
7
votes
1
answer
564
views
Subclassing Flask for Permissions with Google App Engine
I'm trying to set up a very lightweight permission system using Google App Engine and Flask.
The end result I am hoping for is that each individual view is its own permission, and in an admin panel ...