[google-appengine] New Flexible App Engine Beta Performs Redirects :(
I tried the new beta version of the flexible app engine and my application redirects (307 Temporary Redirect) to appspot-preview.com from my domain instead of serving up the requests from the domain. This is really awful for my use case and I reverted back to App Engine alpha. Can someone explain the rationale for the change? Will this new 'feature' be rolled back? Thanks. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/24ad4794-97d8-4739-88db-fea6a69ad665%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] New Google App Engine Console - Enitity number problems
Hi, All, Has anyone noticed a mismatch in the number of entity records recorded in the ndb datastore as opposed to the actual number. I have provided feedback via the console but I have a mismatch - an entity named RealEstate is actually reported as having 134 records when there are actually 141. Any ideas? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/7bf21b73-4550-4d8a-b1d2-8ac151d9122e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] New python app engine framework
https://bitbucket.org/cloudsherpas/ferris-framework/overview -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [google-appengine] new to app engine - how to handle control arrays
first, it depends on how your working with python on app engine. django : self.request.GET/POST['VARNAME'] or django request.GET/POST['VARNAME'] The .POST or .GET are dictionaries of all the passed data. you can also access them via .REQUEST. For example: myarray = request.POST['myarray'] for item in myarray: //do something you can also print those arrays to see the structure... dir or print. - Cheers, def AlonCarmel(request) import simplejson as json contact = {} contant['email'] = 'a...@aloncarmel.me' contact['twitter'] = '@aloncarmel' contact['web'] = 'http://aloncarmel.me' contact['phone'] = '+972-54-4860380' return HttpResponse(json.dumps(contact)) * If you received an unsolicited email from by mistake that wasn't of your matter please delete immediately. All E-mail sent from Alon Carmel is copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by Alon Carmel are owned by the Author only. Any attempt to duplicate or imitate any of the Content is prohibited under copyright law 2008. On Mon, Jul 26, 2010 at 2:17 AM, mikemoum mike.m...@gmail.com wrote: Hi, I'm just getting started with app engine, and am porting a php site I developed as a learning tool. The input form on my page allows one to enter a number of participants in a small school program. As such, some fields are common to many people, such as last name. In my input form, therefore, there are a column of textboxes, with name=lname[]. When the form is posted when the submit button is clicked, the global php variable, $_POST, contains the field lname[], which is an array of entries. It's not clear to me how to handle such an array when it is posted in app engine and parsed with python. How does one do this? Thanks for your replies, Mike -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] new to app engine - how to handle control arrays
Here's what I'm trying to do: class Process(webapp.RequestHandler): def post(self): self.response.out.write('hellobr /') data = self.request.get('test[]') for d in data: self.response.out.write(d) class MainPage(webapp.RequestHandler): def get(self): self.response.out.write('htmlbody') self.response.out.write( form action=/process method=post input type=text name=test[] / br / input type=text name=test[] / br / input type=text name=test[] / br / input type=text name=test[] / br / input type=submit name=submit value=Submit / /form) self.response.out.write('/body/html') The MainPage generates a form with four textboxes, each with name = test[]. Submit sends the output to Process. With php, _POST[test[]] is an array with four values, the values being the text entered into each of the test boxes. In app engine, self.request.get('test[]') apparently only gets the value of the first text box. So my question is whether there is a way to have an array of text boxes, and to retrieve the value of each of them in a list or other data structure. I know that I can generate the text boxes so that they are names test1, test2, test3, and test4, and then write code to loop through and build the text box names, and issue a get for each name, but that seems really clunky and error prone. Thanks for any help, Mike On 07/26/2010 04:16 AM, Alon Carmel wrote: first, it depends on how your working with python on app engine. django : self.request.GET/POST['VARNAME'] or django request.GET/POST['VARNAME'] The .POST or .GET are dictionaries of all the passed data. you can also access them via .REQUEST. For example: myarray = request.POST['myarray'] for item in myarray: //do something you can also print those arrays to see the structure... dir or print. - Cheers, def AlonCarmel(request) import simplejson as json contact = {} contant['email'] = 'a...@aloncarmel.me mailto:a...@aloncarmel.me' contact['twitter'] = '@aloncarmel' contact['web'] = 'http://aloncarmel.me' contact['phone'] = '+972-54-4860380' return HttpResponse(json.dumps(contact)) * If you received an unsolicited email from by mistake that wasn't of your matter please delete immediately. All E-mail sent from Alon Carmel is copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by Alon Carmel are owned by the Author only. Any attempt to duplicate or imitate any of the Content is prohibited under copyright law 2008. On Mon, Jul 26, 2010 at 2:17 AM, mikemoum mike.m...@gmail.com mailto:mike.m...@gmail.com wrote: Hi, I'm just getting started with app engine, and am porting a php site I developed as a learning tool. The input form on my page allows one to enter a number of participants in a small school program. As such, some fields are common to many people, such as last name. In my input form, therefore, there are a column of textboxes, with name=lname[]. When the form is posted when the submit button is clicked, the global php variable, $_POST, contains the field lname[], which is an array of entries. It's not clear to me how to handle such an array when it is posted in app engine and parsed with python. How does one do this? Thanks for your replies, Mike -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com mailto:google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com mailto:google-appengine%2bunsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] new to app engine - how to handle control arrays
Got it. Need to use request.get_all() On 07/26/2010 04:16 AM, Alon Carmel wrote: first, it depends on how your working with python on app engine. django : self.request.GET/POST['VARNAME'] or django request.GET/POST['VARNAME'] The .POST or .GET are dictionaries of all the passed data. you can also access them via .REQUEST. For example: myarray = request.POST['myarray'] for item in myarray: //do something you can also print those arrays to see the structure... dir or print. - Cheers, def AlonCarmel(request) import simplejson as json contact = {} contant['email'] = 'a...@aloncarmel.me mailto:a...@aloncarmel.me' contact['twitter'] = '@aloncarmel' contact['web'] = 'http://aloncarmel.me' contact['phone'] = '+972-54-4860380' return HttpResponse(json.dumps(contact)) * If you received an unsolicited email from by mistake that wasn't of your matter please delete immediately. All E-mail sent from Alon Carmel is copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by Alon Carmel are owned by the Author only. Any attempt to duplicate or imitate any of the Content is prohibited under copyright law 2008. On Mon, Jul 26, 2010 at 2:17 AM, mikemoum mike.m...@gmail.com mailto:mike.m...@gmail.com wrote: Hi, I'm just getting started with app engine, and am porting a php site I developed as a learning tool. The input form on my page allows one to enter a number of participants in a small school program. As such, some fields are common to many people, such as last name. In my input form, therefore, there are a column of textboxes, with name=lname[]. When the form is posted when the submit button is clicked, the global php variable, $_POST, contains the field lname[], which is an array of entries. It's not clear to me how to handle such an array when it is posted in app engine and parsed with python. How does one do this? Thanks for your replies, Mike -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com mailto:google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com mailto:google-appengine%2bunsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] New to app-engine
Hi All,I am planning to use gwt + appengine to develop and deploy my website. I am new to both of this though I completed the installation part and getting started tutorial of both of this. It would be great if you people can give me some tips and other things I should be careful about during the development phase. Actually I see a lot of help on GWT and appengine individual usage but there is nothing related to using gwt with appengine and at this point i am confused if I am missing something, Isn't using GWT with AppEngine productive and popular?? Regards, Vijay --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] New to app engine Help with dev_appserver.py script
I'm running Mac OSX 10.5.5 and i've installed Mac Python 2.5. I followed the install doc and only installed the PythonApplications. Then I create a folder off of my home directory called helloworld and I create a file call helloworld.py. I then create a file called app.yaml and save it with that extension. I open up a terminal window and run dev_appserver helloworld/ and it fails with an error in line 2 column 1. Please help! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---