Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 243 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
243
Dung lượng
3,39 MB
Nội dung
this print for content only—size & color not accurate spine = 0.584" 248 page count
Books for professionals By professionals
®
Accelerated DOMScriptingwithAjax,
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 librariesand
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
DOMScripting
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 Scriptingand 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 DOMScripting with Ajax, APIs, andLibraries 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 DOMscripting 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, andDOMscripting 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 withDOMscriptingand 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 withDOMscripting 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, andDOM 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 DOMscriptingand 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, andDOMscripting 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 DOMscripting • Chapter 4, Libraries : JavaScript libraries have become quite pervasive, and this chapter dissects a few of the popular librariesand 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