Wiley JavaScript Programmer's Reference 978-0-470-34472-9 ユーザーズマニュアル
製品コード
978-0-470-34472-9
Introduction to JavaScript
Like many technologies that have enjoyed success and sticking power, JavaScript has taken
on new purpose and relevance since its creation many years ago. It ’ s no longer correct to say that
JavaScript is just a scripting language or even just for the web. In fact, JavaScript is one of the few
truly multi - vendor, multi - platform, and multi - purpose programming languages in use today. It
holds this status not just because it happened to be the language that was designed for browser
scripting but also because it ’ s an extremely flexible, expressive, and forgiving language that both
amateurs and professional developers alike can appreciate. Certainly one could say it ’ s thanks to
the web that we have such an interesting and powerful way to build applications, but it ’ s thanks
to JavaScript that we have such an interesting and powerful web.
on new purpose and relevance since its creation many years ago. It ’ s no longer correct to say that
JavaScript is just a scripting language or even just for the web. In fact, JavaScript is one of the few
truly multi - vendor, multi - platform, and multi - purpose programming languages in use today. It
holds this status not just because it happened to be the language that was designed for browser
scripting but also because it ’ s an extremely flexible, expressive, and forgiving language that both
amateurs and professional developers alike can appreciate. Certainly one could say it ’ s thanks to
the web that we have such an interesting and powerful way to build applications, but it ’ s thanks
to JavaScript that we have such an interesting and powerful web.
This book will serve as a detailed reference for all things JavaScript. This includes, of course, all the
language basics but also virtually everything to do with its core objects, features, and limitations.
You ’ ll examine advanced topics too, such as how JavaScript can be applied to provide specific
interactivity or features inside a web page, how to use it to manipulate the structure of web
documents, and how to interact with other web technologies like Flash, Silverlight, CSS, and even
offline storage.
language basics but also virtually everything to do with its core objects, features, and limitations.
You ’ ll examine advanced topics too, such as how JavaScript can be applied to provide specific
interactivity or features inside a web page, how to use it to manipulate the structure of web
documents, and how to interact with other web technologies like Flash, Silverlight, CSS, and even
offline storage.
This chapter will provide an overview of the language and how it fits into the spectrum of web
technologies. It ’ ll provide some insight as to how someone typically learns the language and will
explain both the history and current role of JavaScript amidst the cloud of competing browsers and
interpreters. Finally, I ’ ll introduce a simple web - based application using JavaScript and explain
how it all fits together.
technologies. It ’ ll provide some insight as to how someone typically learns the language and will
explain both the history and current role of JavaScript amidst the cloud of competing browsers and
interpreters. Finally, I ’ ll introduce a simple web - based application using JavaScript and explain
how it all fits together.
JavaScript Histor y
Beginning its life as a decidedly curious enhancement to Netscape called Mocha (an homage to
Java), JavaScript was intended for sparing use to add minor enhancements to the behavior of web
pages, primarily to web forms. Netscape and Sun Microsystems evidently believed that this new
dimensionality of the web could not, or should not, be addressed in the already complex
declarative syntax of HTML. Instead, a scripting language was born that would continue to breathe
life into the Internet for over a decade.
Java), JavaScript was intended for sparing use to add minor enhancements to the behavior of web
pages, primarily to web forms. Netscape and Sun Microsystems evidently believed that this new
dimensionality of the web could not, or should not, be addressed in the already complex
declarative syntax of HTML. Instead, a scripting language was born that would continue to breathe
life into the Internet for over a decade.
CH001.indd 1
CH001.indd 1
6/25/09 7:53:13 PM
6/25/09 7:53:13 PM
COPYRIGHTED MATERIAL