[google-appengine] Re: Ask GAE Devs: CloudFlare reviews?

2012-12-30 Thread HaimS
Kaan you should try Incapsula ]http://www.incapsula.com/]

Works like Cloudflare but offers much better security  no false positive 
identification. 

Also, only 9$ for SSL support instead of 20$.. 


I switched after reading this review 
[http://www.ehackingnews.com/2012/11/incapsula-vs-cloudflare-security-review.html]
 
and been very happy ever since. 




בתאריך יום שבת, 29 בדצמבר 2012 20:38:43 UTC, מאת Kaan Soral:

 Why I want to use CloudFlare:
 It can block non-search-engine scrappers, maybe malicious people trying to 
 download content for malicious use. (I assume CF can do this)

 Why I'm afraid to use CloudFlare:
 I sometimes get identified as a false malicious user myself, there were 
 1-2 times in the past when I couldn't enter a site with CF on, maybe at 
 that time someone from my country was attacking that site, who knows, but 
 still this is unacceptable.

 Other features such as SSL etc are solvable otherwise, but blocking 
 malicious behavior is an extreme challenge itself, so If I were to use CF, 
 I would use it only for this feature.

 Any comments on these points?


 On Saturday, December 29, 2012 3:11:30 AM UTC+2, Johnson wrote:

 Looking at using CloudFlare, is the free plan worth the extra hops for 
 your dynamic content?

 FYI: https://www.cloudflare.com/plans



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/dinB2GanqS8J.
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] Re: Ask GAE Devs: CloudFlare reviews?

2012-12-30 Thread Kaan Soral
Thanks *a lot* for the suggestion,

It certainly is interesting, I will dive deeper into the article as soon as 
possible


On Sunday, December 30, 2012 3:28:10 PM UTC+2, HaimS wrote:

 Kaan you should try Incapsula ]http://www.incapsula.com/]

 Works like Cloudflare but offers much better security  no false positive 
 identification. 

 Also, only 9$ for SSL support instead of 20$.. 


 I switched after reading this review [
 http://www.ehackingnews.com/2012/11/incapsula-vs-cloudflare-security-review.html]
  
 and been very happy ever since. 




 בתאריך יום שבת, 29 בדצמבר 2012 20:38:43 UTC, מאת Kaan Soral:

 Why I want to use CloudFlare:
 It can block non-search-engine scrappers, maybe malicious people trying 
 to download content for malicious use. (I assume CF can do this)

 Why I'm afraid to use CloudFlare:
 I sometimes get identified as a false malicious user myself, there were 
 1-2 times in the past when I couldn't enter a site with CF on, maybe at 
 that time someone from my country was attacking that site, who knows, but 
 still this is unacceptable.

 Other features such as SSL etc are solvable otherwise, but blocking 
 malicious behavior is an extreme challenge itself, so If I were to use CF, 
 I would use it only for this feature.

 Any comments on these points?


 On Saturday, December 29, 2012 3:11:30 AM UTC+2, Johnson wrote:

 Looking at using CloudFlare, is the free plan worth the extra hops for 
 your dynamic content?

 FYI: https://www.cloudflare.com/plans



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/4N1et6D9nFIJ.
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] db to ndb migration ... issue with collection_name

2012-12-30 Thread Toto
In my previous GAE app, I had something like a blog (Post and related 
Comment)
Posts and Comments where 2 different models such as

class Post(db.Model):
headline = db.StringProperty(required = True)
content = db.TextProperty(required = True)   
   
class Comment(db.Model):
 Comment object with many-to-one relationship 
content = db.TextProperty(required = True) 
post = db.ReferenceProperty(Post, collection_name='comment_set')

Now with db, thanks to the collection_name, I could easily find the 
comments referring to a post ( aka back reference) using post.comment_set

How are now back references handled in ndb?
Is there a preferred method?

Regards


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/_W5mhfhwqBEJ.
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.



Re: [google-appengine] db to ndb migration ... issue with collection_name

2012-12-30 Thread Gianni
Hi,
Guido explained very clearly how to do
herehttp://stackoverflow.com/questions/11122846/whats-the-alternative-to-back-reference-property-in-ndb
.

Just add a property to the Post class

@property
def comments(self):
return Comment.query(Comment.post == self.key)

-- Gianni


On Mon, Dec 31, 2012 at 2:26 AM, Toto emays...@gmail.com wrote:

 In my previous GAE app, I had something like a blog (Post and related
 Comment)
 Posts and Comments where 2 different models such as

 class Post(db.Model):
 headline = db.StringProperty(required = True)
 content = db.TextProperty(required = True)

 class Comment(db.Model):
  Comment object with many-to-one relationship 
 content = db.TextProperty(required = True)
 post = db.ReferenceProperty(Post, collection_name='comment_set')

 Now with db, thanks to the collection_name, I could easily find the
 comments referring to a post ( aka back reference) using post.comment_set

 How are now back references handled in ndb?
 Is there a preferred method?

 Regards


  --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-appengine/-/_W5mhfhwqBEJ.
 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.


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