Skip to Main Content

Get Programming with JavaScript

Published by Manning
Distributed by Simon & Schuster

About The Book

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.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Book

Are you ready to start writing your own web apps, games, and programs? 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

    PART 1 CORE CONCEPTS ON THE CONSOLE

  1. Programming, JavaScript, and JS Bin
  2. Variables: storing data in your program
  3. Objects: grouping your data
  4. Functions: code on demand
  5. Arguments: passing data to functions
  6. Return values: getting data from functions
  7. Object arguments: functions working with objects
  8. Arrays: putting data into lists
  9. Constructors: building objects with functions
  10. Bracket notation: flexible property names
  11. PART 2 ORGANIZING YOUR PROGRAMS

  12. Scope: hiding information
  13. Conditions: choosing code to run
  14. Modules: breaking a program into pieces
  15. Models: working with data
  16. Views: displaying data
  17. Controllers: linking models and views
  18. PART 3 JAVASCRIPT IN THE BROWSER

  19. HTML: building web pages
  20. Controls: getting user input
  21. Templates: filling placeholders with data
  22. XHR: loading data
  23. Conclusion: get programming with JavaScript
  24. BONUS ONLINE CHAPTERS

  25. Node: running JavaScript outside the browser
  26. Express: building an API
  27. Polling: repeating requests with XHR
  28. Socket.IO: real-time messaging

About The Author

John Larsen is the author of Get Programming with JavaScript. He was a mathematics and computing teacher for 25 years. He has an MA in mathematics and an MSc in information technology, and an ongoing interest in educational research. A web developer since 2000, he uses JavaScript end-to-end for server-side and client-side programming.

Product Details

  • Publisher: Manning (August 9, 2016)
  • Length: 432 pages
  • ISBN13: 9781638353423

Browse Related Books

Resources and Downloads

High Resolution Images

More books from this author: John Larsen