[google-appengine] Re: best way to query geographical regions?

2009-05-03 Thread adelevie
Will this box always have 4 points? Will it be a square with right angles? if it's going to be that simple, just write the function yourself. On May 2, 1:28 pm, Barry Hunter barrybhun...@googlemail.com wrote: Because of the way a geohash is created, chopping off charactors off the end

[google-appengine] Re: Some design Issues in appengine datastore

2009-05-01 Thread adelevie
try reading http://bret.appspot.com/entry/how-friendfeed-uses-mysql one pitfall to avoid is to rely on a recursive function to iterate through a tree. On May 1, 9:24 am, Ted suin...@googlemail.com wrote: 1# class Food(db.Model):     category = db.StringListProperty()     [other

[google-appengine] Dynamically generated templates

2009-04-13 Thread adelevie
Hi. I'm trying to build an a simple CRUD admin section of my application. Basically, for a given Model, I want to have a template loop through the model's attributes into a simple table (once I do this, I can actually implement the CRUD part). A possible way to accomplish this is to dynamically

[google-appengine] Re: Integrating Google Application Engine with Google Maps

2009-04-13 Thread adelevie
I'm working on a bus tracking application for mobile phones that uses Google's Static Maps api. Let me know if there's any functionality of my site that you think I could help you replicate on yours. On Apr 13, 2:51 pm, JDT john.david@googlemail.com wrote: Kernja, Here's a possible

[google-appengine] Re: query to get a resultset matching multiple attributes

2009-03-14 Thread adelevie
Thank you! On Mar 13, 6:23 pm, ryan ryanb+appeng...@google.com wrote: On Mar 13, 12:16 pm, adelevie adele...@gmail.com wrote: routes = db.GqlQuery(SELECT * FROM Route WHERE code = 'BL' OR code = 'WL') Apperently Gql doesn't like that OR. try SELECT * FROM Route WHERE code IN ('BL

[google-appengine] What does your new project template look like?

2009-03-13 Thread adelevie
I have found the included new_project_template to be woefully inadequate for getting a real project started. It's good for learning a hello world app, but when it comes to making apps ready for production, it's nice to make your own template. I wrote about the template that I use on my personal

[google-appengine] Re: What does your new project template look like?

2009-03-13 Thread adelevie
usability. On 13 Mar, 08:16, adelevie adele...@gmail.com wrote: I have found the included new_project_template to be woefully inadequate for getting a real project started. It's good for learning a hello world app, but when it comes to making apps ready for production, it's nice to make your

[google-appengine] query to get a resultset matching multiple attributes

2009-03-13 Thread adelevie
I have a model: class Route(db.Model): name = db.StringProperty() code = db.StringProperty() currently_running = db.IntegerProperty() On my index page, I want to only display several of these routes, and on another page, display all the routes. I can easily do the latter.

[google-appengine] Re: How do I select * from entity where 'foreignkey' = blah

2009-02-09 Thread adelevie
On Feb 9, 9:27 pm, adelevie adele...@gmail.com wrote: I know the datastore is not relational but this should still be simple. I have two models: class Person(db.Model):      name = db.StringProperty() class Location(db.Model):      birthplace = db.StringProperty()      name

[google-appengine] Re: Basic Question concerning def get(self) and def post(self)

2009-01-28 Thread adelevie
Here's a quick shorthand: If you want a normal web page, go with def get(self):. If you want to access form data, go with def post(self):. On Jan 27, 12:11 pm, Blixt andreasbl...@gmail.com wrote: Just to clarify, [...] The other, most common, request is POST, which means [...] By the above

[google-appengine] Cloud hosted IDE

2009-01-27 Thread adelevie
Does anyone else agree that a web-based IDE for GAE would be awesome? Thoughts? How can this be done? I'm thinking Google could whip out a pretty neat solution--maybe using a Google Docs-like text editor and an ajaxy file system. --~--~-~--~~~---~--~~ You received

[google-appengine] Re: Cloud hosted IDE

2009-01-27 Thread adelevie
I do know of a company that may offer a similar service, but for Ruby: http://devver.net/ . They are part of the TechStars incubator, I believe. On Jan 27, 5:58 pm, ryan ryanb+appeng...@google.com wrote: On Jan 27, 9:11 am, Peter Cooper petercoo...@pgctesting001.com wrote: I believe in

[google-appengine] A possible way to improve this Google Group

2009-01-27 Thread adelevie
I hope this is in compliance with posting rules etc etc and I know that it is not usually a good sign to start off with such a sentence, so I'll cut to the chase: I have about 20 beta invites available for a service called Aardvark. Aardvark is new application that facilitates user-to-user

[google-appengine] Re: Alternate Upload Tools...

2009-01-11 Thread adelevie
there is probably no alternative method. work on fixing the appcfg.py method. On Jan 10, 8:20 am, ramu rslet...@gmail.com wrote: First of all, thanks for this great product. Now I feel myself *how much* time I wasted looking for a free reliable PHP host since last 2 month. It was 2 days back

[google-appengine] Re: Admin interface that let's me enter dummy data

2009-01-09 Thread adelevie
I guess I'm stuck with that--it works nicely despite trouble getting the stylesheets to load. This seems like such a simple feature for google to implement, I don't understand why they dont. On Jan 9, 7:51 am, nickcharb nickch...@gmail.com wrote: I found appengine_admin helpful to add dummy

[google-appengine] typo in docs

2009-01-09 Thread adelevie
http://code.google.com/appengine/docs/appcfgpy.html towards the bottom it says appcfy.py where it should be appcfg.py. I didn't know where else to post this. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google

[google-appengine] Re: appcfg.py update talking with server very slowly, http://appspot.google.com slowly resolves

2009-01-09 Thread adelevie
my app wont load at all--at least there wasn't anything wrong with imy/i code ;) On Jan 8, 10:05 pm, Andrew Yates drewyate...@gmail.com wrote: Is there something wrong with the server? It is taking the app engine ten minutes for the server to respond to a simple hello world file update.

[google-appengine] Re: appcfg.py update talking with server very slowly, http://appspot.google.com slowly resolves

2009-01-09 Thread adelevie
ma...@google.com wrote: Hi, We haven't noticed anything, can you provide more information by running your appcfg.py update command with the --noisy flag? -Marzia On Fri, Jan 9, 2009 at 11:13 AM, adelevie adele...@gmail.com wrote: my app wont load at all--at least there wasn't anything

[google-appengine] Re: Google App Engine Platform

2009-01-09 Thread adelevie
GAE forces you to use a framework, php doesn't. GAE lets you cheaply host django, web.py and webapp frameworks. On Jan 9, 1:54 pm, Eric Frost efr...@gmail.com wrote: If I develop an app using the Google App Engine Platform and decide to change my mind and host it ourselves later, is this

[google-appengine] Admin interface that let's me enter dummy data

2009-01-08 Thread adelevie
I really like GAE's admin interface save for one thing: it doesnt let me enter dummy data--it says I must do it programmatically. While I'm sure there is some legitimate reason for this, I still would like an automated set of forms generated from my existing models. Is anyone else in the same

[google-appengine] Re: Admin interface that let's me enter dummy data

2009-01-08 Thread adelevie
to the app admins. Cheers, Alex --www.muspy.com On Jan 9, 3:54 pm, adelevie adele...@gmail.com wrote: I really like GAE's admin interface save for one thing: it doesnt let me enter dummy data--it says I must do it programmatically. While I'm sure there is some legitimate reason for this, I