About this product: Ajax is no longer an experimental approach to website development, but the key to building browser-based applications that form the cornerstone of Web 2.0. Head First Ajax gives you an up-to-date perspective that lets you see exactly what you can do -- and has been done -- with Ajax. With it, you get a highly practical, in-depth, and mature view of what is now a mature development approach.
Using the unique and highly effective visual format that has turned Head First titles into runaway bestsellers, this book offers a big picture overview to introduce Ajax, and then explores the use of individual Ajax components -- including the JavaScript event model, DOM, XML, JSON, and more -- as it progresses. You'll find plenty of sample applications that illustrate the concepts, along with exercises, quizzes, and other interactive features to help you retain what you've learned.
Head First Ajax covers:
The JavaScript event model
Making Ajax requests with XMLHTTPREQUEST objects
The asynchronous application model
The Document Object Model (DOM)
Manipulating the DOM in JavaScript
Controlling the browser with the Browser Object Model
XHTML Forms
POST Requests
XML Syntax and the XML DOM tree
XML Requests & Responses
JSON -- an alternative to XML
Ajax architecture & patterns
The Prototype Library
The book also discusses the server-side implications of building Ajax applications, and uses a "black box" approach to server-side components.
Head First Ajax is the ideal guide for experienced web developers comfortable with scripting -- particularly those who have completed the exercises in Head First JavaScript -- and for experienced programmers in Java, PHP, and C# who want to learn client-side programming.
About this product: Is Ajax a new technology, or the same old stuff web developers have been using for years? Both, actually. This book demonstrates not only how tried-and-true web standards make Ajax possible, but how these older technologies allow you to give sites a decidedly modern Web 2.0 feel. Ajax: The Definitive Guide explains how to use standards like JavaScript, XML, CSS, and XHTML, along with the XMLHttpRequest object, to build browser-based web applications that function like desktop programs. You get a complete background on what goes into today's web sites and applications, and learn to leverage these tools along with Ajax for advanced browser searching, web services, mashups, and more. You discover how to turn a web browser and web site into a true application, and why developing with Ajax is faster, easier and cheaper. The book also explains: How to connect server-side backend components to user interfaces in the browser Loading and manipulating XML documents, and how to replace XML with JSON Manipulating the Document Object Model (DOM) Designing Ajax interfaces for usability, functionality, visualization, and accessibility Site navigation layout, including issues with Ajax and the browser's back button Adding life to tables & lists, navigation boxes and windows Animation creation, interactive forms, and data validation Search, web services and mash-ups Applying Ajax to business communications, and creating Internet games without plug-ins The advantages of modular coding, ways to optimize Ajax applications, and more This book also provides references to XML and XSLT, popular JavaScript Frameworks, Libraries, and Toolkits, and various Web Service APIs. By offering web developers a muchbroader set of tools and options, Ajax gives developers a new way to create content on the Web, while throwing off the constraints of the past. Ajax: The Definitive Guide describes the contents of this unique toolbox in exhaustive detail, and explains how to get the most out of it.
About this product: ASP.NET 2.0 AJAX is Microsoft's Ajax tool for ASP.NET developers and this book covers the ASP.NET 2.0 AJAX final release. You’ll learn how to use the ASP.NET 2.0 AJAX features in order to create richer, more responsive dynamic Web sites. The book walks you through examples for each featured element, demonstrating how the client and server interact to produce a better Web application, and reviews such topics as client framework, script manager control, networking stack, application services, partial page updates, control extenders, client form elements, and client behaviors.
About this product: Ajax has revolutionized the way users interact with web pages today. Gone are frustrating page refreshes, lost scroll positions and intermittent interaction with a web site. Instead, we have a new generation of fast, rich, and more intuitive web applications. The ASP.NET AJAX framework puts the power of Ajax into the hands of web developers. ASP.NET AJAX, formerly called Atlas, is a new free framework from Microsoft designed to easily add Ajax features to ASP.NET applications. With this technology, ASP.NET developers can easily build more interactive and highly-personalized web applications that work across all most popular browsers.
ASP.NET AJAX in Action is a fast-paced, example-rich tutorial designed for ASP.NET web developers and written by ASP.NET AJAX experts Alessandro "Garbin" Gallo, David Barkol, and Rama Krishna Vavilala. This book introduces you to Ajax applications and to the ASP.NET AJAX technology. Beginners will appreciate the clear explanations of key ideas and terminology. Intermediate and advanced ASP.NET developers will find a no-nonsense learning source and well-organized reference.
ASP.NET AJAX in Action offers a rich set of examples and meticulous explanations. The extensive code samples are accompanied by accurate and rigorous explanations of the concepts behind development with ASP.NET AJAX. In this book, you will discover how to use
Microsoft Ajax Library
Partial rendering with UpdatePanels
Advanced client and server techniques
Ajax Control Toolkit
If you are a web developer looking to bring your web pages to life and to enhance the user experience, this book is for you.
ASP.NET AJAX in Action will give you with the knowledge and tools you need to more easily craft the next generation of Ajax applications. With the help of the Microsoft ASP.NET AJAX framework, Ajax development has never been easier and more instinctive for both client-script developers and ASP.NET developers alike.
About this product: Ajax is at the heart of the Web 2.0 revolution. It isn't a technology but, rather, is a technique that leverages other technologies and techniques, such as CSS, XML, DHTML, and XHTML. Many Web designers and programmers would like to incorporate Ajax in their projects because of the amazing functionality it can add to a Web site, but they can't because of the steep learning curve. That's where this book steps in. It makes learning Ajax fun and easy -- a great place to start! Visual QuickProject Guides focus on a single project. In this case the project is creating a business employee directory, like an address book. What's being created is a better, new kind of Web site.
About this product: AJAX and PHP: Building Responsive Web Applications is the most practical and efficient resource a reader can get to enter the exciting world of AJAX. This book will teach you how to create faster, lighter, better web applications by using the AJAX ingredients technologies to their full potential. Assuming a basic knowledge of PHP, XML, JavaScript and MySQL, this book will help you understand how the heart of AJAX beats and how the constituent technologies work together. This book is written web developers with a basic knowledge of PHP, XML, JavaScript and MySQL. After teaching the foundations, the book will walk you through numerous real-world case studies covering tasks you’ll be likely to need for your own applications: * Server-enabled form-validation page * Online chat collaboration tool * Customized type-ahead text entry solution * Real-time charting using SVG * Database-enabled, editable and customizable data grid * RSS aggregator application * A server-managed sortable list with drag&drop support using the script.aculo.us JavaScript toolkit
The appendices guide you through installing your working environment, using powerful tools that enable debugging, improving, and profiling your code, working with XSLT and XPath.
Chapter 1: AJAX and The Future Of Web Applications is an initial incursion into the world of AJAX and the vast possibilities it opens up for web developers and companies, to offer a better experience to their users. In this chapter you’ll also build your first AJAX-enabled web page, which will give you a first look of the component technologies.
Chapter 2: Client-Side Techniques with Smarter JavaScript will guide you through the technologies you’ll use to build AJAX web clients, using JavaScript, DOM, the XMLHttpRequest object, and XML. While not being a complete tutorial for these technologies, you’ll be taken to the right track of using them together to build a solid foundation for your future applications.
Chapter 3: Server-Side Techniques with PHP and MySQL completes the theory foundation by presenting how to create smart servers to interact with your AJAX client. You’ll learn various techniques for implementing common tasks, including handling security and error handling problems.
Chapter 4: AJAX Form Validation guides you through creating a responsive, modern form with real-time validation based on server data.
Chapter 5: AJAX Chat presents a simple online chat that works exclusively using AJAX code, without Java applets, Flash code, or other specialized library, as most chat applications work these days.
Chapter 6: AJAX Suggest and Autocomplete builds a Google-suggest like feature, that helps you find PHP functions, and forward you to the official help page for the chosen function.
Chapter 7: SVG (Scalable Vector Graphics) is a text-based graphics language that can be used to draw shapes and text. (SVG is supported natively by Firefox 1.5, and requires a SVG plugin with other browsers). In this case study you learn how to implement a realtime charting solution with AJAX and SVG.
Chapter 8: AJAX Grid teaches you how to build powerful updatable data grid. You’ll learn how to parse XML documents using XSLT to generate the looks of your grid.
Chapter 9: AJAX RSS Reader uses the SimpleXML PHP library, XML and XSLT, to build a simple RSS aggregator.
Chapter 10: AJAX Drag and Drop is a demonstration of using the script.aculo.us framework to build a simple list of elements with drag&drop functionality.
Appendix A: Configuring Your Working Environment teaches you how to install and configure the required software: Apache, PHP, MySQL, phpMyAdmin.
Step-by-step guide reveals best practices for enhancing Web sites with Ajax
A step-by-step guide to enhancing Web sites with Ajax.
Uses progressive enhancement techniques to ensure graceful degradation (which makes sites usable in all browsers).
Shows readers how to write their own Ajax scripts instead of relying on third-party libraries.
Web site designers love the idea of Ajax--of creating Web pages in which information can be updated without refreshing the entire page. But for those who aren't hard-core programmers, enhancing pages using Ajax can be a challenge. Even more of a challenge is making sure those pages work for all users. In Bulletproof Ajax, author Jeremy Keith demonstrates how developers comfortable with CSS and (X)HTML can build Ajax functionality without frameworks, using the ideas of graceful degradation and progressive enhancement to ensure that the pages work for all users. Throughout this step-by-step guide, his emphasis is on best practices with an approach to building Ajax pages called Hijax, which improves flexibility and avoids worst-case scenarios.
About this product: Val's Blog "A tremendously useful field guide specifically written for developers down in the trenches...waiting for the killer solution..."
Web users are getting tired of the traditional web experience. They get frustrated losing their scroll position; they get annoyed waiting for refresh; they struggle to reorient themselves on every new page. And the list goes on. With asynchronous JavaScript and XML, known as "Ajax," you can give them a better experience. Once users have experienced an Ajax interface, they hate to go back. Ajax is new way of thinking that can result in a flowing and intuitive interaction with the user.
Ajax in Action helps you implement that thinking--it explains how to distribute the application between the client and the server (hint: use a "nested MVC" design) while retaining the integrity of the system. You will learn how to ensure your app is flexible and maintainable, and how good, structured design can help avoid problems like browser incompatibilities. Along the way it helps you unlearn many old coding habits. Above all, it opens your mind to the many advantages gained by placing much of the processing in the browser. If you are a web developer who has prior experience with web technologies, this book is for you.
About this product: This task-based, visual reference guide has been fully revised. It uses step-by-step instructions and plenty of screenshots to give beginning and intermediate Web designers what they need to know to learn JavaScript. Readers can start from the beginning to get a tour of the programming language, or look up specific tasks to learn just what they need to know. In this updated seventh edition, readers will find new information on Ajax design and modern coding techniques.
About this product: 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.NET 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)