Elixir – Dynamo + Scaffold (elixir-lang)

As part of the Elixir study, I tried to write a simple project on Dynamo. Mostly, Routers on Dynamo worked nicely with the DSL-like get/post macros.

Also, I played around the ecto database wrapper on PostgreSQL DB as a backend service. Though the functionality is still limited, it’s well organized and the usage is simple enough. As in the readme, if REST API helper or DB migration is implemented, it would be a good candidate for a simple web application backend.

One concern I had is Dynamo seems not support the PUT/DELETE method on HTTP using HTML form. The above project workarounds it using jQuery’s $.ajax method for sending DELETE, but it may be one missing point compared with rails or sinatra for a simple REST app.

Advertisements

Posted on September 19, 2013, in Elixir, Web. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: