Presentation: Building RESTful Web Services with Erlang and YAWS
In this presentation recorded at QCon SF 2008, Steve Vinoski shows how to create RESTful web services using YAWS and Erlang. The presentation introduces YAWS and offers YAWS-Erlang code snippets on how to implement REST principles.
Watch: Building RESTful Web Services with Erlang and Yaws (1h)
Steve introduces YAWS – Yet Another Web Server – a highly concurrent web server optimized for delivering dynamic content. YAWS web pages can contain Erlang code which is executed before the resulting HTML is sent to the client. YAWS can run as a stand-alone application or it can be embedded into another Erlang application. According to some test results, YAWS can handle more traffic and way more connections than Apache.
Steve shows how to create RESTful web services using Erlang and YAWS. The concrete examples cover the following topics:
- Resources and identifiers
- Representations and media types
- Hypermedia and linking
- HTTP Methods
- Conditional GET
While doing that, Steve explains the following concepts: Ehtml – an HTML page with Erlang code in it –, Appmod – a YAWS application module –, Yapps – a YAWS application.
Educational Content
Intro to CLP with core.logic
Ryan Senior Jun 18, 2013
Spock: A Highly Logical Way To Test
Howard Lewis Ship Jun 18, 2013
Java Garbage Collection Distilled
Martin Thompson Jun 17, 2013
C++11 The Future is Here
Bjarne Stroustrup Jun 16, 2013
The Big Data Revolution
Claudia Perlich Jun 16, 2013




Hello stranger!
You need to Register an InfoQ account or Login to post comments. But there's so much more behind being registered.Get the most out of the InfoQ experience.
Tell us what you think