
Building Web Applications with Erlang
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Other editions
Additional editions

Content
- Intro
- Table of Contents
- Preface
- Who This Book Is For
- Learning Erlang
- Before You Start
- What You Will Learn
- The Limits of This Book
- Help! It Doesn't Compile or Run!
- Diagnosing the Error
- What Version of Erlang and Yaws Are You Running?
- Is Everything Loaded Correctly?
- Are You Calling Everything Correctly?
- Is Mnesia Running with Correct Tables?
- Is the Example Just Plain Wrong?
- Conventions Used in This Book
- Using Code Examples
- Safari® Books Online
- How to Contact Us
- Acknowledgments
- Chapter 1. Building Scalable Systems with Erlang and REST
- Why Erlang?
- Erlang's Advantages
- Lack of Types
- OTP-For More Than Just Telecom!
- Why Web Services? Why REST?
- New Opportunities for Scaling and Resilience
- Cloud Computing
- System Architecture and Erlang Scaling
- Scaling up versus scaling out
- Amdahl's law
- Data Storage Options
- Mnesia
- CouchDB
- MongoDB
- Redis
- Riak
- Chapter 2. Getting Started with Yaws
- Working with Yaws
- Starting Yaws
- Serving Static Files
- Compiling, Loading, and Running Code
- Clustering Yaws
- Dynamic Content in Yaws
- EHTML
- Headers and Redirects
- Templates
- ErlyDTL
- Logging
- Erlang OTP error_logger
- Chapter 3. Appmods: Dynamic Content in Yaws
- Appmod Configuration
- When the URI Does Not Correspond to a File
- Cookies
- Session Handling
- Access Control
- Interacting with Erlang Services and Business Logic Layers
- Chapter 4. Implementing REST
- Decoding a Request
- Extracting the User's Request
- Response and Headers
- Building the Response
- JSON
- XML
- Responding to the REST Request
- A Full Example
- Chapter 5. File Upload
- The File Upload Request
- Saving to Disk
- Putting It All Together
- Storage in a Distributed System
- Saving to Amazon S3
- Chapter 6. WebSockets
- The WebSocket Request
- Basic WebSocket Handler
- Advanced WebSocket Handler
- Chapter 7. Streaming
- Simple Streaming
- Chapter 8. Using the HTTP Client
- Making a Request
- Using OAuth
- Facebook Canvas
- Chapter 9. Building an Application with OTP
- Directory Structure
- Building an Application Server
- The Generic Server
- The Multicast Server
- Interfacing the Server with the Web
- Some Client-Side Code
- Let's Have Some Adult Supervision Around Here!
- A Little Optimization
- Bundling as an Application
- The App File
- Wrapping Up OTP
- Appendix A. Installing Erlang and Yaws
- Appendix B. Beyond Yaws
- Web Servers
- Cowboy
- MochiWeb
- Misultin
- Web Frameworks
- Chicago Boss
- Nitrogen
- Zotonic
- Appendix C. Interfacing with Ruby and Python
- Ruby
- Python
- Appendix D. Using Erlang with Emacs
- Distel
- Flymake Mode
- Gen Server Template
System requirements
File format: PDF
Copy-Protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our eBook Help page.