BT

Presentation: Building RESTful Web Services with Erlang and YAWS

by Abel Avram on May 18, 2009 | NOTICE: The next QCon is in London Mar 2-6, Join us!

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.

Hello stranger!

You need to Register an InfoQ account or 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

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2014 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT