Wednesday, July 24, 2024

Hot Web shop technologies

Datamation content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

It’s axiomatic that true Web geeks are up on all the latest technologies. Walk around any gathering of the digerati and you’ll hear the acronyms flying thick and fast — XML, DHTML, CSS, XSSI, and others. It’s only natural to wonder: who’s using all these bells and whistles, and for what? And is it worth my time to learn about them?

The story of Web technologies is largely the story of the browsers they run on. Each new release of the Big Two — Netscape Navigator and Microsoft Internet Explorer — introduces new functionality and new technologies to be explored. Unfortunately, with each successive browser release, the populace of Web users grows increasingly fragmented, with ever-widening compatibility gaps for the hapless Web designer to deal with. The distance between the early-adopter “get it while it’s in beta” geeks and the recalcitrant “my Netscape 2.0 works just fine, thank you” crowd grows greater by the minute.

One of the fundamental laws of the Web is: to reach the widest audience, use the simplest technologies. Design a site that’s viewable with Lynx, and you guarantee that it’s visible to the entire Web-viewing world. The question is, will the world then yawn and look elsewhere? On the other hand, the more crowd-pleasing new technologies you include, the greater the possibility that your site will be invisible to some unknown (but worrisomely large) portion of your audience.

Common sense dictates that certain types of sites will attract certain types of viewers. It’s safe to assume that sites targeted towards a more technical audience will be viewed with recent browsers, and vice versa. Yahoo!, the undisputed king of general-purpose Web sites, is a good example of a site which uses the bare minimum of client-side technology necessary to present itself — in fact, you can view it quite comfortably with Lynx.

Generally speaking, it’s best to approach new Web technologies from a problem-solving perspective. Too often, a Web builder will say “Wow, here’s a hot new technique, what can I use it for?” when really the better question is “What techniques are most appropriate to the goals and obstacles of my Web site?” Let’s take a look at some advanced Web techniques, their advantages and disadvantages, and what kinds of problems they can solve.

Undoubtedly the most talked-about new technologies on the Web today are Dynamic HTML, or DHTML, and eXtensible Markup Language, or XML. Web designers generally feel that HTML 3.2 has taken us about as far as it can, and are impatiently awaiting a next-generation Web language. DHTML and XML represent two very different kinds of advances beyond HTML 3.2. DHTML is a hodgepodge of JavaScript, Cascading Style Sheets and a partially-implemented Document Object Model — it works very well for complex animations, layouts and interactive page elements, but browser incompatibilities are rampant and severe. It is theoretically possible to write cross-platform DHTML — the folks at Macromedia insist it can be done — but the contortions you have to go through to achieve it make me wonder if it’s worth the trouble. XML, on the other hand, will be something completely different — a paradigm shift, if you’ll forgive the cliché, away from HTML as we know it today. Unfortunately, from a practical perspective it’s not much good to us yet, since among currently available Web browsers only IE4 has even a rudimentary implementation of the language and no one is sure what its final form will be.

Cascading Style Sheets (CSS) can do you some good right now if you can count on your audience coming to you with a 4.x browser. Web designers everywhere have thrown up their hands in despair upon discovering that their carefully laid-out pages are reduced to an illegible muddle if viewed in a browser where any of the default font or color settings have been changed. CSS can render font sizes and colors non-overridable by the user, and grant the Web designer much greater control over page elements such as background images, bulleted lists, margins, horizontal rules, and others.

The trick with CSS is to strike a balance between CSS-enabled browsers and non-CSS-enabled browsers. IE4 and NS4 have very similar implementations, IE3 has a somewhat more limited implementation, and NS3 has never heard of it. With CSS it’s possible to specify font size by point size or pixel size, whereas the HTML FONT SIZE=”…” tag has nothing between 2 and 3, so the advantage is clear — but don’t forget to check and make sure that your site will work for both. Here’s an excellent CSS tutorial, but beware — it only works with IE4.

Java and JavaScript are the two advanced Web techniques which are in widest use today, with browser compatibility stretching back to Navigator 2.0. They’re used heavily by both amateur and professional designers as the preferred method of adding interactivity to Web pages. Platform/browser incompatibilities are not entirely absent, especially with more sophisticated JavaScript programs, but they’re peanuts compared to those faced by writers of DHTML. For dealing with issues of communication, navigation, and education, Java and JavaScript lead the pack. A particularly elegant example of Java usage to achieve an information presentation goal can be found at the Smithsonian Institute’s online exhibit Revealing Things.

Shockwave/Flash provides another option for adding interactivity to Web sites. Browser plug-ins are an uneasy proposition for many Web developers — Web users are likely to move on when confronted with a site which requires a plug-in they don’t have or have had a bad experience trying to install. Still, the flexibility and design possibilities of Shockwave have given it a sizable following, and it grants definite file size advantages over large animated gifs. The animations at ABC Interactive would be huge if they were delivered as gifs, but as a Flash object the file size is manageable even at modem speeds.

Dealing with graphics in Java (or, heaven forbid, JavaScript) can be painful for even the most seasoned programmer — the tools just haven’t matured yet. With Shockwave, it’s possible to assemble graphical interfaces for forms, games, and other interactive Web elements relatively quickly and easily. Some interesting uses of Shockwave in a games context can be found at Razorfish’s Bunko! site, including the notorious Bachelor Machine. Bunko! is part of RSUB, the Razorfish Subnetwork , which will soon have a new home in the permanent collection of the San Francisco Museum of Modern Art.

Personalization on the Web is a hot concept, especially among commerce sites. Give the customers an environment tailored to their needs and interests, the conventional wisdom goes, and they’ll spend more time at the site and buy more stuff. And the key to personalization, for many sites, is cookies. They’re used by practically all large-scale commerce sites, from to CDNow to Virtual Vineyards. Some sites, such as CNET’s Snap! Online, won’t let you in at all if you have cookies disabled in your browser. For a relatively simple technology — all it takes to set a cookie is a simple JavaScript or CGI program — cookies have generated an enormous amount of controversy. Privacy advocates have denounced them as invasive, and they’ve provided endless ammunition to alarmist elements in the media. In reality, cookies are harmless, nothing more than a kind of state-saving Post-it note for the Web server and incapable of causing damage, but the poisonous reputation they’ve developed makes caution necessary if you plan to use them. It’s a good idea to post a cookie policy somewhere on your site, explaining exactly what they’re for and reassuring the user that they won’t be put to any evil use.

Building a quality Web site is in many respects like building a house; for best results, use the right materials. You wouldn’t use bricks to build an igloo, or stretched buffalo hides to build a skyscraper, so choose your Website materials with equal care. Delving into the world of advanced Web techniques can be a heady experience, so be sure that you don’t lose sight of your goals in the process — gratuitous use of technology runs the risk of reducing it to a mere frill.

Steve Renaker is part of the implementation team at Razorfish, Inc. in New York City and has been fiddling with the Web since its earliest days. Previous publications include “The Official Gamelan Java Directory” and articles for “Java Report.” He can be reached at

Subscribe to Data Insider

Learn the latest news and best practices about data science, big data analytics, artificial intelligence, data security, and more.

Similar articles

Get the Free Newsletter!

Subscribe to Data Insider for top news, trends & analysis

Latest Articles