Book Description
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 anything 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
Chapter 1 Programming, JavaScript, and JS Bin
Chapter 2 Variables: storing data in your program
Chapter 3 Objects: grouping your data
Chapter 4 Functions: code on demand
Chapter 5 Arguments: passing data to functions
Chapter 6 Return values: getting data from functions
Chapter 7 Object arguments: functions working with objects
Chapter 8 Arrays: putting data into lists
Chapter 9 Constructors: building objects with functions
Chapter 10 Bracket notation: flexible property names
Part 2 Organizing your programs
Chapter 11 Scope: hiding information
Chapter 12 Conditions: choosing code to run
Chapter 13 Modules: breaking a program into pieces
Chapter 14 Models: working with data
Chapter 15 Views: displaying data
Chapter 16 Controllers: linking models and views
Part 3 JavaScript in the browser
Chapter 17 HTML: building web pages
Chapter 18 Controls: getting user input
Chapter 19 Templates: filling placeholders with data
Chapter 20 XHR: loading data
Chapter 21 Conclusion: get programming with JavaScript
中文:
书名:Get Programming with JavaScript
摘要
Get Programming with JavaScript 是为从未编程的读者提供的编程实践入门。您很快就可以编写自己的Web应用程序、游戏和程序了!作者声明:by Remy Sharp;
购买纸质书包括从Manning Publications购买PDF、Kindle和ePub格式的免费电子书。
关于这本书
您准备好开始编写自己的Web应用程序、游戏和程序了吗?你来对地方了! Get Programming with JavaScript 是为从未编写过一行代码的读者提供的编程实践入门。由于你才刚刚开始,这本友好的书为你提供了大量的例子,并有详细的解释。在你前进的过程中,你会找到练习来检验你的理解力,并有大量的机会来练习你的新技能。你不需要任何特殊的东西来遵循这些例子-只需在你的电脑上安装文本编辑器和网络浏览器。我们甚至给你提供了在线代码的链接,这样你就可以看到屏幕上的一切都应该是什么样的。
里面是什么?
- 所有基本要素-对象、函数、对用户的响应等
- 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.
关于作者
约翰·拉森,约翰·拉森。 是一名数学和计算机教师,对教育研究感兴趣。他拥有数学硕士学位和信息技术硕士学位。他从1982年开始编程,1993年编写简单的数学教学程序,2001年建立网站,2006年开发数据驱动的基于网络的教育应用程序。
Table of Contents
Part 1 Core concepts on the console
Chapter 1 Programming, JavaScript, and JS Bin
Chapter 2 Variables: storing data in your program
Chapter 3 Objects: grouping your data
Chapter 4 Functions: code on demand
Chapter 5 Arguments: passing data to functions
Chapter 6 Return values: getting data from functions
第7章对象参数:函数使用对象
Chapter 8 Arrays: putting data into lists
第9章构造函数:使用函数构建对象
第10章方括号表示法:灵活的属性名称
Part 2 Organizing your programs
Chapter 11 Scope: hiding information
Chapter 12 Conditions: choosing code to run
Chapter 13 Modules: breaking a program into pieces
Chapter 14 Models: working with data
Chapter 15 Views: displaying data
Chapter 16 Controllers: linking models and views
Part 3 JavaScript in the browser
Chapter 17 HTML: building web pages
Chapter 18 Controls: getting user input
Chapter 19 Templates: filling placeholders with data
Chapter 20 XHR: loading data
第21章结论:使用JavaScript进行编程
评论前必须登录!
注册