Document Object Model


Book Description

Here is the ultimate guide to creating and extending documents within the application programming interface of the Document Object Model (DOM). The book examines real-world applications of the DOM, including exclusive case studies of DOM-based browsers and applications and provides a comprehensive, language-neutral examination of the DOM and its related applications.




DOM Scripting


Book Description

With this second edition of the popular DOM Scripting: Web Design with JavaScript and the Document Object Model comes a modern revision to update best practices and guidelines. It includes full coverage of HTML5 in a new, dedicated chapter, and details on JavaScript libraries and how they can help your scripting. The book provides everything you'll need to start using JavaScript and the Document Object Model to enhance your web pages with client-side dynamic effects and user-controlled animation. It shows how JavaScript, HTML5, and Cascading Style Sheets (CSS) work together to create usable, standards-compliant web designs. We'll also cover cross-browser compatibility with DOM scripts and how to make sure they degrade gracefully when JavaScript isn't available. DOM Scripting: Web Design with JavaScript and the Document Object Model focuses on JavaScript for adding dynamic effects and manipulating page structure on the fly using the Document Object Model. You'll start with a crash course in JavaScript and the DOM, then move on to several real-world examples that you'll build from scratch, including dynamic image galleries and dynamic menus. You'll also learn how to manipulate web page styles using the CSS DOM, and create markup on the fly. If you want to create websites that are beautiful, dynamic, accessible, and standards-compliant, this is the book for you!




Web Standards Programmer's Reference


Book Description

This invaluable resource offers tutorials and real-world examples as well as thorough language references for Web markup languages (HTML/XHTML and CSS), and popular scripting languages (JavaScript, Perl, and PHP) Examines the role of JavaScript, CGI (with examples in Perl and Python), and PHP on the Web and shows how to best use them all Includes a valuable reference section on each technology that can be used for review and consultation




DOM Enlightenment


Book Description

With DOM Enlightenment, you’ll learn how to manipulate HTML more efficiently by scripting the Document Object Model (DOM) without a DOM library. Using code examples in cookbook style, author Cody Lindley (jQuery Cookbook) walks you through modern DOM concepts to demonstrate how various node objects work. Over the past decade, developers have buried the DOM under frameworks that simplify its use. This book brings these tools back into focus, using concepts and code native to modern browsers. If you have JavaScript experience, you’ll understand the role jQuery plays in DOM scripting, and learn how to use the DOM directly in applications for mobile devices and specific browsers that require low overhead. Understand JavaScript node objects and their relationship to the DOM Learn the properties and methods of document, element, text, and DocumentFragment objects Delve into element node selecting, geometry, and inline styles Add CSS style sheets to an HTML document and use CSSStyleRule objects Set up DOM events by using different code patterns Learn the author’s vision for dom.js, a jQuery-inspired DOM Library for modern browsers




Python and XML


Book Description

This book has two objectives--to provide a comprehensive reference on using XML with Python; and to illustrate the practical applications of these technologies in an enterprise environment with examples.




Ajax Black Book, New Edition (With Cd)


Book Description

This book discusses what Ajax is and what it means to Web developers, as well as the technologies behind Ajax applications. Working through this book, you ll discover how Ajax gives web developers the ability to build applications that are more interactive, more dynamic, more exciting and enjoyable for their users. This book shows you how to write some basic applications that use client-side JavaScript to request information from a Server side component and display it without doing a full page reload. This book teaches you how to create applications according to Ajax principles. It also presents several strategies for communicating between the client and the server, including sending raw data, and using XML or JSON (JavaScript Object Notation) for sending more complex collections of data.· AJAX: A New Approach· Understanding JavaScript for AJAX· Asynchronous data transfer with XMLHttpRequest· Implementing AJAX Frameworks· Implementing Yahoo UI Library· Implementing Google Web Toolkit· Creating Maps in AJAX· Creating ASP.NET AJAX Application· Integrating PHP and AJAX· Integrating AJAX with JSF· Integrating AJAX with Struts· Faster data transfer with JSON in AJAX· Understanding AJAX Patterns· Consuming Web Services in AJAX· Securing AJAX Applications· Debugging the AJAX Application




High Performance JavaScript


Book Description

If you're like most developers, you rely heavily on JavaScript to build interactive and quick-responding web applications. The problem is that all of those lines of JavaScript code can slow down your apps. This book reveals techniques and strategies to help you eliminate performance bottlenecks during development. You'll learn how to improve execution time, downloading, interaction with the DOM, page life cycle, and more. Yahoo! frontend engineer Nicholas C. Zakas and five other JavaScript experts—Ross Harmes, Julien Lecomte, Steven Levithan, Stoyan Stefanov, and Matt Sweeney—demonstrate optimal ways to load code onto a page, and offer programming tips to help your JavaScript run as efficiently and quickly as possible. You'll learn the best practices to build and deploy your files to a production environment, and tools that can help you find problems once your site goes live. Identify problem code and use faster alternatives to accomplish the same task Improve scripts by learning how JavaScript stores and accesses data Implement JavaScript code so that it doesn't slow down interaction with the DOM Use optimization techniques to improve runtime performance Learn ways to ensure the UI is responsive at all times Achieve faster client-server communication Use a build system to minify files, and HTTP compression to deliver them to the browser




JavaScript


Book Description

A revised and updated edition offers comprehensive coverage of ECMAScript 5 (the new JavaScript language standard) and also the new APIs introduced in HTML5, with chapters on functions and classes completely rewritten and updated to match current best practices and a new chapter on language extensions and subsets. Original.




Learning from jQuery


Book Description

If you’re comfortable with jQuery but a bit shaky with JavaScript, this concise guide will help you expand your knowledge of the language—especially the code that jQuery covers up for you. Many jQuery devotees write as little code as possible, but with some JavaScript under your belt, you can prevent errors, reduce overhead, and make your application code more efficient. This book explores event handling, prototypes, and working with the DOM and AJAX through examples and lots of code. You’ll learn common conventions and patterns in JavaScript and—if you’ve never coded with JavaScript before—a tutorial will take you through the basics. Enhance your jQuery code by using object constructors and prototypes Reduce overhead and gain more control by handling events with JavaScript Work with the DOM much faster with JavaScript than you can with jQuery Send a few AJAX requests without having to load the entire jQuery library Understand the importance of JavaScript code standards, comments, code reuse, and anti-patterns Enlist JavaScript resources, such as a good IDE, a syntax checker, and version control