Building web applications with Erlang: [working with REST and web-sockets on Yaws]
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
Beijing ; Köln [u.a.]
O'Reilly
2012
|
Ausgabe: | 1. ed. |
Schlagworte: | |
Online-Zugang: | Inhaltsverzeichnis |
Beschreibung: | XVI, 133 S. graph. Darst. |
ISBN: | 9781449309961 1449309968 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV040923683 | ||
003 | DE-604 | ||
005 | 20140522 | ||
007 | t | ||
008 | 130403s2012 d||| |||| 00||| eng d | ||
015 | |a 12,N04 |2 dnb | ||
016 | 7 | |a 1018962344 |2 DE-101 | |
020 | |a 9781449309961 |c : EUR 12.00 (DE) (freier Pr.) |9 978-1-449-30996-1 | ||
020 | |a 1449309968 |9 1-449-30996-8 | ||
024 | 3 | |a 9781449309961 | |
035 | |a (OCoLC)844044972 | ||
035 | |a (DE-599)DNB1018962344 | ||
040 | |a DE-604 |b ger |e rakddb | ||
041 | 0 | |a eng | |
049 | |a DE-739 |a DE-473 | ||
084 | |a ST 250 |0 (DE-625)143626: |2 rvk | ||
084 | |a 004 |2 sdnb | ||
100 | 1 | |a Kessin, Zachary |e Verfasser |0 (DE-588)1050970454 |4 aut | |
245 | 1 | 0 | |a Building web applications with Erlang |b [working with REST and web-sockets on Yaws] |c Zachary Kessin |
246 | 1 | 3 | |a Programming web services with Erlang |
250 | |a 1. ed. | ||
264 | 1 | |a Beijing ; Köln [u.a.] |b O'Reilly |c 2012 | |
300 | |a XVI, 133 S. |b graph. Darst. | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
650 | 0 | 7 | |a ERLANG |0 (DE-588)4324177-3 |2 gnd |9 rswk-swf |
689 | 0 | 0 | |a ERLANG |0 (DE-588)4324177-3 |D s |
689 | 0 | |5 DE-604 | |
856 | 4 | 2 | |m Digitalisierung UB Passau |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=025902785&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
999 | |a oai:aleph.bib-bvb.de:BVB01-025902785 |
Datensatz im Suchindex
_version_ | 1804150219719311360 |
---|---|
adam_text | Table
of
Contents
Preface
.....................................................................
vii
1.
Building Scalable
Systems
with
Erlang
and REST
............................. 1
Why
Erlang? 1
Erlang s Advantages
2
Lack of Types
3
OTP
—
For More Than Just Telecom!
4
Why Web Services? Why REST?
4
New Opportunities for Scaling and Resilience
6
Cloud Computing
6
System Architecture and
Erlang
Scaling
7
Data Storage Options
9
2.
Getting Started with Yaws
...............................................15
Working with Yaws
16
Starting Yaws
16
Serving Static Files
17
Compiling, Loading, and Running Code
18
Clustering Yaws
20
Dynamic Content in Yaws
21
EHTML
24
Headers and Redirects
25
Templates
26
ErlyDTL
26
Logging
30
Erlang
OTP errorjogger
31
3.
Appmods: Dynamic Content in Yaws
...................................... 33
Appmod Configuration
34
When the
URI
Does Not Correspond to a File
34
Cookies
35
Session
Handling
36
Access
Control
38
Interacting with
Erlang
Services and Business Logic Layers
39
4.
Implementing REST
....................................................41
Decoding a Request
41
Extracting the User s Request
41
Response and Headers
43
Building the Response
45
JSON
47
XML
49
Responding to the REST Request
51
A Full Example
51
5.
File Upload
........................................................... 59
The File Upload Request
59
Saving to Disk
61
Putting It All Together
63
Storage in a Distributed System
65
Saving to Amazon
S3 66
6.
WebSockets
...........................................................69
The WebSocket Request
70
Basic WebSocket Handler
72
Advanced WebSocket Handler
74
7.
Streaming
............................................................ 79
Simple Streaming
79
8.
Using the HTTP Client
...................................................83
Making a Request
83
Using OAuth
86
Facebook Canvas
86
9.
Building an Application with
OTP
.........................................91
Directory Structure
92
Building an Application Server
93
The Generic Server
93
The Multicast Server
96
Interfacing the Server with the Web
101
Some Client-Side Code
102
Let s Have Some Adult Supervision Around Here!
104
A Little Optimization
108
Bundling as an Application
114
The App File
115
Wrapping Up
OTP
117
A. Installing
Erlang
and Yaws
............................................. 119
B. Beyond Yaws
.........................................................121
С
Interfacing with Ruby and Python
.......................................125
D. Using
Erlang
with Emacs
...............................................129
|
any_adam_object | 1 |
author | Kessin, Zachary |
author_GND | (DE-588)1050970454 |
author_facet | Kessin, Zachary |
author_role | aut |
author_sort | Kessin, Zachary |
author_variant | z k zk |
building | Verbundindex |
bvnumber | BV040923683 |
classification_rvk | ST 250 |
ctrlnum | (OCoLC)844044972 (DE-599)DNB1018962344 |
discipline | Informatik |
edition | 1. ed. |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>01487nam a2200397 c 4500</leader><controlfield tag="001">BV040923683</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20140522 </controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">130403s2012 d||| |||| 00||| eng d</controlfield><datafield tag="015" ind1=" " ind2=" "><subfield code="a">12,N04</subfield><subfield code="2">dnb</subfield></datafield><datafield tag="016" ind1="7" ind2=" "><subfield code="a">1018962344</subfield><subfield code="2">DE-101</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781449309961</subfield><subfield code="c">: EUR 12.00 (DE) (freier Pr.)</subfield><subfield code="9">978-1-449-30996-1</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">1449309968</subfield><subfield code="9">1-449-30996-8</subfield></datafield><datafield tag="024" ind1="3" ind2=" "><subfield code="a">9781449309961</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)844044972</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)DNB1018962344</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">rakddb</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-739</subfield><subfield code="a">DE-473</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 250</subfield><subfield code="0">(DE-625)143626:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">004</subfield><subfield code="2">sdnb</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Kessin, Zachary</subfield><subfield code="e">Verfasser</subfield><subfield code="0">(DE-588)1050970454</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Building web applications with Erlang</subfield><subfield code="b">[working with REST and web-sockets on Yaws]</subfield><subfield code="c">Zachary Kessin</subfield></datafield><datafield tag="246" ind1="1" ind2="3"><subfield code="a">Programming web services with Erlang</subfield></datafield><datafield tag="250" ind1=" " ind2=" "><subfield code="a">1. ed.</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Beijing ; Köln [u.a.]</subfield><subfield code="b">O'Reilly</subfield><subfield code="c">2012</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">XVI, 133 S.</subfield><subfield code="b">graph. Darst.</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">ERLANG</subfield><subfield code="0">(DE-588)4324177-3</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">ERLANG</subfield><subfield code="0">(DE-588)4324177-3</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">Digitalisierung UB Passau</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=025902785&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="999" ind1=" " ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-025902785</subfield></datafield></record></collection> |
id | DE-604.BV040923683 |
illustrated | Illustrated |
indexdate | 2024-07-10T00:35:27Z |
institution | BVB |
isbn | 9781449309961 1449309968 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-025902785 |
oclc_num | 844044972 |
open_access_boolean | |
owner | DE-739 DE-473 DE-BY-UBG |
owner_facet | DE-739 DE-473 DE-BY-UBG |
physical | XVI, 133 S. graph. Darst. |
publishDate | 2012 |
publishDateSearch | 2012 |
publishDateSort | 2012 |
publisher | O'Reilly |
record_format | marc |
spelling | Kessin, Zachary Verfasser (DE-588)1050970454 aut Building web applications with Erlang [working with REST and web-sockets on Yaws] Zachary Kessin Programming web services with Erlang 1. ed. Beijing ; Köln [u.a.] O'Reilly 2012 XVI, 133 S. graph. Darst. txt rdacontent n rdamedia nc rdacarrier ERLANG (DE-588)4324177-3 gnd rswk-swf ERLANG (DE-588)4324177-3 s DE-604 Digitalisierung UB Passau application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=025902785&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis |
spellingShingle | Kessin, Zachary Building web applications with Erlang [working with REST and web-sockets on Yaws] ERLANG (DE-588)4324177-3 gnd |
subject_GND | (DE-588)4324177-3 |
title | Building web applications with Erlang [working with REST and web-sockets on Yaws] |
title_alt | Programming web services with Erlang |
title_auth | Building web applications with Erlang [working with REST and web-sockets on Yaws] |
title_exact_search | Building web applications with Erlang [working with REST and web-sockets on Yaws] |
title_full | Building web applications with Erlang [working with REST and web-sockets on Yaws] Zachary Kessin |
title_fullStr | Building web applications with Erlang [working with REST and web-sockets on Yaws] Zachary Kessin |
title_full_unstemmed | Building web applications with Erlang [working with REST and web-sockets on Yaws] Zachary Kessin |
title_short | Building web applications with Erlang |
title_sort | building web applications with erlang working with rest and web sockets on yaws |
title_sub | [working with REST and web-sockets on Yaws] |
topic | ERLANG (DE-588)4324177-3 gnd |
topic_facet | ERLANG |
url | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=025902785&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT kessinzachary buildingwebapplicationswitherlangworkingwithrestandwebsocketsonyaws AT kessinzachary programmingwebserviceswitherlang |