apress accelerated dom scripting with ajax, apis and libraries (2007)

243 482 0
apress accelerated dom scripting with ajax, apis and libraries (2007)

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

this print for content only—size & color not accurate spine = 0.584" 248 page count Books for professionals By professionals ® Accelerated DOM Scripting with Ajax, APIs, and Libraries Dear Reader, This book is about JavaScript and using the document object model—the con- duit to the HTML document. This book is not about learning how to program JavaScript from scratch. We start with the assumption that you have done some JavaScript development before and understand the JavaScript syntax. This book builds on top of that knowledge to give you a deeper understanding of the language and how to apply that to your projects. I’ll use this new understanding to describe what JavaScript libraries are and show you how they can be applied to your project. The book will also explain Ajax and how best to plan and apply it to your projects. I’ll explain how to build simple animation objects for adding movement to elements on the page. Dan, Stuart, and Aaron will also provide straightforward examples that demonstrate the techniques used throughout the book. JavaScript has seen a resurgence in popularity over the past few years, and with it has come an exploration of the power of the language as well as what it can do within the browser. We wrote this book to explain techniques new and old—such as closures, encapsulation, and inheritance—that many are using and how you can best apply them to your own projects. By reading this book, you should have a greater understanding of how JavaScript works and be able to use advanced concepts such as closures and event delegation to build more flexible applications for the Web. We also hope that you’ll walk away with a greater appreciation for JavaScript libraries and how they can simplify and speed up your development. You’ll also be able to implement Ajax effectively into your site, create special effects, use JavaScript libraries, and know how best to apply these libraries to your projects. Jonathan Snook Jonathan Snook, author of Art & Science of CSS US $39.99 Shelve in Web Development User level: Beginner–Intermediate Snook Accelerated DOM Scripting with Ajax The eXperT’s Voice ® in WeB DeVelopmenT Accelerated DOM Scripting with Ajax, APIs, and Libraries cyan maGenTa yelloW Black panTone 123 c Jonathan Snook with Aaron Gustafson, Stuart Langridge, and Dan Webb Companion eBook Available THE APRESS ROADMAP Pro JavaScript Techniques Pro JavaScript Design Patterns Practical JavaScript, DOM Scripting and Ajax Projects Pro Web 2.0 Mashups: Remixing Data and Web Services Practical Prototype and script.aculo.us Beginning JavaScript with DOM Scripting and Ajax: From Novice to Professional Accelerated DOM Scripting with Ajax, APIs, and Libraries Beginning XML with DOM and Ajax: From Novice to Professional Companion eBook See last page for details on $10 eBook version ISBN-13: 978-1-59059-764-4 ISBN-10: 1-59059-764-8 9 781590 597644 5 3 9 9 9 www.apress.com [...]... ccelerated DOM Scripting with Ajax, APIs, and Libraries will give you a better understanding of JavaScript You can then take that new knowledge and apply it to various facets of web development such as Ajax, animation, and other DOM scripting tasks Having this deeper understanding is an important step to improving your own code as well as accelerating your development by using popular JavaScript libraries With. .. the document object model (DOM) Discussions include event handling, creating new elements, and content styling You learn how to leverage HTML, CSS, and DOM scripting for rapid development and easier maintenance Although I assume that you know your HTML and CSS, I cover some of the essentials and offer tips to make application development with DOM scripting and Ajax quicker and easier Getting into the... introductory knowledge of JavaScript and the document object model (DOM) From there, the book delves into common topics with DOM scripting such as working with the DOM, Ajax, and visual effects • Chapter 1, “The State of JavaScript”: This chapter brings you up to speed on the state of JavaScript within the industry It then covers how JavaScript gets evaluated with the browser and what that means to the way... (CSS), and the document object model (DOM) With standards in place and maturing, browser developers had a solid baseline from which to develop against Things began to change When Mozilla Firefox finally came out in 2004, there was finally a browser that worked across multiple operating systems and had fantastic support for the latest HTML/XHTML, CSS, and DOM standards It even had support for nonstandard... The Ajax Experience, and Web Directions) and is frequently called on to provide web standards training in both the public and private sectors Aaron blogs at http://easy-reader.net sSTUART LANGRIDGE is a freelance hacker, published author, and noted conference speaker on DOM scripting and web technologies across Europe and the US He’s also part of LugRadio, the world’s best free and open source software... such as preventing the form from being submitted, using JavaScript, and using the DOM to display error messages • Chapter 8, “Case Study: FAQ Facelift”: This case study demonstrates how to show and hide elements in a page smoothly and elegantly The application is built with progressive enhancement in mind and uses CSS, HTML, and DOM scripting to create a modern FAQ page • Chapter 9, “A Dynamic Help... on the Web in 1996 and spending several years pushing pixels and bits for the likes of IBM and Konica Minolta): Easy! Designs LLC He is a member of the Web Standards Project (WaSP) and the Guild of Accessible Web Designers (GAWDS) He also serves as Technical Editor for A List Apart, is a contributing writer for Digital Web Magazine and MSDN, and has built a small library of writing and editing credits... the day Most saw them as bloated and unnecessary to achieve what they needed The libraries certainly eased development, but they were large in comparison with the problems people were trying to solve with JavaScript Remember that broadband certainly wasn’t what it is today Tack bandwidth concerns onto security concerns and entire companies disabling JavaScript outright, and you have a situation in which... JavaScript are explained The chapter also looks at features of JavaScript such as closures and functional programming that make it a powerful language, especially when doing DOM scripting • Chapter 4, Libraries : JavaScript libraries have become quite pervasive, and this chapter dissects a few of the popular libraries and shows you how they can be applied easily to your projects The chapter also breaks... W3C developed its first DOM recommendation as a way to standardize the approach that all browsers took, making it easier for developers to create functionality that worked across all browsers—just like the HTML recommendations The W3C DOM offered the hope of interactivity with the full HTML (and XML) documents with the capability to add and remove elements via JavaScript The DOM Level 1 recommendation . level: Beginner–Intermediate Snook Accelerated DOM Scripting with Ajax The eXperT’s Voice ® in WeB DeVelopmenT Accelerated DOM Scripting with Ajax, APIs, and Libraries cyan maGenTa yelloW . 597644 5 3 9 9 9 www .apress. com

Ngày đăng: 27/03/2014, 13:33

Mục lục

  • Accelerated DOM Scripting with Ajax, APIs, and Libraries

    • Contents at a Glance

    • About the Technical Reviewer

    • Introduction

      • Who This Book Is For

      • How This Book Is Structured

      • The State of JavaScript

        • JavaScript Is One of the Good Guys Again, but Why Now?

        • JavaScript Meets HTML with the DOM

        • The Rise of Ajax

        • Embedding Code Properly into an XHTML Page

        • HTML, CSS, and JavaScript

          • Getting into the Basics

            • Web Standards

              • CSS for Presentation

              • Best of Both Worlds

              • CSS Basics

                • Say It with Meaning

                • Objects, Properties, and Methods

                • Dot Notation and Bracket Notation

                • Passing by Value or by Reference

                • JavaScript and the DOM

                  • What Is the DOM?

                  • Obtaining Elements by Class Name

                  • Moving Around the DOM

                    • Working Around Text Nodes

                    • Handling Attributes

                      • The style Property

                      • Inserting Content into the DOM

                        • Attaching Properties and Methods to Existing DOM Elements

                        • Event Handling

                          • Inline Event Handling

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan