Building Web Applications with Erlang
Working with REST and Web Sockets on Yaws
Publisher: O'Reilly Media
Final Release Date: June 2012
Pages: 156

Why choose Erlang for web applications? Discover the answer hands-on by building a simple web service with this book. If you’re an experienced web developer who knows basic Erlang, you’ll learn how to work with REST, dynamic content, web sockets, and concurrency through several examples. In the process, you’ll see first-hand that Erlang is ideal for building business-critical services.

Erlang was designed for fault-tolerant, non-stop telecom systems, and building applications with it requires a large set of skills. By the end of the book, you’ll have the information you need to build a basic web service and get it running.

  • Explore the power of Erlang and REST for building web services
  • Serve static and dynamic content with the Yaws web server
  • Use different methods for outputting data to user, such as encoding Erlang data structures into JSON or XML
  • Build an application to listen for HTTP requests, process them, store data, and return useful data
  • Go beyond the request-response model—push data to clients with web sockets
  • Use Erlang and Yaws to stream data from the server to a client

"A book which is truly needed and will help get Erlang to the next level."

—Francesco Cesarini, CEO of Erlang Solutions, author of Erlang Programming.

Table of Contents
Product Details
About the Author
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyBuilding Web Applications with Erlang
 
3.7

(based on 6 reviews)

Ratings Distribution

  • 5 Stars

     

    (0)

  • 4 Stars

     

    (4)

  • 3 Stars

     

    (2)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

83%

of respondents would recommend this to a friend.

Pros

  • Well-written (5)
  • Easy to understand (4)
  • Helpful examples (4)
  • Concise (3)

Cons

No Cons

Best Uses

  • Intermediate (5)
  • Novice (3)
  • Student (3)
    • Reviewer Profile:
    • Developer (6)

Reviewed by 6 customers

Displaying reviews 1-6

Back to top

 
3.0

Tail wagging the dog

By Wolf

from Earth

About Me Developer

Verified Reviewer

Pros

  • Concise
  • Easy to understand
  • Well-written

Cons

    Best Uses

      Comments about oreilly Building Web Applications with Erlang:

      If I'd known beforehand that `grep php $this_book | wc -l` was going to be that big I'd have given this book a miss. If you're a view first developer then this book/framework might be a good fit (3 stars). If you like to develop your domain. then control before wiring in the presentation, then you may find it annoying to follow (<2 stars). Sadly no insights from REPL driven development. All in all, the writing is good, some insights into the erland shell and a somewhat interesting look at yaws, but definitely not the way I like to develop.

       
      4.0

      Great into web apps in erlang!

      By Chris

      from Gainesville, Fl

      About Me Designer, Developer

      Verified Buyer

      Pros

      • Accurate
      • Concise
      • Easy to understand
      • Helpful examples
      • Well-written

      Cons

        Best Uses

        • Intermediate
        • Novice
        • Student

        Comments about oreilly Building Web Applications with Erlang:

        As advertised this is a great intro to the subject matter. Wish it went a little deeper but overall is a great entry point to the subject.

        (2 of 3 customers found this review helpful)

         
        3.0

        Erlang beginner, Expert web programmer

        By produke

        from madrid, spain

        About Me Developer

        Verified Reviewer

        Pros

        • Dense
        • Helpful examples

        Cons

        • Difficult To Follow
        • Typing Errors

        Best Uses

        • Expert
        • Intermediate
        • Web Programmer

        Comments about oreilly Building Web Applications with Erlang:

        As java/web programmer and no knowledge at all of the language Erlnag, i was expecting a lot. Gradually, the book lecture guide you to all the code and sometimes it can be difficult to read as there is lot of examples. You may need to study it with a computer in front of you. Generally, i must say that is oriented to general programmers but a knowledge of web framework and languages is a plus to understand it. The book is dense and gives everything you need to use Erlang in your web application.

        Note: This book review is in exchange of the O'Reilly Blogger Review Program (http://oreilly.com/bloggers/)

        (1 of 1 customers found this review helpful)

         
        4.0

        Good book to start building your Erlang

        By Przemysław

        from Kraków, Poland

        About Me Developer

        Verified Reviewer

        Pros

        • Well-written

        Cons

          Best Uses

          • Expert
          • Intermediate

          Comments about oreilly Building Web Applications with Erlang:

          Book covers a lot of aspects of web development. First chapters are really good overview of Erlang features, scalability & NoSQL databases; introduction to Yaws: how it works, how to extend it by using appmods. In one of chapters author show how to implement REST to manage simple airports list. Next chapters covers very useful & valuable things: file upload, web sockets, streaming. In one of appendices author mentions about other Erlang web servers and web frameworks.
          Book is really good, however there are some things, in my opinion, that need some improvement. I've got some experience with Erlang, MochiWeb and Chicago Boss, but I found some Yaws examples not-so-easy to use. It would be much easier if there was more specific information where save all those files in directory tree.

          If you want build your web applications with Erlang, this book is really good position to begin with.

          (8 of 9 customers found this review helpful)

           
          4.0

          The Only Book on Erlang Web Development

          By Joe the Disappointed

          from Denver, CO

          About Me Developer

          Verified Reviewer

          Pros

          • Accurate
          • Concise
          • Easy to understand
          • Helpful examples
          • Well-written

          Cons

            Best Uses

            • Intermediate
            • Novice
            • Student

            Comments about oreilly Building Web Applications with Erlang:

            I am learning a lot things from this book. In spite of the comparatively small size, it is very comprehensive.

            It introduces you to REST, NoSQL databases. It slightly touches Erlang frameworks like ChicagoBoss, Nitrogen, Zotonic.

            The only reason why I took away a star is Yaws. It's old, comparatively bigger, heavier server. I think if the author chose Mochiweb, the book would be more interesting for wider audience. Cowboy is relatively young, but many developers are interested in it. So, a separate chapter about Cowboy would be nice. I hope, 2 edition or 'Definitive guide to Erlang Web Development' will follow.

            (5 of 6 customers found this review helpful)

             
            4.0

            Fun with Erlang

            By Brightlance

            from London, UK

            About Me Developer

            Verified Reviewer

            Pros

            • Easy to understand
            • Helpful examples
            • Well-written

            Cons

              Best Uses

              • Intermediate
              • Novice
              • Student

              Comments about oreilly Building Web Applications with Erlang:

              I am a java programmer by heart, and yet I found this book highly informative as well as giving a great insight into what can be achieved with elegant Erlang. There are ample useful realworld examples provided as well as the core understanding behind the language itself. I would definately reccomend this book to anyone looking to develop high performance, high access and fault tolerant services.

              Displaying reviews 1-6

              Back to top

               
              Buy 2 Get 1 Free Free Shipping Guarantee
              Buying Options
              Immediate Access - Go Digital what's this?
              Ebook:  $15.99
              Formats:  DAISY, ePub, Mobi, PDF
              Print & Ebook:  $21.99
              Print:  $19.99