Welcome!

Machine Learning Authors: Pat Romanski, Liz McMillan, Yeshim Deniz, Elizabeth White, Zakia Bouachraoui

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
Every organization is facing their own Digital Transformation as they attempt to stay ahead of the competition, or worse, just keep up. Each new opportunity, whether embracing machine learning, IoT, or a cloud migration, seems to bring new development, deployment, and management models. The results are more diverse and federated computing models than any time in our history.
On-premise or off, you have powerful tools available to maximize the value of your infrastructure and you demand more visibility and operational control. Fortunately, data center management tools keep a vigil on memory contestation, power, thermal consumption, server health, and utilization, allowing better control no matter your cloud's shape. In this session, learn how Intel software tools enable real-time monitoring and precise management to lower operational costs and optimize infrastructure for today even as you're forecasting for tomorrow.
"Calligo is a cloud service provider with data privacy at the heart of what we do. We are a typical Infrastructure as a Service cloud provider but it's been designed around data privacy," explained Julian Box, CEO and co-founder of Calligo, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
Isomorphic Software is the global leader in high-end, web-based business applications. We develop, market, and support the SmartClient & Smart GWT HTML5/Ajax platform, combining the productivity and performance of traditional desktop software with the simplicity and reach of the open web. With staff in 10 timezones, Isomorphic provides a global network of services related to our technology, with offerings ranging from turnkey application development to SLA-backed enterprise support. Leading global enterprises use Isomorphic technology to reduce costs and improve productivity, developing & deploying sophisticated business applications with unprecedented ease and simplicity.
While a hybrid cloud can ease that transition, designing and deploy that hybrid cloud still offers challenges for organizations concerned about lack of available cloud skillsets within their organization. Managed service providers offer a unique opportunity to fill those gaps and get organizations of all sizes on a hybrid cloud that meets their comfort level, while delivering enhanced benefits for cost, efficiency, agility, mobility, and elasticity.