Professional Ajax 2nd Edition provides a developer-level tutorial of Ajax techniques, patterns, and use cases. The book begins by exploring the roots of Ajax, covering how the evolution of the web and new technologies directly led to the development of Ajax techniques. A detailed discussion of how frames, JavaScript, cookies, XML, and XMLHttp requests (XHR) related to Ajax is included. After this introduction, the book moves on to cover the implementation of specific Ajax techniques. Request brokers such as hidden frames, dynamic iframes, and XHR are compared and contrasted, explaining when one method should be used over another. To make this discussion clearer, a brief overview of HTTP requests and responses is included. Once a basic understanding of the various request types is discussed, the book moves on to provide in-depth examples of how and when to use Ajax in a web site or web application. Different data transmission formats, including plain text, HTML, XML, and JSON are discussed for their advantages and disadvantages. Also included is a discussion on web services and how they may be used to perform Ajax techniques. Next, more complex topics are covered.
A chapter introducing a request management framework explores how to manage all of the requests inside of an Ajax application. Ajax debugging techniques are also discussed. The last part of the book walks through the creation of two full-fledged Ajax web applications. The first, FooReader.NET, is an Ajax-powered RSS reader. The second, called AjaxMail, is an Ajax-enabled email system. Both of these applications incorporate many of the techniques discussed throughout the book. Professional Ajax 2nd edition is written for Web application developers looking to enhance the usability of their web sites and web applications and intermediate JavaScript developers looking to further understand the language. Readers should have familiarity with XML, XSLT, Web Services, PHP or C#, HTML, CSS. This book is not aimed at beginners without a basic understanding of the aforementioned technologies. Also, a good understanding of JavaScript is vitally important to understanding this book.
Those readers without such knowledge should instead refer to books such as Beginning JavaScript, Second Edition (Wrox, 2004, ISBN: 978-0-7645-5587-9) and Professional JavaScript for Web Developers (Wrox, 2005, ISBN: 978-0-7645-7908-0). Professional Ajax 2nd edition adds nearly 200 pages of new and expanded coverage compared to the first edition. Some of the new topics covered here include:* Ajax Libraries including the Yahoo! Connection Manager, Prototype, and jQuery* Request Management with Priority Queues and the RequestManager Object* Comet push-based web systems and HTTP streaming* Maps and Mashups with Geocoding, Google Maps API and Yahoo! Maps API* Ajax Debugging with FireBug and Microsoft Fiddler ASP.N
ET AJAX Extensions (formerly code-named "Atlas") And of course the Second Edition retains and updates the core first edition content including:* the range of request brokers (including the hidden frame technique, iframes, and XMLHttp) and explains when one should be used over another* different Ajax techniques and patterns for executing client-server communication* Ajax patterns including predictive fetch, page preloading, submission throttling, incremental field and form validation, periodic refresh, multi-stage download and more* Syndication with RSS, Atom, and XParser* JSON and creating an autosuggest textbox example* web site widgets for a news ticker, weather information, web search, and site search* Ajax Frameworks JSpan, DWR, and Ajax.NET Professional* A Web-based RSS/Atom aggregator case study* An AjaxMail case study This book is also available as part of the 4-book JavaScript and Ajax Wrox Box (ISBN: 0470227818). This 4-book set includes:* Professional JavaScript for Web Developers (ISBN: 0764579088)* Professional Ajax 2nd edition (ISBN: 0470109491)* Professional Web 2.0
Programming (ISBN: 0470087889)* Professional Rich Internet Applications: Ajax and Beyond (ISBN: 0470082801)

Beginning JavaScript

by Paul Wilton and Jeremy McPeak

Published 1 June 2000
What is this book about? JavaScript is the language of the Web. Used for programming all major browsers, JavaScript gives you the ability to enhance your web site by creating interactive, dynamic, and personalized pages. Our focus in this book is on client-side scripting, but JavaScript is also hugely popular as a scripting language in server-side environments, a subject that we cover in later chapters. What does this book cover? Beginning JavaScript assumes no prior knowledge of programming languages, but will teach you all the fundamental concepts that you need as you progress. After covering the core JavaScript language, you'll move on to learn about more advanced techniques, including Dynamic HTML, using cookies, debugging techniques, and server-side scripting with ASP. By the end of this book, you will have mastered the art of using JavaScript to create dynamic and professional-looking web pages.
Here are a few of the things you'll learn in this book: * Fundamental programming concepts * Comprehensive practical tutorial in JavaScript * Cross-browser scripting, including Netscape 6 * Cookie creation and use * Plug-ins and ActiveX controls * Dynamic HTML * Scripting the W3C DOM * Server-side JavaScript with ASP Who is this book for? This book is for anyone who wants to learn JavaScript. You will need a very basic knowledge of HTML, but no prior programming experience is necessary. Whether you want to pick up some programming skills, or want to find out how to transfer your existing programming knowledge to the Web, then this book is for you. All you need is a text editor (like Notepad) and a browser, and you're ready to go!

Web 2.0 architecture opens up an incredible number of options for flexible web design, creative reuse, and easier updates. Along with covering the key languages and techniques of Web 2.0, this unique book introduces you to all of the technologies that make up Web 2.0 at a professional level. Throughout the chapters, youa ll find code for several example applications built with popular frameworks that youa ll be able to utilize. Youa ll first explore the technologies that are used to create Web 2.0 applications. This includes an in--depth look at XHTML, Cascading Style Sheets (CSS), JavaScript, and Ajax. Next, youa ll gain a better understanding of the protocols and formats that enable the exchange of information between web clients and servers. Ultimately, youa ll discover exactly what you need to know about server--side programming in order to implement new ideas and develop your own robust applications. What you will learn from this book* How Web 2.0 applications are developed* New ways to get the major client--side technologies to work together* The new class of emerging tools* All about HTTP and URIs, XML, syndication, microformats, and Web Services* Techniques for implementing and maintaining your URI space* How to serve XML over HTTP* Steps for building mashups to aggregate information from multiple sources* Methods for enhancing security in your applications Who this book is for This book is for professional developers who have a basic understanding of HTML, CSS, JavaScript, and XML.
Wrox Professional guides are planned and written by working programmers to meet the real--world needs of programmers, developers, and IT professionals. Focused and relevant, they address the issues technology professionals face every day. They provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job. This book is also available as part of the 4--book JavaScript and Ajax Wrox Box (ISBN: 0470227818). This 4--book set includes:* Professional JavaScript for Web Developers (ISBN: 0764579088)* Professional Ajax 2nd edition (ISBN: 0470109491)* Professional Web 2.0 Programming (ISBN: 0470087889)* Professional Rich Internet Applications: Ajax and Beyond (ISBN: 0470082801)