
Building Web Applications with Erlang
Beschreibung
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
Weitere Details
Weitere Ausgaben
Andere Ausgaben

Inhalt
- 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
Systemvoraussetzungen
Dateiformat: PDF
Kopierschutz: Adobe-DRM (Digital Rights Management)
Systemvoraussetzungen:
- Computer (Windows; MacOS X; Linux): Installieren Sie bereits vor dem Download die kostenlose Software Adobe Digital Editions (siehe E-Book Hilfe).
- Tablet/Smartphone (Android; iOS): Installieren Sie bereits vor dem Download die kostenlose App Adobe Digital Editions oder die App PocketBook (siehe E-Book Hilfe).
- E-Book-Reader: Bookeen, Kobo, Pocketbook, Sony, Tolino u.v.a.m. (nicht Kindle)
Das Dateiformat PDF zeigt auf jeder Hardware eine Buchseite stets identisch an. Daher ist eine PDF auch für ein komplexes Layout geeignet, wie es bei Lehr- und Fachbüchern verwendet wird (Bilder, Tabellen, Spalten, Fußnoten). Bei kleinen Displays von E-Readern oder Smartphones sind PDF leider eher nervig, weil zu viel Scrollen notwendig ist.
Mit Adobe-DRM wird hier ein „harter” Kopierschutz verwendet. Wenn die notwendigen Voraussetzungen nicht vorliegen, können Sie das E-Book leider nicht öffnen. Daher müssen Sie bereits vor dem Download Ihre Lese-Hardware vorbereiten.
Bitte beachten Sie: Wir empfehlen Ihnen unbedingt nach Installation der Lese-Software diese mit Ihrer persönlichen Adobe-ID zu autorisieren!
Weitere Informationen finden Sie in unserer E-Book Hilfe.