|
Hi erlang-questions,
Recently I needed to compare a few Erlang web libraries and frameworks for a friend who was writing a simple internal API endpoint. He suggested I should publish the rundown for others, and I thought I'd also circulate it here. I'm relatively new to Erlang, so I have probably missed a few libraries. I'll try to keep it updated as people send me information, so don't hesitate to contact me if i've got something wrong. The article: http://lenary.co.uk/erlang/2011/08/erlang-web-libraries/ What are your thoughts? Sam -- Sam Elliott [hidden email] -- _______________________________________________ erlang-questions mailing list [hidden email] http://erlang.org/mailman/listinfo/erlang-questions |
|
On Wed, Aug 10, 2011 at 12:04:27AM +0100, Sam Elliott wrote:
> Hi erlang-questions, > > Recently I needed to compare a few Erlang web libraries and frameworks > for a friend who was writing a simple internal API endpoint. He > suggested I should publish the rundown for others, and I thought I'd > also circulate it here. I'm relatively new to Erlang, so I have > probably missed a few libraries. > > I'll try to keep it updated as people send me information, so don't > hesitate to contact me if i've got something wrong. > > The article: http://lenary.co.uk/erlang/2011/08/erlang-web-libraries/ > > What are your thoughts? > I find it interesting that you include mochiweb (an http toolkit) alongside with things like chicago boss (a real web framework), webmachine (a REST toolkit). It's also interesting you omit misultin, cowboy and zotonic from the list. Andrew _______________________________________________ erlang-questions mailing list [hidden email] http://erlang.org/mailman/listinfo/erlang-questions |
|
In reply to this post by Sam Elliott
Hi,
While, for the most part, you're right about Nitrogen not being *aimed* at simple restful api development, it's not too hard to do. wf:q and wf:qs will read values from querystring and post variables, so you can easily pass around json and what not. Using a template is optional, since every page's entry point is the main() function. Further, if you'd rather not do querystrings, you can trivially do path parsing. IE: assuming you have a module called 'api', for the path /api/myinfo/123, wf:path_info() returns "myinfo/123". Between those and mochijson, building a simple api should be a breeze in nitrogen. -Jesse On Tue, Aug 9, 2011 at 6:04 PM, Sam Elliott <[hidden email]> wrote: > Hi erlang-questions, > > Recently I needed to compare a few Erlang web libraries and frameworks > for a friend who was writing a simple internal API endpoint. He > suggested I should publish the rundown for others, and I thought I'd > also circulate it here. I'm relatively new to Erlang, so I have > probably missed a few libraries. > > I'll try to keep it updated as people send me information, so don't > hesitate to contact me if i've got something wrong. > > The article: http://lenary.co.uk/erlang/2011/08/erlang-web-libraries/ > > What are your thoughts? > > Sam > > -- > Sam Elliott > [hidden email] > -- > _______________________________________________ > erlang-questions mailing list > [hidden email] > http://erlang.org/mailman/listinfo/erlang-questions > -- Jesse Gumm Sigma Star Systems 414.940.4866 [hidden email] http://www.sigma-star.com _______________________________________________ erlang-questions mailing list [hidden email] http://erlang.org/mailman/listinfo/erlang-questions |
|
In reply to this post by Andrew Thompson-2
On Wed, Aug 10, 2011 at 4:25 AM, Andrew Thompson <[hidden email]> wrote:
> On Wed, Aug 10, 2011 at 12:04:27AM +0100, Sam Elliott wrote: >> Hi erlang-questions, >> >> Recently I needed to compare a few Erlang web libraries and frameworks >> for a friend who was writing a simple internal API endpoint. He >> suggested I should publish the rundown for others, and I thought I'd >> also circulate it here. I'm relatively new to Erlang, so I have >> probably missed a few libraries. >> >> I'll try to keep it updated as people send me information, so don't >> hesitate to contact me if i've got something wrong. >> >> The article: http://lenary.co.uk/erlang/2011/08/erlang-web-libraries/ >> >> What are your thoughts? >> > > I find it interesting that you include mochiweb (an http toolkit) > alongside with things like chicago boss (a real web framework), > webmachine (a REST toolkit). I wanted the guide to be completely comprehensive, so that I have somewhere to look when I'm choosing the library/framework I use for future projects, and I hope that it would also help other people. > It's also interesting you omit misultin, cowboy and zotonic from the > list. I hadn't heard of misultin or cowboy until your email, and I wasn't sure how extensible Zotonic was. Now I've looked into it, I have updated the article. Sam > > Andrew > _______________________________________________ > erlang-questions mailing list > [hidden email] > http://erlang.org/mailman/listinfo/erlang-questions > _______________________________________________ erlang-questions mailing list [hidden email] http://erlang.org/mailman/listinfo/erlang-questions |
|
In reply to this post by Sam Elliott
Sam
Hypernumbers have just released a request signing library which is substantially based on Amazon's HMAC-SHA authentication schema. The aim is to provide a common, reusable format for request canonicalisation and signing for private/public key pair authentication. Ideally we would like to build up a set of client libraries that implement it. The code is structured so as to make it as easy as possible for developers of client libraries to build and test them against unit tests and to try and avoid the hell that is debugging against production systems not in your control. This library is now in the examples part of mochiweb. Gordon On 10 Aug 2011, at 00:04, Sam Elliott <[hidden email]> wrote: > Hi erlang-questions, > > Recently I needed to compare a few Erlang web libraries and frameworks > for a friend who was writing a simple internal API endpoint. He > suggested I should publish the rundown for others, and I thought I'd > also circulate it here. I'm relatively new to Erlang, so I have > probably missed a few libraries. > > I'll try to keep it updated as people send me information, so don't > hesitate to contact me if i've got something wrong. > > The article: http://lenary.co.uk/erlang/2011/08/erlang-web-libraries/ > > What are your thoughts? > > Sam > > -- > Sam Elliott > [hidden email] > -- > _______________________________________________ > erlang-questions mailing list > [hidden email] > http://erlang.org/mailman/listinfo/erlang-questions erlang-questions mailing list [hidden email] http://erlang.org/mailman/listinfo/erlang-questions |
| Powered by Nabble | Edit this page |
