Learn how to apply basic Asynchronous JavaScript + XML (Ajax) techniques in jQuery, such as making a request; handling success and error responses; and parsing the results from JavaScript Object Notation (JSON), XML, HTML, and dynamic PHP data sets. It’s no surprise that Ajax is a great way to enhance a web application. However, sometimes […]
Read moreAjax
Creating a Twitter Widget with Ajax
It’s becoming increasingly popular for individuals and business that use Twitter to share their Twitter messages with the world. With “Follow me on Twitter” icons proudly displayed on many home pages, Twitter users are gaining exposure and ultimately making more connections. Some sites even display their latest twitters/tweets/tweats—choose your favorite terminology for “Twitter messages”—with a […]
Read moreHow to Create Dynamic Script Tags for Ajax Components
If you’ve ever developed something in JavaScript and wanted to have control over it when it was launched in a remote location, Dynamic Script Tags (DST) are the perfect solution. As you’ll learn in this article, DSTs are dynamic because they are script tags added via the a Document Object Model (DOM) that allow developers […]
Read moreHow to Create Dynamic Script Tags for Ajax Components
If you’ve ever developed something in JavaScript and wanted to have control over it when it was launched in a remote location, Dynamic Script Tags (DST) are the perfect solution. As you’ll learn in this article, DSTs are dynamic because they are script tags added via the Document Object Model (DOM) that allow developers to […]
Read moreHow to Create Form Posts with Ajax
Now that Ajax is becoming a standard for handling interactions on the Web it’s time to use it to update form submissions. In this article you’ll learn how to create a reusable Ajax process for all forms.
Read moreConverting Forms to Ajax, Part 2
In the last Designing with Code article, Converting Forms to Ajax, I showed you how to convert your standard web forms to Ajax by including a simple JavaScript object. In this article, I’ll show you how to handle the request on the server-side and then the response on the client-side. The example project in this article can be […]
Read moreConverting Forms to Ajax
Web design has become more than just a pretty web site with a nice layout. While that’s still part of the equation, web design has evolved into the way things work, how users interact with a web site or application, and how the entire experience is crafted. In this article, I’ll show you how to […]
Read moreAjax, Where Design Meets Code
Time and again I’ve seen applications fail because of an unusable interface design. This not only includes the look-and-feel of the application, but the actual interaction processes that it contains. I know many people who immediately leave a Web site if it does not look appealing or function simply from the start. It doesn’t matter […]
Read moreServer Side Caching for Ajax
Kris Hadlock explains the importance of server-side caching for Ajax, providing a working solution that can be implemented on any PHP-enabled server.
Read moreCreate Your Own Custom Ajax Enabled Accordion Component
Adding massive amounts of data to one web page is not a recommended design approach because it can be completely disorienting to the user, and might cause him to go to another site. There are always exceptions, though, which is the case when using an accordion component to display data. Using an accordion component enables […]
Read more