Get Programming with JavaScript Год издания: 2016 Автор: John Larsen Жанр или тематика: Веб-программирование Издательство: Manning Publications ISBN: 978-1617293108 Язык: Английский Формат: PDF/EPUB Качество: Издательский макет или текст (eBook) Интерактивное оглавление: Да Количество страниц: 432 Описание: 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? 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
Примеры страниц
Оглавление
brief contents PART 1 CORE CONCEPTS ON THE CONSOLE . .............................1 1 Programming, JavaScript, and JS Bin 3 2 Variables: storing data in your program 16 3 Objects: grouping your data 27 4 Functions: code on demand 40 5 Arguments: passing data to functions 57 6 Return values: getting data from functions 70 7 Object arguments: functions working with objects 83 8 Arrays: putting data into lists 104 9 Constructors: building objects with functions 122 10 Bracket notation: flexible property names 147 PART 2 ORGANIZING YOUR PROGRAMS ..................................169 11 Scope: hiding information 171 12 Conditions: choosing code to run 198 13 Modules: breaking a program into pieces 221 14 Models: working with data 248 15 Views: displaying data 264 16 Controllers: linking models and views 280 PART 3 JAVASCRIPT IN THE BROWSER.....................................299 17 HTML: building web pages 301 18 Controls: getting user input 323 19 Templates: filling placeholders with data 343 20 XHR: loading data 367 21 Conclusion: get programming with JavaScript 387
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum