Is DHTML Dead?

Is DHTML Dead?

few years ago, Microsoft released Internet Explorer 4, which changed the course of Web client-side development. Not only was it ubiquitous, delivered with every version of Windows, but it also introduced a technology called Dynamic HTML (DHTML), which combined Cascading Stylesheet (CSS) technology and scripting to let developers circumvent the rigid layout and limited interactivity supported by HTML. DHTML gives developers programmatic access to the Document Object Model (DOM) for HTML pages. By controlling the DOM with script, you can access any object in the page, modify its contents, its position, its CSS properties, and even add custom properties (expandos) of your own. DHTML opened up wide vistas for Web developers, and seemed poised to dominate interactive client-side development. But the furiously churning browser market of the late 1990’s, users’ resistance to upgrading, and the incompatible DOM and CSS implementations between browsers caused the wave to collapse.

Today, years after DHTML was first introduced, things are a little better, but not much. Companies still feel (wrongly, in my opinion, and that of many other developers) that they have to support older and less capable browsers. But because of their limited CSS and XML support and proprietary DOM models, supporting these older browsers forces developers to write multiple versions of every page, so most decide that it’s too costly to bother. So the majority of pages on the World Wide Web are still plain vanilla HTML, with no interactivity beyond links and simple forms.

DHTML Alternatives
Fortunately, DHTML’s failure in becoming a generic client-side programming solution hasn’t stopped all development of client-side interactivity. Macromedia, capitalizing on the browser manufacturers’ inability to standardize DHTML, has nearly single-handedly captured the market with its Flash technology. By using installed client-side code rather than relying on script alone, Flash pages circumvent browser incompatibilities. Flash, by most reports, is ubiquitous; according to Macromedia, over 98 percent of all browsers support Flash. With its proprietary interface, and TV-like qualities, Flash currently rules the roost for building graphical interfaces that run on almost all clients. DevX’s Sightings feature is a testament?the vast majority of recognized Sightings over the past year are Flash-driven. And Flash capabilities are still growing. You can build Flash clients that act as front-end interfaces and consume Web Services to access centralized data and logic (see Drive Your Flash Front-ends with SOAP). But despite its growing capabilities and huge installed base, Flash doesn’t completely own the client-side development market.

Another contender pushing DHTML out of the picture is Java. Although popular press wisdom says Java applets are dead and buried, that’s simply not true. While Java has all but disappeared from most general Internet pages, applets are alive and well in the gaming world. Visit the Yahoo or AOL games pages at almost any time of the day or night, and you’ll find thousands or hundreds of thousands of people playing games?and the games are powered by … Java applets. Applets, supported by the rapidly maturing Java language, seem to have a lock on this segment of the browser interface market. Flash scripting and DHTML are not powerful enough, not fast enough, and too difficult to maintain for games that require rapid, near-real-time calculations, such as pool. The alternative?Microsoft’s ActiveX technology?although widely used on intranets, failed on the larger Web because it has full access to the local machine, giving downloaded code too much potential for abuse. Downloading and installing an ActiveX-based application via the Web is like diving blindfolded into a swimming pool?without knowing whether the pool contained water.

This time however, Microsoft may have gotten it right. Just as it did with the introduction of Internet Explorer and DHTML, Microsoft is changing the face of Web development with its .NET framework. .NET looks like it has the legs to muscle into Flash and applet territory. Like Flash, you can manipulate graphics and audio using the built-in GDI+ classes or via COM interop with existing technologies such as DirectDraw. Like Java applets, .NET client applications download and install automatically. Like Java applets, .NET applications are fast enough to build interactive games. Like Java applets, .NET applications run under fine-grained security restrictions, making them relatively safe to download and install. Like Java applets, .NET applications have well-integrated network capabilities; in fact, there’s little difference between programming local objects and programming remote objects.

But .NET applications aren’t Java applets. Unlike Flash and Java, .NET technology doesn’t require a browser. Unlike Java applets, .NET applications have the full power of Windows, including the familiar native interface controls, access to COM technologies such as DirectDraw. Given sufficient permissions, they can interact with and integrate existing Windows applications, such as Microsoft Word, Internet Explorer, and all the myriad COM components. Unlike Java applets, .NET applications run as native code?even better, that code is compiled Just-In-Time (JIT) so it can take full advantage of the local processor. And they’re small. The .NET runtime is chock-full of classes that support most of Windows’ capabilities, so applications compiled with .NET need to add only the logic needed for that specific program. That means they download as quickly or even more quickly than do Java applets and DHTML-based applications.

So where does this leave DHTML? My guess is?out in the cold. If you can’t trust it to run on every client?even on every Windows client; if you can’t use it to create graphic-intensive multimedia applications; if you can’t use it to build interactive games; if every distributed application niche has a better alternative, then DHTML is an orphaned technology.

If you agree that DHTML is on its last legs for application development, then you might also agree that browsers are likely to follow suit. I don’t mean for general surfing?there’s too much flat-HTML information available for browsers to disappear anytime soon?but for distributed application development. Until now, developers have often built two versions of applications?a desktop version, for clients hard-wired to the network, and a browser-based distributed version, for remote and mobile workers. But as soon as you no longer need DHTML or browsers to build distributed applications, browsers become irrelevant. You can easily build a .NET application that acts like a browser, in that it gets its information from a central location via HTTP, that downloads, installs, and upgrades dynamically, like Java applets?but that has the interface advantages and power of a standalone, custom-built Windows application. Not only that, but you can build a single version of that application that adapts to either a remote or local environment. That’s tough to beat.

Still, .NET has a steep hill to climb before it will begin to make a huge impact on the existing game and multimedia market. Unlike Flash and Java, .NET is not cross-platform?yet (there are efforts underway to translate the core portions of the .NET platform to other platforms). For now, if you want to develop .NET applications, you’re limited to Windows clients?but as those make up over 90 percent of all clients, it’s not that much of a limitation. .NET doesn’t have the built-in graphics and timeline manipulation tools that Flash already has; in addition, the first version of the .NET runtime doesn’t integrate some of the functionality that developers need to build graphic-intensive and multimedia applications. For the game market, there’s little need to build a .NET version of popular games unless Microsoft somehow ups the ante by improving play significantly. No, where .NET will shine immediately is in distributed business applications. Fortunately, that’s where the money is.

In addition, there’s that pesky runtime. Although you’ll be able to download the runtime soon, it’s not a trivial download for most remote dialup users. Microsoft will probably deliver the runtime with future versions of Windows and with popular applications such as Internet Explorer and Office (sheer speculation on my part?I have no inside knowledge of Microsoft’s plans?but that only makes sense). Even with full support from the developer community, which Microsoft most certainly does not have, it would take several years for developers to be reasonably certain that the .NET runtime is installed on every target system. Nonetheless, I expect .NET to gain quick entry into the business market, which, again, is where the money is.

Finally, there are the developers themselves. Currently, .NET is a programming system without programmers. The product isn’t released yet, and despite a huge beta program with hundreds of thousands of participants (if you count downloads as participants) it remains to be seen whether Microsoft can migrate its existing classic VB developer base to .NET successfully. For the past year, there has been a sometimes bloody ongoing debate on DevX’s VB.NET discussion group about this very point.

The bottom line is: DHTML is dead for serious application development; browsers, as application delivery platforms, are past their peak; and the future of distributed, interactive applications?at least on Windows?belongs to .NET. If you’re developing these types of applications and you’re not learning .NET, you may want to rethink your career plans.

devx-admin

devx-admin

Share the Post:
Software Development

Top Software Development Companies

Looking for the best in software development? Our list of Top Software Development Companies is your gateway to finding the right tech partner. Dive in

India Web Development

Top Web Development Companies in India

In the digital race, the right web development partner is your winning edge. Dive into our curated list of top web development companies in India,

USA Web Development

Top Web Development Companies in USA

Looking for the best web development companies in the USA? We’ve got you covered! Check out our top 10 picks to find the right partner

Clean Energy Adoption

Inside Michigan’s Clean Energy Revolution

Democratic state legislators in Michigan continue to discuss and debate clean energy legislation in the hopes of establishing a comprehensive clean energy strategy for the

Chips Act Revolution

European Chips Act: What is it?

In response to the intensifying worldwide technology competition, Europe has unveiled the long-awaited European Chips Act. This daring legislative proposal aims to fortify Europe’s semiconductor

Revolutionized Low-Code

You Should Use Low-Code Platforms for Apps

As the demand for rapid software development increases, low-code platforms have emerged as a popular choice among developers for their ability to build applications with

Software Development

Top Software Development Companies

Looking for the best in software development? Our list of Top Software Development Companies is your gateway to finding the right tech partner. Dive in and explore the leaders in

India Web Development

Top Web Development Companies in India

In the digital race, the right web development partner is your winning edge. Dive into our curated list of top web development companies in India, and kickstart your journey to

USA Web Development

Top Web Development Companies in USA

Looking for the best web development companies in the USA? We’ve got you covered! Check out our top 10 picks to find the right partner for your online project. Your

Clean Energy Adoption

Inside Michigan’s Clean Energy Revolution

Democratic state legislators in Michigan continue to discuss and debate clean energy legislation in the hopes of establishing a comprehensive clean energy strategy for the state. A Senate committee meeting

Chips Act Revolution

European Chips Act: What is it?

In response to the intensifying worldwide technology competition, Europe has unveiled the long-awaited European Chips Act. This daring legislative proposal aims to fortify Europe’s semiconductor supply chain and enhance its

Revolutionized Low-Code

You Should Use Low-Code Platforms for Apps

As the demand for rapid software development increases, low-code platforms have emerged as a popular choice among developers for their ability to build applications with minimal coding. These platforms not

Cybersecurity Strategy

Five Powerful Strategies to Bolster Your Cybersecurity

In today’s increasingly digital landscape, businesses of all sizes must prioritize cyber security measures to defend against potential dangers. Cyber security professionals suggest five simple technological strategies to help companies

Global Layoffs

Tech Layoffs Are Getting Worse Globally

Since the start of 2023, the global technology sector has experienced a significant rise in layoffs, with over 236,000 workers being let go by 1,019 tech firms, as per data

Huawei Electric Dazzle

Huawei Dazzles with Electric Vehicles and Wireless Earbuds

During a prominent unveiling event, Huawei, the Chinese telecommunications powerhouse, kept quiet about its enigmatic new 5G phone and alleged cutting-edge chip development. Instead, Huawei astounded the audience by presenting

Cybersecurity Banking Revolution

Digital Banking Needs Cybersecurity

The banking, financial, and insurance (BFSI) sectors are pioneers in digital transformation, using web applications and application programming interfaces (APIs) to provide seamless services to customers around the world. Rising

FinTech Leadership

Terry Clune’s Fintech Empire

Over the past 30 years, Terry Clune has built a remarkable business empire, with CluneTech at the helm. The CEO and Founder has successfully created eight fintech firms, attracting renowned

The Role Of AI Within A Web Design Agency?

In the digital age, the role of Artificial Intelligence (AI) in web design is rapidly evolving, transitioning from a futuristic concept to practical tools used in design, coding, content writing

Generative AI Revolution

Is Generative AI the Next Internet?

The increasing demand for Generative AI models has led to a surge in its adoption across diverse sectors, with healthcare, automotive, and financial services being among the top beneficiaries. These

Microsoft Laptop

The New Surface Laptop Studio 2 Is Nuts

The Surface Laptop Studio 2 is a dynamic and robust all-in-one laptop designed for creators and professionals alike. It features a 14.4″ touchscreen and a cutting-edge design that is over

5G Innovations

GPU-Accelerated 5G in Japan

NTT DOCOMO, a global telecommunications giant, is set to break new ground in the industry as it prepares to launch a GPU-accelerated 5G network in Japan. This innovative approach will

AI Ethics

AI Journalism: Balancing Integrity and Innovation

An op-ed, produced using Microsoft’s Bing Chat AI software, recently appeared in the St. Louis Post-Dispatch, discussing the potential concerns surrounding the employment of artificial intelligence (AI) in journalism. These

Savings Extravaganza

Big Deal Days Extravaganza

The highly awaited Big Deal Days event for October 2023 is nearly here, scheduled for the 10th and 11th. Similar to the previous year, this autumn sale has already created

Cisco Splunk Deal

Cisco Splunk Deal Sparks Tech Acquisition Frenzy

Cisco’s recent massive purchase of Splunk, an AI-powered cybersecurity firm, for $28 billion signals a potential boost in tech deals after a year of subdued mergers and acquisitions in the

Iran Drone Expansion

Iran’s Jet-Propelled Drone Reshapes Power Balance

Iran has recently unveiled a jet-propelled variant of its Shahed series drone, marking a significant advancement in the nation’s drone technology. The new drone is poised to reshape the regional

Solar Geoengineering

Did the Overshoot Commission Shoot Down Geoengineering?

The Overshoot Commission has recently released a comprehensive report that discusses the controversial topic of Solar Geoengineering, also known as Solar Radiation Modification (SRM). The Commission’s primary objective is to

Remote Learning

Revolutionizing Remote Learning for Success

School districts are preparing to reveal a substantial technological upgrade designed to significantly improve remote learning experiences for both educators and students amid the ongoing pandemic. This major investment, which

Revolutionary SABERS Transforming

SABERS Batteries Transforming Industries

Scientists John Connell and Yi Lin from NASA’s Solid-state Architecture Batteries for Enhanced Rechargeability and Safety (SABERS) project are working on experimental solid-state battery packs that could dramatically change the

Build a Website

How Much Does It Cost to Build a Website?

Are you wondering how much it costs to build a website? The approximated cost is based on several factors, including which add-ons and platforms you choose. For example, a self-hosted

Battery Investments

Battery Startups Attract Billion-Dollar Investments

In recent times, battery startups have experienced a significant boost in investments, with three businesses obtaining over $1 billion in funding within the last month. French company Verkor amassed $2.1