• Complain

Dan Webb - Accelerated DOM Scripting with Ajax, APIs, and Libraries

Here you can read online Dan Webb - Accelerated DOM Scripting with Ajax, APIs, and Libraries full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2007, publisher: Apress, genre: Home and family. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Dan Webb Accelerated DOM Scripting with Ajax, APIs, and Libraries

Accelerated DOM Scripting with Ajax, APIs, and Libraries: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Accelerated DOM Scripting with Ajax, APIs, and Libraries" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

If youre a web developer with previous JavaScript and DOM scripting experience, Accelerated DOM Scripting with Ajax, APIs, and Libraries is perfect for you to take your knowledge to the next level.

This book is about JavaScript and using the document object modelthe conduit to the HTML document. This book is not about learning how to program JavaScript from scratch. It starts with the assumption that you have done some JavaScript development before and understand the JavaScript syntax. This book builds on that knowledge to give you a deeper understanding of DOM scripting and how to apply that to your projects. It uses 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. It explains how to build simple animation objects for adding movement to elements on the page. There are 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. This book will explain techniques new and oldsuch as closures, encapsulation, and inheritancethat 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. Youll walk away with a greater appreciation for JavaScript libraries and how they can simplify and speed up your development. Youll 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.

What youll learn

  • Where CSS, HTML, and the DOM fit into modern scripting, and how to use them together effectively

  • Object-oriented programming techniques for more efficient JavaScript coding

  • How to use JavaScript libraries such as Prototype in your work

  • How to build effective form validation into your applications using Ajax

  • How to create mashups using APIs

  • How to build dynamic user interfaces

Who this book is for

This book is for beginner to intermediate developers, and already have knowledge of HTML, CSS, and JavaScript.

Dan Webb: author's other books


Who wrote Accelerated DOM Scripting with Ajax, APIs, and Libraries? Find out the surname, the name of the author of the book and a list of all author's works by series.

Accelerated DOM Scripting with Ajax, APIs, and Libraries — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Accelerated DOM Scripting with Ajax, APIs, and Libraries" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
About the Technical Reviewer

CAMERON ADAMS (The Man in Blue) melds a background in computer science with more than eight years of experience in graphic design to create a unique approach to interface design. Using the latest technologies, he likes to play in the intersection between design and code to produce innovative but usable sites and applications. In addition to the projects he's currently tinkering with, Cameron writes about the Internet and design in general on his well-respected blog (www.themaninblue.com), and has written several books on topics ranging from JavaScript, to CSS, to design.

About the Authors

JONATHAN SNOOK is currently a freelance web developer based in Ottawa Canada - photo 1JONATHAN SNOOK is currently a freelance web developer based in Ottawa, Canada. A Renaissance man of the Web, he has programmed in a variety of languages, both server-side and client-side. He also does web site and web application design. Jonathan worked for more than seven years with web agencies, with clients such as Red Bull, Apple, and FedEx. He made the leap to freelancing back in January 2006. Jonathan likes to share what he knows through speaking, writing books, writing for online magazines such as Digital Web and Sitepoint, and writing for his own popular blog at http://snook.ca.

AARON GUSTAFSON founded his own web consultancy after getting hooked on the - photo 2AARON GUSTAFSON founded his own web consultancy (after getting hooked 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 in the print world. Aaron has graced the stage at numerous conferences (including An Event Apart, COMDEX, SXSW, 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.

STUART LANGRIDGE is a freelance hacker published author and noted conference - photo 3STUART 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 radio show. Aaron writes about open-source software, JavaScript, the Web, philosophy, and whatever else takes his fancy at http://kryogenix.org.

DAN WEBB is a freelance web application developer whose recent work includes - photo 4DAN WEBB is a freelance web application developer whose recent work includes developing Event Wax, a web-based event management system, and Fridaycities, a thriving community site for Londoners. He maintains several open-source projects, including Low Pro and its predecessor the Unobtrusive JavaScript Plugin for Rails, and is also a member of the Prototype core team. Dan is a JavaScript expert who has spoken at previous @media conferences, RailsConf, and The Ajax Experience and has written for A List Apart, HTML Dog, Sitepoint, and .NET magazine. He blogs regularly about Ruby, Rails, and JavaScript at his site, www.danwebb.net, and wastes all his cash on hip hop records and rare sneakers.

Acknowledgments

I 'd like to take the time to acknowledge the many people who helped and inspired me to write this book. Thanks to the entire Apress team, especially Chris Mills and Richard Dal Porto, for being so incredibly patient. I'm also honored to have such great and knowledgeable coauthors: Dan Webb, Aaron Gustafson, and Stuart Langridge. Thanks much to Cameron Adams for doing the tech review. I'll be sure to buy you all a drink the next time we meet in person.

A big thanks to the many people within the JavaScript community who continue to share their knowledge with everybody, including Douglas Crockford, Andrew Dupont, Dustin Diaz, Dean Edwards, Christian Heilmann, Peter-Paul Koch (PPK), Stuart Colville, Joe Hewitt, John Resig, and many more I'm sure I've forgotten because I have a memory like a sieve.

Finally, this book wouldn't be possible without the support of my family. Thanks to my mom, Mel, Pat, and Trish for watching Hayden when I needed a weekend to write. Thanks to my wife, Michelle, for pushing me to get this finished and giving me the support to do it.

Jonathan Snook

CHAPTER 1
The State of JavaScript

T his chapter takes a brief walk down memory lane so you can get a sense of how the industry has changed over the last decade, including the rise of Ajax and its influence on the popularity of JavaScript. It then explains how JavaScript gets evaluated in the browser and how to plan for that. You'll learn ways to debug applications and the tools you can use to do so. It's important to understand how your code is working to fix those pesky bugs that haunt you.

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

JavaScript has come a long way since its inception back in 1995. Initially used for basic image and form interactions, its uses have expanded to include all manner of user interface manipulation. Web sites are no longer static. From form validation, to animation effects, to sites that rival the flexibility and responsiveness traditionally found in desktop applications, JavaScript has come into its own as a respected language. Traditional (and expensive) desktop applications such as word processors, calendars, and e-mail are being replicated in cheaper (and often easier-to-use) Web-based versions such as Writely, 30 Boxes, and Google Mail.

Over the course of 10 years, the popularity of JavaScript has increased and waned; fortunately, it is now making its triumphant return. But why now? One word: ubiquity ("the state of being everywhere at once"). The goal of most developers has been to have the work they produce be available and accessible to everyone. HTML accomplished this goal early on. Much of the format matured before the Internet really took off in the late 1990s. The HTML you produced for one browser would appear mostly the same in all other browsers: Mac, PC, or Linux.

JavaScript was still quite immature, however. Its capability to interact with the HTML document was inconsistent across browsers. Its two main facilitators, Netscape and Internet Explorer (IE), implemented very different approaches, which meant that two completely different implementations were required to complete the same task. People often tried to create helper scripts, or sometimes even full-blown JavaScript libraries, to bridge the gap. Keep in mind that JavaScript libraries weren't that popular back in 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 seemed like a toy language. You had something that seemed the Web could do without.

With IE a clear victor of the "browser wars," Netscape languished. You might have concluded that developers would develop only for IE after it garnered more than 90 percent of the market. And many did (including me). But that ubiquity still didn't exist. Corporate environments and home users continued to use Netscape as a default browser. Clients I worked with still demanded Netscape 4 compliance, even heading into the new millennium. Building any sort of cross-browser functionality was still a hassle except for processes such as form validation.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Accelerated DOM Scripting with Ajax, APIs, and Libraries»

Look at similar books to Accelerated DOM Scripting with Ajax, APIs, and Libraries. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Accelerated DOM Scripting with Ajax, APIs, and Libraries»

Discussion, reviews of the book Accelerated DOM Scripting with Ajax, APIs, and Libraries and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.