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).

learn more… | top users | synonyms

3
votes
0answers
30 views

App.yaml configuration for Google App Engine

I wonder if the following configuration is correct and the handlers are in the right order: ...
0
votes
0answers
6 views

Implementing locks to make Google Search API ACID (Transactional)

x-post from StackOverflow, but I realized this question might be a better fit for this community. I'm working on an AppEngine project that requires flexible searches over a dynamic dataset, and ...
6
votes
1answer
77 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 ...
6
votes
1answer
57 views

GAE datastore JOIN + GROUP BY

I had posted this here and was asked to move it to code review since my code works and am looking for the best possible solution : original post NOTE: I have seen the JOIN in GAE related posts but ...
6
votes
1answer
124 views

Google Apps Script for finding empty days on multiple calendars

I need help with a simple Google Apps Script I've written. The script finds days on which no all-day events have been scheduled, across multiple calendars. I'm fairly certain the main issue is the ...
4
votes
1answer
80 views

Is recursion like this safe with a task queue on GAE?

I've written a function to call with the deferred library to generate a large task queue, and at first without the recursion it timed out (deadlineexceeded) so now I'm trying with a recursion but is ...
3
votes
1answer
87 views

Script for generating a report in Google-Spreadsheets. Looks for various values to check and count

It all works exactly as it should. It finds data from today, finds unique emails and puts them in an array. I then check the data again from today, against the emails to total up different values. ...
0
votes
0answers
111 views

GAE ensuring session-based authentication for every request

I have implemented the webapp2_extras.sessions module in GAE and am adding the same code block to a few classes to ensure the user is logged in, else send them to a login page (passing a return path ...
0
votes
1answer
74 views

AppEngine get/post on webapp2.RequestHandler

I was receiving 405 method not supported errors on get requests to my save controller, so I created a ...
1
vote
1answer
69 views
0
votes
2answers
49 views

Please help me modularize this class

The code works but I want to split it into functions and make it more reusable. The way it is now, the code is not reusable. I want the parts which replaces the query string and the part that ...
1
vote
1answer
69 views

Defining book models in GAE

I'm learning to work in GAE. I'm so used to SQL, but transform my way of think the last 20 years to NoSQL is a little hard for me. I have the next simple structure: ...
3
votes
2answers
2k views

Getting country based on IP

I'm using Struts2 and Google App Engine. Below is my program for getting the country based on the IP of the visitor of the website. In my Struts2 action: ...
3
votes
2answers
97 views

User account code with GET and POST

I'm new to Python and GAE, but years of procedural programming. I have this code, but I know that there must be some better solution to avoid retyping code. The first and last section of code are ...
1
vote
2answers
631 views

Aggregation on List

I'm using the following technologies: Google App Engine, GAE Datastore, Struts2. Common lang java library were also used. Because of the limitation on aggregation ...
2
votes
1answer
229 views

Sum the difference of two arrays

I have a function in App Engine Java where I compare two patterns stored in an int array: ...
1
vote
2answers
306 views

Session in Struts2 and Google App Engine

Im using Struts2 running in google app engine. User can use their google and facebook account to login to the site. When a user login, i have: ...
5
votes
2answers
579 views

Checking if entity exist in Google App Engine Datastore using JPA 1

Below is my method in checking if entity already exist. ...
1
vote
1answer
72 views

How to verify if value already added to the list and if so, then update the value?

I use 3 lists to store field name, its value and score. If field name is already added to according list, then I just need to update other 2 lists. If it is not there, then I need to add it. I do the ...
5
votes
1answer
122 views

Regexes for Google App Engine

My app is growing from small to medium and I'm adding functions that should get reviewed. My routing is: ...
3
votes
1answer
266 views

i18n translator using Jinja2

I'm learning to Jinja2 and what's important in this case isn't speed but i18n translations and functionality. With Python 2.7, Jinja2 and not Django seems to preferred way to go, so I'm rewriting much ...
2
votes
1answer
288 views

HTML editor for Google App Engine

Please review this simple code. When I review it I decide to rewrite so that it doesn't write to a template, but instead directly to output since the whole HTML is fetched from the data layer. I used ...
1
vote
1answer
160 views

Could this CyberFaze app be more efficient than O(n)?

I had an efficiency problem like I thought and I didn't have the best solution here. My solution was \$O(n)\$ and directly a more experienced member told me a solution that is \$O(1)\$, that only ...
2
votes
1answer
201 views

Modularizing this file to make it more convenient and more readable

Background is this question and to create something like Craigslist or olx.com i.e. classifieds advertisement webapp / site and I've basically solved the problem and had a mess of unstructured code ...
0
votes
1answer
181 views

Iteration and memcache for selected categorized random elements?

The following code is a quick implementation since I only needed 3 random images sorted by category (a random eyes image, a random nose image and a random mouth image and then combine them): ...
4
votes
3answers
324 views

Can you recommend what to prioritize when rewriting this class?

I feel a need to rewrite a rather large Python class that "does its job" but it looks somewhat terrible since it was pasted together while learning Python and the platform Google App Engine. It works ...
2
votes
1answer
674 views

Querying the same fields for many different values on AppEngine

I'm creating a gradebook. Many students earn a grade in many standards each. I'm hoping to get help analyzing the code below for efficient use of asynchronous result fetching. ...