[erlang-questions] REST server
Karolis Petrauskas
k.petrauskas@REDACTED
Tue Mar 8 21:15:42 CET 2016
I used this as a guide for implementing REST services with Yaws:
http://www.infoq.com/articles/vinoski-erlang-rest
I like the flexibility of this approach. On the other side, each
service takes only 5-20 lines of code to implement it.
Karolis
On Tue, Mar 8, 2016 at 10:01 PM, Vlad Dumitrescu <vladdu55@REDACTED> wrote:
> Hi,
>
> Where is yaws documentation relative to how to implement a REST API? I can't
> see anything referring to that specifically, so I suppose it would involve
> appmods?
>
> best regards,
> Vlad
>
>
> On Tue, Mar 8, 2016 at 6:10 PM, Steve Vinoski <vinoski@REDACTED> wrote:
>>
>>
>>
>> On Tue, Mar 8, 2016 at 11:30 AM, Alex Alvarez <eajam@REDACTED> wrote:
>>>
>>> For REST, my initial recommendation is Yaws (http://yaws.hyber.org/), as
>>> it's very easy to use and pretty solid solution, but the documentation for
>>> it is simply terrible and I mean really, really terrible. Hence, you
>>> probably would have an easier time with Cowboy.
>>
>>
>> If you have suggestions for documentation improvements please let me know
>> -- I'd like to know details of why you think the docs are "really, really
>> terrible" given that I think they're pretty reasonable, and I know for a
>> fact we keep them up to date. Pull requests are also welcomed.
>>
>> --steve
>>
>>>
>>>
>>> Cheers,
>>> Alex
>>>
>>>
>>> On 03/08/2016 02:09 AM, zxq9 wrote:
>>>
>>> On Monday 07 March 2016 18:30:51 Mark Bucciarelli wrote:
>>>
>>> I'm curious to hear what do more experienced erlang'ers think of
>>> mochiweb?
>>> That's where I ended up after googling and reading on my own.
>>>
>>> Its a toolkit from which you can build a server, but its not a server
>>> in the way something like YAWS is. Quickest from zero to doing things
>>> is probably YAWS or Cowboy.
>>>
>>> Most of my experience has been client-side things using mochi libs or
>>> doing simplish web faces with YAWS for systems that have much richer
>>> native clients already -- so my web experience in this regard is
>>> (deliberately) limited.
>>>
>>> -Craig
>>> _______________________________________________
>>> erlang-questions mailing list
>>> erlang-questions@REDACTED
>>> http://erlang.org/mailman/listinfo/erlang-questions
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> erlang-questions mailing list
>>> erlang-questions@REDACTED
>>> http://erlang.org/mailman/listinfo/erlang-questions
>>>
>>
>>
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
More information about the erlang-questions
mailing list