October 2013
Intermediate to advanced
416 pages
13h 2m
English
Chapter 2. Building a multiroom chat application
Listing 2.1. A package descriptor file
Listing 2.2. Variable declarations
Listing 2.3. Serving static files
Listing 2.4. Logic to create an HTTP server
Listing 2.5. The HTML for the chat application
Listing 2.7. Starting up a Socket.IO server
Listing 2.8. Assigning a guest name
Listing 2.9. Logic related to joining a room
Listing 2.10. Logic to handle name-request attempts
Listing 2.11. Processing chat commands
Listing 2.12. Processing raw user input
Chapter 3. Node programming fundamentals