Book description
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
- Building Web Applications with Erlang
- SPECIAL OFFER: Upgrade this ebook with O’Reilly
- Preface
- 1. Building Scalable Systems with Erlang and REST
- 2. Getting Started with Yaws
- 3. Appmods: Dynamic Content in Yaws
- 4. Implementing REST
- 5. File Upload
- 6. WebSockets
- 7. Streaming
- 8. Using the HTTP Client
- 9. Building an Application with OTP
- A. Installing Erlang and Yaws
- B. Beyond Yaws
- C. Interfacing with Ruby and Python
- D. Using Erlang with Emacs
- About the Author
- SPECIAL OFFER: Upgrade this ebook with O’Reilly
- Copyright
Product information
- Title: Building Web Applications with Erlang
- Author(s):
- Release date: June 2012
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449320652
You might also like
book
Études for Erlang
In this book, you will find descriptions of programs that you can write in Erlang. The …
book
Introducing Erlang
If you’re new to Erlang, its functional style can seem difficult, but with help from this …
book
Erlang Programming
This book is an in-depth introduction to Erlang, a programming language ideal for any situation where …
book
Erlang and OTP in Action
Erlang and OTP in Action teaches you the concepts of concurrent programming and the use of …