

Zachary Kessin first discovered the world wide web around 1993 when NCSA Mosaic was still the dominant browser.
Meer over Zachary KessinBuilding Web Applications with Erlang
Working with REST and Web-Sockets on Yaws
Samenvatting
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
Specificaties
Inhoudsopgave
1. Building Scalable Systems with Erlang and REST
-Why Erlang?
-Why Web Services? Why REST?
-New Opportunities for Scaling and Resilience
2. Getting Started with Yaws
-Working with Yaws
-Dynamic Content in Yaws
-Templates
-Logging
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
4. Implementing REST
-Decoding a Request
-Response and Headers
-Building the Response
-Responding to the REST Request
-A Full Example
5. File Upload
-The File Upload Request
-Saving to Disk
-Putting It All Together
-Storage in a Distributed System
-Saving to Amazon S3
6. WebSockets
-The WebSocket Request
-Basic WebSocket Handler
-Advanced WebSocket Handler
7. Streaming
-Simple Streaming
8. Using the HTTP Client
-Making a Request
-Using OAuth
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
Appendix C: Interfacing with Ruby and Python
Appendix D: Using Erlang with Emacs
Anderen die dit boek kochten, kochten ook
Net verschenen
Rubrieken
- aanbestedingsrecht
- aansprakelijkheids- en verzekeringsrecht
- accountancy
- algemeen juridisch
- arbeidsrecht
- bank- en effectenrecht
- bestuursrecht
- bouwrecht
- burgerlijk recht en procesrecht
- europees-internationaal recht
- fiscaal recht
- gezondheidsrecht
- insolventierecht
- intellectuele eigendom en ict-recht
- management
- mens en maatschappij
- milieu- en omgevingsrecht
- notarieel recht
- ondernemingsrecht
- pensioenrecht
- personen- en familierecht
- sociale zekerheidsrecht
- staatsrecht
- strafrecht en criminologie
- vastgoed- en huurrecht
- vreemdelingenrecht