Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

naming conventions for DynamoDB?

Background: I'm creating kind of simplified pseudo-ORM for use in Django. Classes obviously use CamelCase convention, while Django app is underscored lowercase. Which leaves me with a few options:

  • Django ORM style: app_name_someclass
  • proper underscore style: app_name_some_class
  • as-is: app_name.SomeClass
  • possibly some other using different separators etc.

Are there any well established naming conventions for DynamoDB? So far, from what I've seen in examples, it seems that it's free-for-all.

like image 381
vartec Avatar asked Jun 03 '13 14:06

vartec


1 Answers

It's free for all. I name tables as "users", "secret-files", "seen-blog-posts", and their attributes as "user.name", "date.recent.iso", etc.

like image 98
yegor256 Avatar answered Nov 08 '22 09:11

yegor256