Re: [google-appengine] Re: Bug in ndb with StructuredProperty?

2014-11-16 Thread timh
One possible approach for the inner SecondModel validation would be to call 
_validate explicitly on it, . You could call this from a _pre_put hook 
defined on FirstModel

T


On Monday, November 10, 2014 1:33:17 PM UTC+8, Vinny P wrote:

 On Sat, Nov 8, 2014 at 7:44 AM, Lapteuh lap...@gmail.com javascript:
  wrote:

 I tested this code 
 https://gist.github.com/anonymous/18648c7134f41a6c1b74. First again, 
 *required* parameter ignored, but it must be composable (It is written 
 in the documentation). Second, *validation* in *StructuredProperty* work 
 only on *not None* value and it's second bug, because writing custom 
 property for model useless at this point.




 I think you might be missing Tim's point. FirstModel will be validated, 
 but the inner SecondModel isn't being validated - it's serialized directly 
 as a property. You can see this because the pre-put and post-put hooks you 
 defined for SecondModel aren't being run (at least, I don't see the correct 
 log lines after line 64 in your Github gist).

 If you want SecondModel validated, try to put it directly as Tim attempted 
 to do in his post (and received the correct error messages). 

 Now as for the larger question you asked in the OP, this might be 
 something that should be clarified in documentation, but I don't think it's 
 necessarily a bug. If you need this style of validation to work in your 
 app, you can try explaining your use case and there may be workarounds we 
 can try.


 -
 -Vinny P
 Technology  Media Consultant
 Chicago, IL

 App Engine Code Samples: http://www.learntogoogleit.com
  


-- 
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.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] What can I do with the google app engine?

2014-11-16 Thread MINDRIL CYR

I'm a little new to programming.  Does this give you server space to create 
web apps that can serve a large number of clients?  Could I use it to make 
something like a flash/facebook game?  Do I need additional software to do 
the programming?

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: What can I do with the google app engine?

2014-11-16 Thread MINDRIL CYR
Does it compile and host your apps.

On Sunday, November 16, 2014 6:54:22 AM UTC-5, MINDRIL CYR wrote:


 I'm a little new to programming.  Does this give you server space to 
 create web apps that can serve a large number of clients?  Could I use it 
 to make something like a flash/facebook game?  Do I need additional 
 software to do the programming?


-- 
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.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: What can I do with the google app engine?

2014-11-16 Thread Kristopher Giesing
App Engine can be thought of as a managed servlet container (e.g. like 
Tomcat, but supporting several other languages than Java).  You can use 
this for just about any purpose you can imagine for a web app.

Many other services (e.g. AWS) manage the infrastructure for you, but leave 
it to you to deploy the server architecture on top of the base OS 
distribution.  App Engine is more specialized than that, which can be both 
more convenient and (on occasion) more limiting.

You don't need any special paid software to do the programming, though you 
do need a local development environment.

There's a lot more information from Google 
here: https://cloud.google.com/appengine/docs/whatisgoogleappengine

- Kris

On Sunday, November 16, 2014 3:56:05 AM UTC-8, MINDRIL CYR wrote:

 Does it compile and host your apps.

 On Sunday, November 16, 2014 6:54:22 AM UTC-5, MINDRIL CYR wrote:


 I'm a little new to programming.  Does this give you server space to 
 create web apps that can serve a large number of clients?  Could I use it 
 to make something like a flash/facebook game?  Do I need additional 
 software to do the programming?



-- 
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.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: 1.9.17 PreRelease SDKs - PHP 5.5 support

2014-11-16 Thread Aidan Lane
That's absolutely fantastic news, thanks guys!

It's also very reassuring, as we've now invested much in using PHP on GAE.

Now for PHP support on Managed VMs... (yes, always demanding more! :)

Cheers,
Aidan


On Saturday, November 15, 2014 4:19:22 PM UTC+11, Stuart Langley wrote:

 Hello Everyone,

 If you don't have an application that uses the PHP runtime, you can stop 
 reading now.

 In the next App Engine release we intend on switching the PHP interpreter 
 from version 5.4 to version 5.5. There is a *small* list of backwards 
 incompatible http://php.net/manual/en/migration55.incompatible.php changes 
 that are part of the PHP 5.5 runtime - which means there is a small chance 
 that your applications could break when we do the upgrade. 

 To help you test out your applications now and make sure you apply any 
 required fixes before we change over, we have created pre-release SDKs for 
 Mac and Windows that include a 5.5 build of the interpreter. You can grab 
 these SDKs from the following locations:

 Windows 1.9.17 PreRelease SDK 
 https://console.developers.google.com/m/cloudstorage/b/appengine-sdks/o/featured/GoogleAppEngine-1917-prerelease.msi
 Mac 1.9.17 PreRelease SDK 
 https://console.developers.google.com/m/cloudstorage/b/appengine-sdks/o/featured/GoogleAppEngineLauncher-1917-prelease.dmg

 For linux users, please read this 
 https://gae-php-tips.appspot.com/2014/11/15/app-engine-php-1-9-17-pre-release-sdk/
  post 
 that contains instructions on how to build a php-cgi executable for testing.

 Please report any issues that you encounter with the SDKs in the issue 
 tracker https://code.google.com/p/googleappengine/wiki/FilingIssues?tm=3, 
 and we'll do our best to address them promptly.

 Best Regards,
 Stuart



-- 
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.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: What can I do with the google app engine?

2014-11-16 Thread MINDRIL CYR
Could I use this with google sites to make a dynamic web site?  

On Sunday, November 16, 2014 3:08:31 PM UTC-5, Kristopher Giesing wrote:

 App Engine can be thought of as a managed servlet container (e.g. like 
 Tomcat, but supporting several other languages than Java).  You can use 
 this for just about any purpose you can imagine for a web app.

 Many other services (e.g. AWS) manage the infrastructure for you, but 
 leave it to you to deploy the server architecture on top of the base OS 
 distribution.  App Engine is more specialized than that, which can be both 
 more convenient and (on occasion) more limiting.

 You don't need any special paid software to do the programming, though you 
 do need a local development environment.

 There's a lot more information from Google here: 
 https://cloud.google.com/appengine/docs/whatisgoogleappengine

 - Kris

 On Sunday, November 16, 2014 3:56:05 AM UTC-8, MINDRIL CYR wrote:

 Does it compile and host your apps.

 On Sunday, November 16, 2014 6:54:22 AM UTC-5, MINDRIL CYR wrote:


 I'm a little new to programming.  Does this give you server space to 
 create web apps that can serve a large number of clients?  Could I use it 
 to make something like a flash/facebook game?  Do I need additional 
 software to do the programming?



-- 
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.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: 1.9.17 PreRelease SDKs - PHP 5.5 support

2014-11-16 Thread Guo Gang
Hi Sirs,

I just want to simply verify the GAE already support php or not.
I used the GAE SDK for php with local PC testing environment, it's working,
but when I upload to GAE cloud, it is not working, even simple php version 
does not show at all.
What's the possible problem?
I found GAE support team does not accept email/phone right now, so i come 
here for help.

Thanks,
Guo Gang

On Saturday, November 15, 2014 1:19:22 PM UTC+8, Stuart Langley wrote:

 Hello Everyone,

 If you don't have an application that uses the PHP runtime, you can stop 
 reading now.

 In the next App Engine release we intend on switching the PHP interpreter 
 from version 5.4 to version 5.5. There is a *small* list of backwards 
 incompatible http://php.net/manual/en/migration55.incompatible.php changes 
 that are part of the PHP 5.5 runtime - which means there is a small chance 
 that your applications could break when we do the upgrade. 

 To help you test out your applications now and make sure you apply any 
 required fixes before we change over, we have created pre-release SDKs for 
 Mac and Windows that include a 5.5 build of the interpreter. You can grab 
 these SDKs from the following locations:

 Windows 1.9.17 PreRelease SDK 
 https://console.developers.google.com/m/cloudstorage/b/appengine-sdks/o/featured/GoogleAppEngine-1917-prerelease.msi
 Mac 1.9.17 PreRelease SDK 
 https://console.developers.google.com/m/cloudstorage/b/appengine-sdks/o/featured/GoogleAppEngineLauncher-1917-prelease.dmg

 For linux users, please read this 
 https://gae-php-tips.appspot.com/2014/11/15/app-engine-php-1-9-17-pre-release-sdk/
  post 
 that contains instructions on how to build a php-cgi executable for testing.

 Please report any issues that you encounter with the SDKs in the issue 
 tracker https://code.google.com/p/googleappengine/wiki/FilingIssues?tm=3, 
 and we'll do our best to address them promptly.

 Best Regards,
 Stuart



-- 
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.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: 1.9.17 PreRelease SDKs - PHP 5.5 support

2014-11-16 Thread Stuart Langley
Best to post your question on stack overflow with the [google-app-engine] 
and [php] tags.

You'll need a better description of what not working means - e.g. include 
details of how you expect your app to work, how you tested it, what you see 
in the admin console logs etc

On Monday, 17 November 2014 15:56:23 UTC+11, Guo Gang wrote:

 Hi Sirs,

 I just want to simply verify the GAE already support php or not.
 I used the GAE SDK for php with local PC testing environment, it's working,
 but when I upload to GAE cloud, it is not working, even simple php version 
 does not show at all.
 What's the possible problem?
 I found GAE support team does not accept email/phone right now, so i come 
 here for help.

 Thanks,
 Guo Gang

 On Saturday, November 15, 2014 1:19:22 PM UTC+8, Stuart Langley wrote:

 Hello Everyone,

 If you don't have an application that uses the PHP runtime, you can stop 
 reading now.

 In the next App Engine release we intend on switching the PHP interpreter 
 from version 5.4 to version 5.5. There is a *small* list of backwards 
 incompatible http://php.net/manual/en/migration55.incompatible.php changes 
 that are part of the PHP 5.5 runtime - which means there is a small chance 
 that your applications could break when we do the upgrade. 

 To help you test out your applications now and make sure you apply any 
 required fixes before we change over, we have created pre-release SDKs for 
 Mac and Windows that include a 5.5 build of the interpreter. You can grab 
 these SDKs from the following locations:

 Windows 1.9.17 PreRelease SDK 
 https://console.developers.google.com/m/cloudstorage/b/appengine-sdks/o/featured/GoogleAppEngine-1917-prerelease.msi
 Mac 1.9.17 PreRelease SDK 
 https://console.developers.google.com/m/cloudstorage/b/appengine-sdks/o/featured/GoogleAppEngineLauncher-1917-prelease.dmg

 For linux users, please read this 
 https://gae-php-tips.appspot.com/2014/11/15/app-engine-php-1-9-17-pre-release-sdk/
  post 
 that contains instructions on how to build a php-cgi executable for testing.

 Please report any issues that you encounter with the SDKs in the issue 
 tracker 
 https://code.google.com/p/googleappengine/wiki/FilingIssues?tm=3, and 
 we'll do our best to address them promptly.

 Best Regards,
 Stuart



-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: What can I do with the google app engine?

2014-11-16 Thread Vinny P
On Sun, Nov 16, 2014 at 6:00 PM, MINDRIL CYR mindril...@gmail.com wrote:

 Could I use this with google sites to make a dynamic web site?




Yes. Look up Google Sites Web Gadgets - essentially they're dynamic
components (optionally hosted by App Engine) that can be embedded into
Sites pages:
https://developers.google.com/google-apps/sites/gadgets/site_gadgets#Host


-
-Vinny P
Technology  Media Consultant
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] App Engine

2014-11-16 Thread Vinny P
On Sat, Nov 15, 2014 at 10:00 AM, Regina M Tomé regi.gui...@gmail.com
 wrote:

 I need to know how the Database works in App Engine. I have a MySQL
 database in my PC.

 I have a project in the server App Engine, with an Instance in use.

 Question: Do I have to create my Database in the server or when I make the
 Deploy of my application,
 the database stucture goes also




If you want to use a SQL db, you'll need to launch a Cloud SQL instance (
https://cloud.google.com/sql/docs ) for your App Engine app. You can then
add tables/insert data using the console, or by using an admin tool such as
SQuirreL SQL: https://cloud.google.com/sql/docs/admin-tools#squirrel .

To be clear, the SQL db doesn't update during an application deployment -
you need to handle any updates by using the console or a tool such as
SQuirrel SQL.

-
-Vinny P
Technology  Media Consultant
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Is Google App Engine capable of sending remote service response to an adobe air application?

2014-11-16 Thread Vinny P
On Sun, Nov 16, 2014 at 1:44 AM, d...@sshenterprise.com wrote:

 have an Adobe Air application that uses AMFPHP. I have set up a local
 server and everything worked fine. I have uploaded the PHP files to Google
 App Engine, but the live server does not return a response.




When you say set up a local server does that mean you tested using the
App Engine development server, or another server environment? If you
attempt to access the live server using a web browser (not your Air
application) do you see anything displayed in the browser?

If you open up App Engine logging, do you see any error messages reported?


On Sun, Nov 16, 2014 at 1:44 AM, d...@sshenterprise.com wrote:

 Is GAE capable of sending responses to an air application?


AMFPHP sends responses using standard HTTP, so neither GAE or Air is the
problem here. More than likely there's just a simple configuration error
here.


-
-Vinny P
Technology  Media Consultant
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
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.
For more options, visit https://groups.google.com/d/optout.