Prototype and Scriptaculous


Book Description

JavaScript is carrying more and more programming load lately as Ajax has become popular. Scripting Ajax from scratch isn't much fun, but fortunately there are libraries to help. Prototype and Scriptaculous will let you get much more work done in much less time, automating tasks from processing XMLHTTP requests to creating animations that draw attention to your interfaces. This Short Cut demonstrates how to use Prototype for a wide range of tasks, including event handling, DOM processing, string and form process, and Ajax communications. It explores Scriptaculous' visual effects library, from pulsate to squish to fold and beyond. Need interface components? You'll find form autocompletion as well as drag and drop support. In addition to sample code and explanation, the Short Cut includes member references for both Prototype and Scriptaculous.




Beginning Ajax


Book Description

Using proven examples and explaining concepts step by step, this book shows you how building Ajax-enabled sites and applications allows more interactive user interfaces than ever before. You’ll learn about the differences in capabilities between client-side and server-side development techniques, as well as how Ajax crosses this boundary. You’ll also discover how Ajax techniques can be summed up by patterns (which are development models that you’ll use repeatedly). With a mastery of these techniques, you’ll be able to breathe new life into your Web sites.




Comet and Reverse Ajax


Book Description

One of the most basic laws of a web application is that the client, not the server, must initiate any communication between the two. There are a number of common–use cases where, ideally, the server would like to talk to the client—dashboards and monitoring apps, chat rooms and other collaborations, and progress reports on long–running processes. Comet (a.k.a. Reverse Ajax) provides a mechanism for enabling this. Comet is moderately complex to implement. But this practical, hands–on book gets you going. In Part 1 of this book, we start by examining the use cases, and look at the simple alternatives to Comet and how far they can satisfy your needs. In some situations, though, only Comet will do. In Part 2, we demonstrate how to set up and run a Comet–based application. With this book, be a part of the next generation, Ajax 2.0.




Adding Ajax


Book Description

Ajax can bring many advantages to an existing web application without forcing you to redo the whole thing. This book explains how you can add Ajax to enhance, rather than replace, the way your application works. For instance, if you have a traditional web application based on submitting a form to update a table, you can enhance it by adding the capability to update the table with changes to the form fields, without actually having to submit the form. That's just one example. Adding Ajax is for those of you more interested in extending existing applications than in creating Rich Internet Applications (RIA). You already know the "business-side" of applications-web forms, server-side driven pages, and static content-and now you want to make your web pages livelier, more fun, and much more interactive. This book: Provides an overview of Ajax technologies, and the importance of developing a strategy for changing your site before you sit down to code Explains the heart and soul of Ajax: how to work with the XMLHttpRequest object Introduces and demonstrates several important Ajax libraries, including Prototype, script.aculo.us, rico, Mochikit Explores the interactive element that is Ajax, including how to work with events and event handlers that work across browsers Introduces the concept of web page as space, and covers three popular approaches to managing web space Explains how to make data updates, including adding new data, deleting, and making updates, all from within a single page Describes the effects Ajax has on the Web-breaking the back button, losing browser history, dynamic effects that disappear when the page is refreshed, and more Covers advanced CSS effects, including drag and drop "scroll bars", pagination, and the use of SVG and the Canvas object Explores mashups-Ajax's ability to combine data from different web services in any number of ways, directly in our web pages You don't need to start over to use Ajax. You can simply add to what you already have. This book explains how.




Practical Web 2.0 Applications with PHP


Book Description

In Practical PHP Web 2.0 Applications, PHP, MySQL, CSS, XHTML, and JavaScript/Ajax development techniques are brought together to show you how to create the hottest PHP web applications, from planning and design up to final implementation, without going over unnecessary basics that will hold you back. This book includes must-have application features such as search functionality, maps, blogs, dynamic image galleries, and personalized user areas. It covers everything in a practical, tutorial style so you can start working on your own projects as quickly as possible.




Head First Ajax


Book Description

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.




Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day


Book Description

Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day, Sixth Edition is the latest edition of the original worldwide bestseller. The entire book has been thoroughly revised and refined to include new detailed coverage of HTML5, the next major revision of the core language of the World Wide Web, HTML. Work on the HTML5 specification is still ongoing, but parts of HTML5 are already being implemented in new versions of Microsoft Internet Explorer, Mozilla Firefox, Safari and Opera.




Smashing jQuery


Book Description

From the world's most popular resource for web designers and developer's comes the ultimate guide to jQuery Begins with an exploration of fundamental jQuery concepts such as Document Object Model (DOM) scripting Explores writing "Don't Repeat Yoursefl" (DRY) to gain a comprehensive understanding of these imperative modern techniques and best practices Shows how jQuery enables the user to adhere to these modern best practices with ease The succeeding chapters discuss a specific part of jQuery development such as manipulating the DOM, working with Ajax, and adding slick animation effects through tutorial style learning approach that utilizes working examples to explore the concept The books caps off by discussing popular ways of extending the core jQuery library with pugins and building web interfaces using jQuery UI




Ajax Design Patterns


Book Description

Ajax, or Asynchronous JavaScript and XML, exploded onto the scene in the spring of 2005 and remains the hottest story among web developers. With its rich combination of technologies, Ajax provides astrong foundation for creating interactive web applications with XML or JSON-based web services by using JavaScript in the browser to process the web server response. Ajax Design Patterns shows you best practices that can dramatically improve your web development projects. It investigates how others have successfully dealt with conflictingdesign principles in the past and then relays that information directly to you. The patterns outlined in the book fall into four categories: Foundational technology: Examines the raw technologies required for Ajax development Programming: Exposes techniques that developers have discovered to ensure their Ajax applications are maintainable Functionality and usability: Describes the types of user interfaces you'll come across in Ajax applications, as well as the new types of functionality that Ajax makes possible Development: Explains the process being used to monitor, debug, and test Ajax applications Ajax Design Patterns will also get you up to speed with core Ajax technologies, such as XMLHttpRequest, the DOM, and JSON. Technical discussions are followed by code examples so you can see for yourself just what is-and isn't-possible with Ajax. This handy reference will help you to produce high-quality Ajax architectures, streamline web application performance, and improve the userexperience. Michael Mahemoff holds a PhD in Computer Science and Software Engineering from the University of Melbourne, where his thesis was "Design Reuse in Software Engineering and Human-Computer Interaction." He lives in London and consults on software development issues in banking, health care, and logistics. "Michael Mahemoff's Ajax Design Patterns is a truly comprehensive compendium of webapplication design expertise, centered around but not limited to Ajax techniques. Polished nuggets of design wisdom are supported by tutorials and real-world code examples resulting in a book thatserves not only as an intermediate to expert handbook but also as an extensive reference for building rich interactive web applications." --Brent Ashley, remote scripting pioneer




Accelerated DOM Scripting with Ajax, APIs, and Libraries


Book Description

If you're a web developer with previous JavaScript and DOM scripting experience, Pro DOM Scripting with Ajax, APIs, and Libraries is perfect for you to take your knowledge up to the next level. It provides a thorough walkthrough of all the fundamentals needed to build effective dynamic web applications. The first part of the book focuses on methodology and technologies for rapid development with JavaScript, including OOP and events, but also Ajax frameworks and JavaScript libraries. The second part includes three complete projects for you to learn from: form validation, mashups, and UI design.