Tutorials, best practices, pro tips and tricks on building maintainable code, flexible architecture and highly scalable applications - JavaScript, TypeScript, Backbone, React, Redux, PHP
Tutorials, best practices, pro tips and tricks on building maintainable code, flexible architecture and highly scalable applications - JavaScript, TypeScript, Backbone, React, Redux, PHP
RIA is considered one of the most distinctive features of the modern Web, reflecting a trend where web applications grow to resemble desktop applications. The overwhelming majority of rich web applications are still built on the request-response model. Events on the client side can reach the server, but not vice versa. To build something as simple as a chat, you have to use tricks. These techniques for emulating bi-directional connections are collectively called Comet, a term coined by Alex Russell of Dojo.
A walkthrough of how to build on-hover term definitions using AJAX. When a visitor hovers over a technical keyword, JavaScript fetches the definition from a server endpoint and shows it in a popup, without any page reload.
Users coming from desktop apps tend to find web application interfaces frustrating. With AJAX, there is no good reason for that. This article walks through building an interactive data grid with sorting, filtering, and pagination, all without reloading the page.