Welcome!

Machine Learning Authors: Zakia Bouachraoui, Liz McMillan, Roger Strukhoff, Pat Romanski, Carmen Gonzalez

Related Topics: Machine Learning , Java IoT, Microservices Expo

Machine Learning : Article

When Does AJAX Make Business Sense?

Hard-nosed executives recognize that there are costs associated with any benefit

Hard-nosed executives recognize that there are costs associated with any benefit. To convince today's upper-level decision makers to approve strategic investments, they need to hear more than phrases like "essential to the business," "the results are too unpredictable," and "yields intangible benefits." In the world of Web development, the move from HTML to AJAX-powered HTML can often be achieved at a relatively low cost, but there are both direct and indirect costs associated with AJAX that must be taken into account. A close analysis of these factors will enable business managers to make more well informed decisions when considering AJAX adoption in a particular application and across their organization.

Let's look first at the expected benefits from AJAX.

AJAX is all about ways to create a more interactive and productive connection between a user and a Web-based application. Because AJAX provides similar advanced user interface features to those in desktop applications (such as advanced UI controls, animated effects and adjustable layout controls) ­ thereby providing the visual and interaction tools needed to make the application self-explanatory ­ users spend less time learning and operating the application. The AJAX partial page update feature minimizes user delays by eliminating the "click, wait, refresh" approach of pre-AJAX HTML applications.

Beyond better user interfaces for existing applications, AJAX enables new classes of applications that fall under the umbrella term Web 2.0 that also fit into a Service Oriented Architecture (SOA). Among the next-generation applications that will power the enterprise and the Internet of the future are the following:

  • Users as co-developers: New AJAX-powered environments, such as application wikis, are empowering users to create their own customized mashups including personalized dashboards and situational composite applications.
  • Collaboration: AJAX technologies are typically the centerpiece of Web 2.0 information collection and sharing environments that harness the collective intelligence of disparate communities.
  • Software above the level of a single device: Web 2.0 is accelerating the movement from installable desktop applications to Web-based applications, thereby leveraging the advantages of networks and information sharing.
  • Cross-device applications and mobility: Simultaneous with the adoption of Web 2.0 is the growing proliferation of Web-capable mobile devices. AJAX technologies enable Web 2.0 applications across both large-screen desktops and small-screen mobile devices.
AJAX often boosts developer productivity. There are many AJAX technology providers, including both commercial products and open source initiatives. As a result, developers will find the off-the-shelf components, toolkits, frameworks, educational materials, and other resources they need to produce and maintain next-generation Web 2.0 applications built with AJAX. And due to open source alternatives, AJAX provides zero-cost deployment options as well.

Because of competitive pressures, vendors often vie for your AJAX business based on the developer productivity benefits they offer. Two common productivity features are UI markup languages (UIMLs) and IDE integration. The UIMLs allow for the use of declarative approaches using HTML and/or XML for large parts of an AJAX application. IDEs can provide source code completion, source code highlighting, drag-and-drop authoring, JavaScript debugging, XHR monitors, runtime stack views, and variable watching.

AJAX and SOA need each other so both can reach their full potential. SOA's encapsulation of business functionality into discrete services with well-defined Web Service interfaces makes it easier for AJAX toolkits to facilitate the creation of Rich Internet Applications (RIAs). AJAX applications need to leverage business functionality, but, in the absence of SOA, AJAX toolkits must have myriad adapters supporting disparate technical means of accessing that functionality. The more that SOA advances, the more the toolkits will be able to streamline access to business functions by supporting Web Service client technology. Thus, SOA helps move AJAX forward.

Conversely, AJAX helps SOA move forward. We need RIA technologies to be able to exploit and justify the significant investment that SOA entails. The ability to create mashups, dashboards, and composite applications relatively rapidly to respond flexibly to changing business conditions is the essence of the ROI that we expect from investing in SOA.

In addition, AJAX deployment offers several long-term strategic benefits including:

  • Replacement for desktop applications: AJAX offers a desktop-like user experience while retaining the benefits of server-based application deployment, centralized infrastructure administration, easier scalability, and immediate availability of application updates to all users. As a result, AJAX helps accelerate the movement away from installable, two-tier, client/server applications to multi-tier Web applications.
  • Higher customer expectations around the user interface: The industry is embracing richer, more desktop-like, user interfaces for customer-facing Web applications. In many circumstances, adopting AJAX techniques is becoming a business requirement to maintain parity with the rest of the industry and match growing user expectations about Web-based user experiences.
  • Operations efficiencies: In today's global economy, cost efficiency is more important than ever. AJAX techniques can help maintain the efficiency and competitiveness of internal systems.
What Are the Costs Associated with AJAX?
The costs for adopting AJAX depend on the circumstances of the application you're developing. In cases where AJAX snippets are added to existing HTML applications in an ad hoc manner, the incremental costs can be small. On the other hand, if the AJAX deployment strategy requires significant retooling of the existing IT infrastructure and substantial staff re-training then costs obviously go up.

It's also important to keep in mind that AJAX techniques require developers to learn techniques on both the client side as well as the server side.

On the client side, developers may have to familiarize themselves with one or more AJAX client-side toolkits, along with programming techniques for incremental DOM updates, XHLHttpRequest-based client/server communications, and asynchronous communications event handling. Most of these techniques require incremental knowledge on top of existing expertise with HTML and JavaScript.

On the server side, re-education requirements depend on the AJAX toolkits in use. For some toolkits, developers may have to familiarize themselves with the AJAX toolkit's UI markup language and its server-side AJAX APIs.

Most AJAX applications leverage an AJAX framework but still require some level of customization by the development team. A key factor in calculating the cost of adopting AJAX is the amount of customization work required to complete the task. If the AJAX framework's built-in features are sufficient for your needs then your AJAX development costs will be lower.

For existing applications that are modified to take advantage of AJAX techniques, end users will require some re-training on the applications' new AJAX-powered user interfaces.

More Stories By Jon Ferraiolo

Jon Ferraiolo is an employee of IBM within its Emerging Internet Technologies group. Jon is devoted exclusively to OpenAjax Alliance, where he manages operations and leads many activities.Before joining IBM in 2006, Jon worked at Adobe for 13 years where he was an architect, engineering manager and product manager.

Jon has been a speaker at every AJAXWorld conference since October 2006, and has spoken at dozens of other industry conferences in the past couple of years. AJAXWorld magazine has published 6 or 7 articles Jon has submitted over the past couple of years.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


CloudEXPO Stories
The precious oil is extracted from the seeds of prickly pear cactus plant. After taking out the seeds from the fruits, they are adequately dried and then cold pressed to obtain the oil. Indeed, the prickly seed oil is quite expensive. Well, that is understandable when you consider the fact that the seeds are really tiny and each seed contain only about 5% of oil in it at most, plus the seeds are usually handpicked from the fruits. This means it will take tons of these seeds to produce just one bottle of the oil for commercial purpose. But from its medical properties to its culinary importance, skin lightening, moisturizing, and protection abilities, down to its extraordinary hair care properties, prickly seed oil has got lots of excellent rewards for anyone who pays the price.
The platform combines the strengths of Singtel's extensive, intelligent network capabilities with Microsoft's cloud expertise to create a unique solution that sets new standards for IoT applications," said Mr Diomedes Kastanis, Head of IoT at Singtel. "Our solution provides speed, transparency and flexibility, paving the way for a more pervasive use of IoT to accelerate enterprises' digitalisation efforts. AI-powered intelligent connectivity over Microsoft Azure will be the fastest connected path for IoT innovators to scale globally, and the smartest path to cross-device synergy in an instrumented, connected world.
There are many examples of disruption in consumer space – Uber disrupting the cab industry, Airbnb disrupting the hospitality industry and so on; but have you wondered who is disrupting support and operations? AISERA helps make businesses and customers successful by offering consumer-like user experience for support and operations. We have built the world’s first AI-driven IT / HR / Cloud / Customer Support and Operations solution.
ScaleMP is presenting at CloudEXPO 2019, held June 24-26 in Santa Clara, and we’d love to see you there. At the conference, we’ll demonstrate how ScaleMP is solving one of the most vexing challenges for cloud — memory cost and limit of scale — and how our innovative vSMP MemoryONE solution provides affordable larger server memory for the private and public cloud. Please visit us at Booth No. 519 to connect with our experts and learn more about vSMP MemoryONE and how it is already serving some of the world’s largest data centers. Click here to schedule a meeting with our experts and executives.
Darktrace is the world's leading AI company for cyber security. Created by mathematicians from the University of Cambridge, Darktrace's Enterprise Immune System is the first non-consumer application of machine learning to work at scale, across all network types, from physical, virtualized, and cloud, through to IoT and industrial control systems. Installed as a self-configuring cyber defense platform, Darktrace continuously learns what is ‘normal' for all devices and users, updating its understanding as the environment changes.