text.skipToContent text.skipToNavigation

Professional JavaScript for Web Developers von Zakas, Nicholas C. (eBook)

  • Erscheinungsdatum: 20.12.2011
  • Verlag: Wrox
eBook (ePUB)

30,99 €

28,99 €
inkl. gesetzl. MwSt.
Sofort per Download lieferbar

Online verfügbar

Professional JavaScript for Web Developers

JavaScript is loosely based on Java, which is an object-oriented programming language that became popular for use on the Web by way of embedded applets. It has a similar syntax and programming methodology to Java, however, it should not be considered the "light" version of the language. JavaScript is its own language that found its home in web browsers around the world and enabled enhanced user interaction on websites as well as web applications. In this book JavaScript is covered from its beginning in the earliest Netscape browsers to the present-day versions that can support the DOM and Ajax. You will learn how to extend the language to suit specific needs and how to create client-server communications without intermediaries such as Java or hidden frames. You will also learn how to apply JavaScript solutions to business problems faced by web developers everywhere. This book provides a developer-level introduction along with more advanced and useful features of JavaScript. The book begins by exploring how JavaScript originated and evolved into what it is today. There is a discussion of the components that make up a JavaScript implementation that follows that has a specific focus on standards such as ECMAScript and the Document Object Model (DOM). The differences in JavaScript implementations used in different popular web browsers are also discussed. After building a strong base, the book goes on to cover basic concepts of JavaScript including its version of object-oriented programming, inheritance, and its use in HTML. The book then explores new APIs, such as HTML5, the Selectors API, and the File API. The last part of the book is focused on advanced topics including performance/memory optimization, best practices, and a look at Where JavaScript is going in the future. The book is broken up into 25 chapters. Chapter 1 explains the origins of JavaScript including where it came from, how it evolved, and what it is today. Chapter 2 examines how JavaScript is used in conjunction with HTML to create dynamic webpages. Chapter 3 introduces basic language concepts including syntax and flow control statements. Chapter 4 explores how variables are handled in JavaScript given their loosely typed nature. Chapter 5 covers all of the details regarding JavaScript's built-in reference types such as object and array. Chapter 6 explains how to use object-oriented programing in JavaScript. Chapter 7 explores one of the most powerful aspects of JavaScript: function expressions. Chapter 8 introduces the Browser Object Model (BOM), which is responsible for objects allowing interaction with the browser itself. Chapter 9 explains various approaches to detecting the client machine and its capabilities. Chapter 10 introduces the Document Object Model (DOM) objects available in JavaScript as defined in DOM Level 1. Chapter 11 explains how other APIs, as well as other browsers, extend the DOM with more functionality. Chapter 12 builds on the previous two chapters by explaining how DOM Levels 2 and 3 augmented the DOM with additional properties, methods, and objects. Chapter 13 explains the nature of events in JavaScript, where they originated, legacy support, and how the DOM redefined how events should work. Devices such as the Wii and iPhone are covered. Chapter 14 looks at using JavaScript to enhance form interactions and work around browser limitations. Chapter 15 discusses the tag and how to use it to create on-the-fly graphics. Chapter 16 introduces JavaScript API changes as defined in HTML5. Chapter 17 discusses how browsers handle errors in JavaScript code and presents several ways to handle errors. Chapter 18 presents the features of JavaScript used to read and manipulate eXtensible Markup Language (XML) data. Chapter 19 discusses the ECMAScript for XML (E4X) extension to JavaScript, which is designed to simplify working with XML. Chapter 20 introduces the JSON data format as an alternative to XML. Chapter 21 looks at common Ajax techni


    Format: ePUB
    Kopierschutz: AdobeDRM
    Seitenzahl: 960
    Erscheinungsdatum: 20.12.2011
    Sprache: Englisch
    ISBN: 9781118233092
    Verlag: Wrox
    Größe: 6777 kBytes
Weiterlesen weniger lesen