• Complain

John Larsen - Get Programming with JavaScript

Here you can read online John Larsen - Get Programming with JavaScript full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2016, publisher: Manning Publications, genre: Home and family. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

John Larsen Get Programming with JavaScript
  • Book:
    Get Programming with JavaScript
  • Author:
  • Publisher:
    Manning Publications
  • Genre:
  • Year:
    2016
  • Rating:
    4 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 80
    • 1
    • 2
    • 3
    • 4
    • 5

Get Programming with JavaScript: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Get Programming with JavaScript" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Summary

Get Programming with JavaScript is a hands-on introduction to programming for readers who have never programmed. Youll 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? Youre 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 youre just getting started, this friendly book offers you lots of examples backed by careful explanations. As you go along, youll find exercises to check your understanding and plenty of opportunities to practice your new skills. You dont need anything special to follow the examplesjust 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.

Whats Inside

  • All the basicsobjects, 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

John Larsen: author's other books


Who wrote Get Programming with JavaScript? Find out the surname, the name of the author of the book and a list of all author's works by series.

Get Programming with JavaScript — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Get Programming with JavaScript" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Get Programming with JavaScript
John R. Larsen

Get Programming with JavaScript - image 1

Copyright

For online information and ordering of this and other Manning books, please visit www.manning.com. The publisher offers discounts on this book when ordered in quantity. For more information, please contact

Special Sales Department Manning Publications Co. 20 Baldwin Road PO Box 761 Shelter Island, NY 11964 Email: orders@manning.com

2016 by Manning Publications Co. All rights reserved.

No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by means electronic, mechanical, photocopying, or otherwise, without prior written permission of the publisher.

Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in the book, and Manning Publications was aware of a trademark claim, the designations have been printed in initial caps or all caps.

Picture 2 Recognizing the importance of preserving what has been written, it is Mannings policy to have the books we publish printed on acid-free paper, and we exert our best efforts to that end. Recognizing also our responsibility to conserve the resources of our planet, Manning books are printed on paper that is at least 15 percent recycled and processed without the use of elemental chlorine.

Picture 3Manning Publications Co.20 Baldwin RoadPO Box 761Shelter Island, NY 11964
Development editor: Helen StergiusTechnical development editors: Chuck Henderson, Ozren HarlovicReview editor: Ozren HarlovicProject editor: Tiffany TaylorCopyeditor: Linda RecktenwaldProofreaders: Elizabeth MartinBonnie CulverhouseTechnical proofreader: Romin IraniTypesetter: Dennis DalinnikCover designer: Leslie Haimes

ISBN: 9781617293108

Printed in the United States of America

1 2 3 4 5 6 7 8 9 10 EBM 21 20 19 18 17 16

Brief Table of Contents
Table of Contents
Foreword

When John emailed me to ask if I would write a foreword for Get Programming with JavaScript, I have to admit the main thing that got me on the hook was that he had used JS Bin throughout the book to let readers try out live demos. JS Bin was created in 2008 as a place for programmers to collaborate, test, debug, experiment, and share. Education is close to JS Bins heart, so Johns background as a teacher and his practical approach seemed like a great fit with its ethos and purpose. Im a firm believer that getting your hands dirty with real code is a great way to learn, and being encouraged to create, extend, play, and rewrite, all in a safe, no-mistakes-barred space, looked like a good idea for a beginners programming book.

As the developer of JS Bin, an application created with JavaScript, Im always excited to see JS Bin being used to teach beginners, and thats exactly what John does with this book. It goes without saying that different people in different contexts take different lengths of time to learn programming. But they all benefit from a practical approach. JS Bin, as a free resource requiring no installation, provides an instantly accessible environment in which to learn, and this book provides the guidance to get started, the support to keep practicing, and the encouragement to enjoy the adventure.

I remember seeing object dot notation well over 10 years ago and wondering how I was supposed to Google What does . mean? If Id had Johns gentle and thorough introduction to JavaScript back then, I would have saved myself a lot of pain wading through many failed search attempts! He doesnt cover everything, but he takes his time with key concepts, showing patience and consideration for readers and encouraging them to stretch their knowledge and build their skills. The variety of examples really helps; theres lots to get your teeth into, but also plenty of support and suggestions for further practice. Dont get lost in The Crypttrust your guide. It builds into a substantial project and should help you see how little pieces can make big apps.

Ive had the privilege of creating a number of tools for the programmer community, and a number of JavaScript tools in particular. Programming lets us make things for fun, for profit, and for others, and its wonderful to welcome newcomers to the fold; who knows what great ideas theyll have as they build the next big thing (or the next small thing!)? Im thrilled that their first steps on such an exciting path will be on JS Bin. Welcome! Create bins for your code, tinker, share, and build up your bank of modules. Get Programming with JavaScript shows you how to manage your code bins and combine them into bigger projects. (You even get to play with the HTML and CSS panels on JS Bin!)

Enjoy the book, dear reader. I expect that by the end of it, youll have a firm grasp of how to write JavaScript.

R emy S harp

F ounder of JS B in

Preface

I started programming using the BASIC language on a Commodore VIC-20 in 1982. It had 3.5 KB of RAM, and programming involved me copying a program from a magazine, instruction by instruction and line by line. The process was time-consuming and error-prone, but it certainly built focus and attention to detail! Rather than cut-and-paste, it was read-and-type; but eventually, the program was transferred from the printed page to the computers memory. Then the moment of truth ... and alas, it never worked the first time. And thats where my learning really began.

Staring at the code, trying to make sense of the instructions and follow the flow of the program as it jumped from line to line, I had to think carefully and patiently about what was going on. Not everything made sensesometimes squeezing a program into 3.5 KB required some seriously supple code gymnasticsbut, bit by bit, the programs secrets would start to reveal themselves. Sometimes my typos stopped the program from running; sometimes there were mistakes in the code itself. Most of the time, but not always, I eventually got the program to run.

Half the time, the program would turn out to be rubbish! Id reach out and hit the VIC-20s off switch, and the program would be gone forever. (It took five minutes and a cassette-tape recorder to save, and some programs just werent worth it.) I wasnt usually upset, and I didnt see it as a waste of time; from the start, I was amazed by the transformation of text into a working program (even a rubbish one) on the computer screen.

Today, in 2016, with our smartphones, tablets, drones, and AI Go champions, that sense of wonder has grown even stronger. Programming is magical and transformative. Even knowing how it works, I still love how my typed instructions turn into a working website, a fun game, or a useful utility.

As a teacher in the United Kingdom, Im privileged to be able to teach 16- and 17-year-olds programming. My philosophy is to let them get programming from lesson one: to enter code and see the result as soon as possible. I want them to be curious and experiment at all times. Its great to see their eyes widen and their smiles grow as they start their adventures in code and realize they can convert imagination into reality. Online code-editing environments such as JS Bin allow them to quickly try out ideas and build projects piece by piece. They dont learn a long list of language features before beginning; they learn a few concepts at a time, often in response to getting stuck but also directly from me (they dont know what they dont know), and they practice and experiment before moving on. Their skills build day by day and week by week, and code that might have seemed like cryptic hieroglyphs at the start of the course becomes second nature by the end. Its great to be a part of that learning process.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Get Programming with JavaScript»

Look at similar books to Get Programming with JavaScript. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Get Programming with JavaScript»

Discussion, reviews of the book Get Programming with JavaScript and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.