Book Description
Today, JavaScript is used in 89.9% of all websites, including the most heavily-trafficked sites like Google, Facebook, YouTube, and Amazon. That’s why every web developer should know how to use JavaScript. The problem is that JavaScript is surprisingly difficult to learn, not only for programming novices but also for experienced programmers. But now, Murach’s JavaScript (2nd Edition) makes it easier than ever to become an accomplished JavaScript programmer.
To make that possible, section 1 of this book presents a six-chapter course in JavaScript that gets you off to a great start. This section works for programming novices as well as experienced programmers because it lets you set your own pace. When you finish this section, you’ll be able to write, test, and debug JavaScript applications of your own.
Then, section 2 builds on that base by presenting the additional skills that every JavaScript programmer must have. That includes working with arrays and web storage, creating and using your own object types in object-oriented applications, using regular expressions for data validation, and much more. For many developers, sections 1 and 2 will be all that they need to know.
But for those who want to move on to the expert level, section 3 presents the skills that will get you there. That includes skills like how to bulletproof your applications by using closures, namespaces, and modules; how to make your functions more useful by using callbacks; and how to use JSON to transmit and store data. Then, the last chapter in this section introduces you to jQuery and shows you how it can make your JavaScript code even better.
Table of Contents
Section 1 Get off to a fast start w ith JavaScript
Chapter 1 Introduction to web development
Chapter 2 Getting started with JavaScript
Chapter 3 The essential JavaScript statements
Chapter 4 How to work with JavaScript objects, functions, and events
Chapter 5 How to script forms and controls
Chapter 6 How to test and debug a JavaScript application
Section 2 JavaScript essentials
Chapter 7 How to work with numbers, strings, and dates
Chapter 8 How to code control statements
Chapter 9 How to work with arrays and web storage
Chapter 10 How to create and use functions
Chapter 11 How to create and use objects
Chapter 12 How to use regular expressions, handle exceptions, and validate data
Section 3 Advanced JavaScript skills
Chapter 13 How to work with events, images, and ti mers
Chapter 14 How to work with closur es, callbacks, and recursion
Chapter 15 How to work with namespaces, modules, and custom properties
Chapter 16 How to work with JavaScript Object Notation (JSON)
Chapter 17 When and how to usejQuery
Appendix A How to set up your computer for this book
Appendix B The ECMAScript5 methods in the shi m.js and sham.js files
中文:
书名:Murach’s JavaScript, 2nd Edition
如今,89.9%的网站都在使用脚本,包括谷歌、Facebook、YouTube和亚马逊等流量最大的网站。这就是为什么每个Web开发人员都应该知道如何使用JavaScript。问题是,不仅对于编程新手,而且对于有经验的程序员来说,学习JavaScript都出奇地困难。但现在,穆拉赫的JavaScript(第二版)比以往任何时候都更容易成为一名成就卓著的JavaScript程序员。
为了实现这一点,本书的第1部分提供了一个由六章组成的JavaScript课程,让您有一个很好的开端。这一节既适用于编程新手,也适用于有经验的程序员,因为它允许您设定自己的节奏。读完这一节后,您将能够编写、测试和调试您自己的Java应用程序。
然后,第2节将以此为基础,介绍每个JavaScript程序员必须具备的其他技能。这包括使用数组和Web存储,在面向对象的应用程序中创建和使用您自己的对象类型,使用正则表达式进行数据验证,等等。对于许多开发人员来说,第1节和第2节将是他们需要知道的全部内容。
但对于那些想要进入专家级别的人来说,第3节介绍了将使您达到专家级别的技能。这包括如何通过使用闭包、名称空间和模块来保护您的应用程序;如何通过使用回调使您的函数更有用;以及如何使用JSON来传输和存储数据等技能。然后,本节的最后一章将向您介绍jQuery,并向您展示它如何使您的Java代码变得更好。
Table of Contents
Section 1 Get off to a fast start w ith JavaScript
Chapter 1 Introduction to web development
Chapter 2 Getting started with JavaScript
Chapter 3 The essential JavaScript statements
第4章如何使用JavaScript对象、函数和事件
Chapter 5 How to script forms and controls
第6章如何测试和调试JavaScript应用程序
Section 2 JavaScript essentials
第7章如何使用数字、字符串和日期
Chapter 8 How to code control statements
Chapter 9 How to work with arrays and web storage
Chapter 10 How to create and use functions
Chapter 11 How to create and use objects
第12章如何使用正则表达式、处理异常和验证数据
Section 3 Advanced JavaScript skills
第13章如何处理事件、图像和时间
第14章如何使用闭包、回调和递归
第15章如何使用命名空间、模块和自定义属性
第16章如何使用JavaScript对象表示法(JSON)
Chapter 17 When and how to usejQuery
附录A如何为本书设置您的计算机
附录B shim.js和sham.js文件中的ECMAScript5方法
评论前必须登录!
注册