Is there a good alternative to Play that I can use with DynamoDB for a web app on AWS?

I am developing an image storage application for end users that will have many CRUD type features. I want to host an application on Amazon Web Services (AWS) and am going to use the game! framework, S3 and NoSQL database. I couldn't find a DynamoDB adapter for Play! and read that MongoDB and EC2 can't handle this together.

Is there a good alternative to Play that I can use with DynamoDB?

Are there any alternative frameworks I should consider (Play! Looks very appealing to me, clean, thin and simple).

+3


source to share


3 answers


Play is database agnostic, but has some support for other less recent data stores. Dynamo is too new to have much support directly in the web environment. The game is a great frame and I personally really like it. Although I use Play 2.0, I don't recommend it for someone completely unfamiliar with scala or FP. They say you don't need to know, but it's wishful thinking until the product matures.



On the bottom line, you select your webframe and datastore separately. The correct one should have the flexibility to support many of the other's options.

+1


source


Moved through this: https://github.com/wfaler/scala-dynamo Looks like the first attempt at a scala driver for a dynamo.



0


source


Check jcabi-dynamo . It's an object layer on top of the DynamoDB SDK, for example:

Credentials credentials = new Credentials.Simple("AWS key", "AWS secret");
Region region = new Region.Simple(credentials);
Table table = region.table("foo");
Collection<Item> items = table.frame().where("id", Conditions.equalTo(123));
for (Item item : items) {
  System.out.println(item.get("name").getS());
}

      

0


source







All Articles