Books: 2


Summary Get Programming with JavaScript is a hands-on introduction to programming for readers who have never programmed. You'll be writing your own web apps, games, and programs in no time! Foreword by Remy Sharp. About the Book Are you ready to start writing your own web apps, games, and programs? more » You’re in the right place! Get Programming with JavaScript is a hands-on introduction to programming for readers who have never written a line of code. Since you’re just getting started, this friendly book offers you lots of examples backed by careful explanations. As you go along, you’ll find exercises to check your understanding and plenty of opportunities to practice your new skills. You don’t need any­thing special to follow the examples—just the text editor and web browser already installed on your computer. We even give you links to working online code so you can see how everything should look live on your screen. What’s Inside * All the basics — objects, functions, responding to users, and more * Think like a coder and design your own programs * Create a text-based adventure game * Enhance web pages with JavaScript * Run your programs in a web browser * Four bonus chapters available online About the Reader No experience required! All you need is a web browser and an internet connection. About the Author John Larsen is a mathematics and computing teacher with an interest in educational research. He has an MA in mathematics and an MSc in information technology. He started programming in 1982, writing simple programs for teaching mathematics in 1993, building websites in 2001, and developing data-driven web-based applications for education in 2006. Table of Contents 1. PART 1 CORE CONCEPTS ON THE CONSOLE 2. Programming, JavaScript, and JS Bin 3. Variables: storing data in your program 4. Objects: grouping your data 5. Functions: code on demand 6. Arguments: passing data to functions 7. Return values: getting data from functions 8. Object arguments: functions working with objects 9. Arrays: putting data into lists 10. Constructors: building objects with functions 11. Bracket notation: flexible property names 12. PART 2 ORGANIZING YOUR PROGRAMS 13. Scope: hiding information 14. Conditions: choosing code to run 15. Modules: breaking a program into pieces 16. Models: working with data 17. Views: displaying data 18. Controllers: linking models and views 19. PART 3 JAVASCRIPT IN THE BROWSER 20. HTML: building web pages 21. Controls: getting user input 22. Templates: filling placeholders with data 23. XHR: loading data 24. Conclusion: get programming with JavaScript 25. BONUS ONLINE CHAPTERS 26. Node: running JavaScript outside the browser 27. Express: building an API 28. Polling: repeating requests with XHR 29. Socket.IO: real-time messaging « less
What every web developer should know about networking and web performance
How prepared are you to build fast and efficient web applications? This eloquent book provides what every web developer should know about the network, from fundamental limitations that affect performance to major innovations for building even more powerful browser applications - including HTTP 2.0 and more » XHR improvements, Server-Sent Events (SSE), WebSocket, and WebRTC. Author Ilya Grigorik, a web performance engineer at Google, demonstrates performance optimization best practices for TCP, UDP, and TLS protocols, and explains unique wireless and mobile network optimization requirements. You'll then dive into performance characteristics of technologies such as HTTP 2.0, client-side network scripting with XHR, real-time streaming with SSE and WebSocket, and P2P communication with WebRTC. « less