Professional XMPP Programming with JavaScript and jQuery:
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
Indianapolis, Ind.
Wiley
2010
|
Schriftenreihe: | Wrox Programmer to programmer
|
Schlagworte: | |
Online-Zugang: | Inhaltsverzeichnis |
Beschreibung: | XXIV, 455 S. Ill. |
ISBN: | 9780470540718 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV036767508 | ||
003 | DE-604 | ||
005 | 00000000000000.0 | ||
007 | t | ||
008 | 101110s2010 a||| |||| 00||| eng d | ||
020 | |a 9780470540718 |9 978-0-470-54071-8 | ||
035 | |a (OCoLC)705958052 | ||
035 | |a (DE-599)BVBBV036767508 | ||
040 | |a DE-604 |b ger |e rakwb | ||
041 | 0 | |a eng | |
049 | |a DE-1050 | ||
084 | |a ST 250 |0 (DE-625)143626: |2 rvk | ||
100 | 1 | |a Moffitt, Jack |e Verfasser |4 aut | |
245 | 1 | 0 | |a Professional XMPP Programming with JavaScript and jQuery |c Jack Moffitt |
246 | 1 | 3 | |a XMPP Programming with JavaScript and jQuery |
264 | 1 | |a Indianapolis, Ind. |b Wiley |c 2010 | |
300 | |a XXIV, 455 S. |b Ill. | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
490 | 0 | |a Wrox Programmer to programmer | |
650 | 0 | 7 | |a Nachrichtenwesen |0 (DE-588)4171041-1 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a JavaScript |0 (DE-588)4420180-1 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a jQuery |0 (DE-588)7681087-2 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a World Wide Web |0 (DE-588)4363898-3 |2 gnd |9 rswk-swf |
689 | 0 | 0 | |a World Wide Web |0 (DE-588)4363898-3 |D s |
689 | 0 | 1 | |a Nachrichtenwesen |0 (DE-588)4171041-1 |D s |
689 | 0 | 2 | |a JavaScript |0 (DE-588)4420180-1 |D s |
689 | 0 | 3 | |a jQuery |0 (DE-588)7681087-2 |D s |
689 | 0 | |5 DE-604 | |
856 | 4 | 2 | |m HBZ Datenaustausch |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=020684424&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
999 | |a oai:aleph.bib-bvb.de:BVB01-020684424 |
Datensatz im Suchindex
_version_ | 1804143437325271040 |
---|---|
adam_text | Titel: Professional XMPP programming with JavaScript and jQuery
Autor: Moffitt, Jack
Jahr: 2010
CONTENTS
INTRODUCTION XIX
CHAPTER 1: GETTING TO KNOW XMPP
What Is XMPP? 4
A Brief History of XMPP 5
The XMPP Network 6
Servers 6
Clients 7
Components 7
Plug-ins 8
XMPP Addressing 8
XMPP Stanzas 9
Common Attributes 10
Presence Stanzas 11
Message Stanzas 13
IQ Stanzas 15
Error Stanzas 17
The Connection Life Cycle 18
Connection 18
Stream Set Up 19
Authentication 20
Disconnection 20
Summary 20
CHAPTER 2: DESIGNING XMPP APPLICATIONS 23
Learning from Others 24
XMPP versus HTTP 27
Advantages of XMPP 28
Disadvantages of XMPP 29
Bridging XMPP and the Web 30
Long Polling 30
Managing the Connection 31
Making JavaScript Speak XMPP 32
CONTENTS
Making XMPP Applications 33
The Browser Platform 33
Basic Infrastructure 33
Protocol Design 34
Summary 36
#Wftf« THE APPLICATIONS
CHAPTER 3: SAYING HELLO: THE FIRST APPLICATION 39
Application Preview 40
Hello Design 40
Preparing the Way 41
jQuery and jQuery Ul 42
Strophe 42
flXHR 43
XMPP Accounts 43
Starting Your First Application 43
User Interface 43
Application Code 45
Making Connections 47
The Connection Life Cycle 47
Creating a Connection 48
Connecting Hello 49
Running the Application 53
Creating Stanzas 53
Strophe Builders 54
Saying Hello 56
Handling Events 57
Adding and Removing Handlers 57
Stanza Matching 57
Stanza Handler Functions 58
Handling Responses in Hello 59
More Helios 62
Summary 62
CHAPTER 4: EXPLORING THE XMPP PROTOCOL:
A DEBUGGING CONSOLE 63
Application Preview 64
Peek Design 64
CONTENTS
Building the Console 65
User Interface 66
Displaying Traffic 68
Making XML Pretty 71
Dealing with XML Input 74
Making Input Easier 76
Exploring XMPP 81
Controlling Presence 81
Probing Versions 81
Dealing with Errors 82
Better Debugging 85
Summary 85
CHAPTER 5: M1CROBLOGGING IN REAL TIME: AN 1DENTICA CLIENT 87
Application Preview 88
Arthur Design 88
Microblogging with Identica 89
Creating Your Account 90
Turning on XMPP 90
Building Arthur 90
Getting Started 91
Receiving Messages 93
XHTML-IM 94
Adding XHTML-IM to Arthur 95
Sending Messages 96
Offline Messages 97
Creating a Better Microblogger 101
Summary 102
CHAPTER 6: TALKING WITH FRIENDS: ONE-ON-ONE CHAT 103
Application Preview 104
Gab Design 104
Presence 105
Messages 105
Chat Area 105
Roster Area 106
Making the Interface 106
CONTENTS
Building the Roster 109
Requesting Rosters 111
Handling IQs 113
Updating Presence Status 114
Adding New Contacts 116
Responding to Roster Changes 117
Dealing with Subscription Requests 119
Building the Chats 122
Working with Tabs 122
Creating New Chats 123
Sending Messages 124
Best Practices for Instant Messaging 127
Understanding Message Routing 127
Addressing Messages Better 127
Adding Activity Notifications 130
Understanding Chat States 130
Sending Notifications 131
Receiving Notifications 132
Final Touches 133
Gabbing More 143
Summary 143
CHAPTER 7: EXPLORING SERVICES: SERVICE DISCOVERY
AND BROWSING 145
Application Preview 146
Dig Design 146
Finding Information 147
Disco#info Queries 147
Disco#items Queries 148
Disco Nodes 149
Creating Dig 149
initial Disco Queries 153
Browsing the Disco Tree 155
Digging into Services 160
Finding a Proxy Server 161
Discovering Features 162
Looking for a Chat 162
Discovering More 163
Summary 163
CONTENTS
CHAPTER 8: GROUP CHATTING: A MULTI-USER CHAT CLIENT 165
Application Preview 166
Groupie Design 167
Public Speaking 167
Group Chat Services 167
Entering and Leaving a Room 168
Sending and Receiving Messages 171
Anonymity 171
Creating Rooms 172
Understanding Roles and Affiliations 173
Building the Interface 175
Joining the Room 179
Dealing with Presence and Messages 183
Handling Room Messages 183
Tracking Presence Changes 185
Chat History 186
Keeping It Private 187
Describing Actions 190
Managing the Room 191
Changing Topics 191
Dealing with Troublemakers 192
Recruiting Help 194
Improving Groupie 201
Summary 201
CHAPTER 9: PUBLISHING AND SUBSCRIBING:
A SHARED SKETCH PAD INTRODUCTION 203
SketchCast Preview 204
SketchCast Design 205
Everything Is Pubsub 205
Presenter s Flow 205
Audience s Flow 206
Filling Out Forms 206
What Is The Data Forms Extension? 206
Form Elements, Fields, and Types 207
Standardized Form Fields 210
CONTENTS
Working with Pubsub Nodes 211
Creating Nodes 211
Configuring Nodes 213
Pubsub Events 215
Publishing to a Node 215
Subscribing and Unsubscribing 216
Retrieving Subscriptions 218
Retrieving Items 219
Subscription Management 221
Broadcasting Sketches Using Pubsub 222
Building the Interface 222
Sketching with Canvas 225
Logging In and Making Nodes 228
Publishing and Receiving Sketch Events 234
Summary 249
CHAPTER 10: WRITING WITH FRIENDS:
A COLLABORATIVE TEXT EDITOR 251
Application Preview 252
NetPad Design 252
Operational Transformation 253
Basic Principles 253
Details of the Algorithm 255
Implementation 256
Extending the XMPP Protocol 267
Ignoring the Unknown 267
XML Namespaces 268
Extended Elements 268
Extended Attributes 270
Contributing Extensions 271
Designing the Protocol 271
Testing for Support 272
Requesting and Controlling Sessions 272
Editing Operations 273
Building the Editor 274
The Initial Skeleton 274
Starting Editing Sessions 278
Chatting About Work 284
Making Edits 287
Expanding NetPad 298
Summary 298
CONTENTS
CHAPTER 11: PLAYING GAMES: HEAD TO HEAD TIC-TAC-TOE 299
Application Preview 300
Toetem Design 301
Designing the Game Protocol 302
Keeping Track of Users 303
Managing Players 304
Managing Games 305
Playing and Watching the Game 308
Getting Started on Toetem 311
Implementing Sessions and the Waiting List 317
Referee Version One 317
Toetem Client Version One 322
Implementing Game Management 325
Referee Version Two 325
Toetem Client Version Two 334
Implementing the Game Logic 338
The Tic-Tac-Toe Library 338
Referee Version Three 343
Toetem Client Version Three 345
Making the Game More Fun 372
Summary 373
CHAPTER 12: GETTING ATTACHED: BOOTSTRAPPING BOSH 377
Session Attachment 378
The Mechanics of Sessions 378
Use Cases 379
Automatic Logins with Session Attachment 380
Creating the Django Project 381
Summary 385
CHAPTER 13: DEPLOYING XMPP APPLICATIONS 387
Growing Horizontally 387
Multiple Connection Managers 388
Clustering XMPP Servers 391
Spreading Out Components 392
Federating Internally 393
Becoming a Server 393
CONTENTS
Growing Vertically 394
Reducing Latency 394
Minimizing XML Serialization 397
Optimizing DOM Operations 398
Summary 399
CHAPTER 14: WRITING STROPHE PLUG-INS 401
Using Plug-ins 402
Loading Plug-ins 402
Accessing Plug-in Functionality 402
Building Plug-ins 403
Creating a Roster Plug-in 404
Storing Contacts 405
Getting and Maintaining the Roster 407
Manipulating the Roster 411
Taking the Plug-in for a Spin 412
Improving the Roster Plug-in 417
Summary 417
Appendix A: Getting Started with jQuery 419
Appendix B: Setting Up a BOSH Connection Manager 429
INDEX 441
|
any_adam_object | 1 |
author | Moffitt, Jack |
author_facet | Moffitt, Jack |
author_role | aut |
author_sort | Moffitt, Jack |
author_variant | j m jm |
building | Verbundindex |
bvnumber | BV036767508 |
classification_rvk | ST 250 |
ctrlnum | (OCoLC)705958052 (DE-599)BVBBV036767508 |
discipline | Informatik |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>01596nam a2200409 c 4500</leader><controlfield tag="001">BV036767508</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">00000000000000.0</controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">101110s2010 a||| |||| 00||| eng d</controlfield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9780470540718</subfield><subfield code="9">978-0-470-54071-8</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)705958052</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)BVBBV036767508</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">rakwb</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-1050</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="100" ind1="1" ind2=" "><subfield code="a">Moffitt, Jack</subfield><subfield code="e">Verfasser</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Professional XMPP Programming with JavaScript and jQuery</subfield><subfield code="c">Jack Moffitt</subfield></datafield><datafield tag="246" ind1="1" ind2="3"><subfield code="a">XMPP Programming with JavaScript and jQuery</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Indianapolis, Ind.</subfield><subfield code="b">Wiley</subfield><subfield code="c">2010</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">XXIV, 455 S.</subfield><subfield code="b">Ill.</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="490" ind1="0" ind2=" "><subfield code="a">Wrox Programmer to programmer</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Nachrichtenwesen</subfield><subfield code="0">(DE-588)4171041-1</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">JavaScript</subfield><subfield code="0">(DE-588)4420180-1</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">jQuery</subfield><subfield code="0">(DE-588)7681087-2</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">World Wide Web</subfield><subfield code="0">(DE-588)4363898-3</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">World Wide Web</subfield><subfield code="0">(DE-588)4363898-3</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2="1"><subfield code="a">Nachrichtenwesen</subfield><subfield code="0">(DE-588)4171041-1</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2="2"><subfield code="a">JavaScript</subfield><subfield code="0">(DE-588)4420180-1</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2="3"><subfield code="a">jQuery</subfield><subfield code="0">(DE-588)7681087-2</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">HBZ Datenaustausch</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=020684424&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-020684424</subfield></datafield></record></collection> |
id | DE-604.BV036767508 |
illustrated | Illustrated |
indexdate | 2024-07-09T22:47:39Z |
institution | BVB |
isbn | 9780470540718 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-020684424 |
oclc_num | 705958052 |
open_access_boolean | |
owner | DE-1050 |
owner_facet | DE-1050 |
physical | XXIV, 455 S. Ill. |
publishDate | 2010 |
publishDateSearch | 2010 |
publishDateSort | 2010 |
publisher | Wiley |
record_format | marc |
series2 | Wrox Programmer to programmer |
spelling | Moffitt, Jack Verfasser aut Professional XMPP Programming with JavaScript and jQuery Jack Moffitt XMPP Programming with JavaScript and jQuery Indianapolis, Ind. Wiley 2010 XXIV, 455 S. Ill. txt rdacontent n rdamedia nc rdacarrier Wrox Programmer to programmer Nachrichtenwesen (DE-588)4171041-1 gnd rswk-swf JavaScript (DE-588)4420180-1 gnd rswk-swf jQuery (DE-588)7681087-2 gnd rswk-swf World Wide Web (DE-588)4363898-3 gnd rswk-swf World Wide Web (DE-588)4363898-3 s Nachrichtenwesen (DE-588)4171041-1 s JavaScript (DE-588)4420180-1 s jQuery (DE-588)7681087-2 s DE-604 HBZ Datenaustausch application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=020684424&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis |
spellingShingle | Moffitt, Jack Professional XMPP Programming with JavaScript and jQuery Nachrichtenwesen (DE-588)4171041-1 gnd JavaScript (DE-588)4420180-1 gnd jQuery (DE-588)7681087-2 gnd World Wide Web (DE-588)4363898-3 gnd |
subject_GND | (DE-588)4171041-1 (DE-588)4420180-1 (DE-588)7681087-2 (DE-588)4363898-3 |
title | Professional XMPP Programming with JavaScript and jQuery |
title_alt | XMPP Programming with JavaScript and jQuery |
title_auth | Professional XMPP Programming with JavaScript and jQuery |
title_exact_search | Professional XMPP Programming with JavaScript and jQuery |
title_full | Professional XMPP Programming with JavaScript and jQuery Jack Moffitt |
title_fullStr | Professional XMPP Programming with JavaScript and jQuery Jack Moffitt |
title_full_unstemmed | Professional XMPP Programming with JavaScript and jQuery Jack Moffitt |
title_short | Professional XMPP Programming with JavaScript and jQuery |
title_sort | professional xmpp programming with javascript and jquery |
topic | Nachrichtenwesen (DE-588)4171041-1 gnd JavaScript (DE-588)4420180-1 gnd jQuery (DE-588)7681087-2 gnd World Wide Web (DE-588)4363898-3 gnd |
topic_facet | Nachrichtenwesen JavaScript jQuery World Wide Web |
url | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=020684424&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT moffittjack professionalxmppprogrammingwithjavascriptandjquery AT moffittjack xmppprogrammingwithjavascriptandjquery |