![]() |
Getting inside SVG | Table of contents | Indexes | SVG: putting XML in the picture | ![]() |
|||
Strategies for effective use of intelligent graphics in Web applications |
Gebhardt, John C. ![]() |
| John C. Gebhardt |
| Vice President, Product Architecture and Strategy |
Annapolis ![]() Maryland ![]() Micrografx, Inc. ![]() USA ![]() | Micrografx, Inc.,
116 Defense Highway Annapolis Maryland 21401 USA Phone: 410-224-2926 Fax: 301-261-8358 email: johng@micrografx.com web site: www.micrografx.com |
| Biography |
| Gallant, Greg |
| Greg Gallant |
| Senior Systems Architect |
Annapolis ![]() Maryland ![]() Micrografx, Inc. ![]() USA ![]() | Micrografx, Inc.,
21401
116 Defense Highway Annapolis Maryland USA Phone: 410-224-2926 Fax: 301-261-8358 email: gregg@micrografx.com web site: www.micrografx.com |
| Biography |
Introduction |
What are "Intelligent Graphics"? |
| A typical intelligent graphic which might be integrated into an e-commerce service, support, and spare parts procurement system is shown in . |
|
DOM, Document Object Model ![]() IJG, Independent JPEG Group JPEG ![]() PNG ![]() SVG ![]() |
|
GIF, Graphics Interchange Format ![]() VML ![]() | Creating and managing intelligent graphics |
| The creation of intelligent graphics for Web applications can be approached in several different ways using a variety of tools and any of the standards described above. The best approach to use depends on a variety of factors. The most important factor is to determine the role of the graphic in the context of the overall Web application. This factor alone will often drive the choice of creation technique and presentation format. We will describe several common scenarios where intelligent graphics could be used and describe appropriate techniques and formats for each situation. |
Hand-crafted intelligent graphics |
| In many cases, the role of the graphic is merely to draw interest to the page, such as an advertisement. If successful, the graphical content will help attract traffic to the site. The potential to generate direct and indirect consumer revenue often justifies the investment in creative talent and the creation of a one-off, unique presentation, including sophisticated animations. If the graphic is intended to be presented to a wide audience, the ability of mainstream Web browsers such as Microsoft's Internet Explorer and Netscape's Navigator to render the graphic must be seriously considered. Casual Web surfers are often reluctant to download ActiveX Controls, Netscape Plug-ins, or Java applets in order to be able to view content. For these consumer-focused, advertising applications, the best strategy is usually to use a good graphics design/animation tool to hand-craft a series of raster images which, when played in sequence, will produce the desired animated effects. A logical choice for a format to represent these graphics is the GIF format since virtually all browsers support GIF rendering natively. The major drawback of using GIF is that GIF files are bandwidth hogs and animated GIFs compound the problem. The designer must make the difficult choice between visual impact and download time. Usually, the choice is made in favor of minimizing download time and designers opt for small, carefully crafted, animated images with the absolute minimum number of frames necessary to convey a realistic sense of motion. |
| Hand-crafting large, animated, interactive pages - the Web equivalent of "full-page ads" - that load in a reasonable amount of time, is technically feasible using tools and one of the newer vector or hybrid formats such as SWF, VML, or SVG. However, the ability to view and interact with the page is dependent on which version of which browser is installed and whether the appropriate control, plug-in, or Java virtual machine has been installed. If and when SVG is adopted by the mainstream browser manufacturers, it will be a good choice for representing this type of page. In the meantime, SWF is being used extensively to design and craft interactive pages with high visual impact. |
| For sites designed to be used on a regular basis by relatively sophisticated users, the necessity to carefully configure the browsing environment to match the content is an acceptable inconvenience, at least in the short term. |
| These hand-crafted pages combine graphical components and metadata into monolithic functional units. They work well and can have high visual impact, but in general, hand-crafted graphics are expensive to create, consume scarce artistic resources, and are difficult to manage and maintain in the context of a large, complex, e-commerce environment. If any change is necessary, the entire page must be edited and republished. This process is illustrated in . |
|
Creating intelligent graphics from reusable components |
| In many e-commerce applications, the primary focus is to "Web-enable" existing business processes. Typical processes such as sales, procurement, customer support, service and repair are on-going operations in virtually every enterprise. These processes depend on large repositories of valuable information, including graphics. It is essential that as much of this existing legacy information be reused and repurposed as possible. Otherwise, the cost of deploying and managing e-commerce applications becomes prohibitive. |
Turning a graphic produced for paper-based or other application into an intelligent graphic optimized for Web applications presents a number of challenges:
|
| By applying careful systems design concepts and incorporating a server-side graphics server, most, if not all, of the above challenges can be met and the cost of deploying graphics in Web applications can be significantly reduced. |
|
| First, you must determine whether the graphics can be rendered on a Web page at sufficient quality without the user having to zoom in. The result of this analysis will help you choose the appropriate format. For example, if you need to deploy complex illustrations such as contained in the illustrated parts catalog of a commercial aircraft, you will have to allow your user to zoom in or magnify the content, otherwise detail will be lost. One of the scalable vector formats such as WebCGM would be an appropriate choice for this type of graphic. On the other hand, if most of your graphics are color photographs which can be represented adequately at typical screen resolutions you should look first at GIF, JPEG, and PNG. |
| The next step in designing an intelligent graphics management system is to decide how you want your users to be able to interact with the graphics. The choices here range from publishing purely static raster graphics to fully animated, interactive, hotspotted, scalable graphics from reusable components. |
| The third step is closely related to the previous one. To provide intelligent graphics solutions which are easily maintained, it is very important to carefully analyze your graphics and break them into logical components. In some cases, these graphical objects will be bound to intelligent metadata such as hyperlinks. In other cases, the graphical objects will be used to create animations. In other cases, the objects will be created, when needed, from information contained in other databases. For example, the parts in can be associated with various other information via hyperlinks. If the user was repairing the equipment, the hyperlink could point to repair instructions. If a new part needed to be ordered, the hyperlink could point directly to the spare parts procurement application. If training was required, the hyperlink could point to a CBT (Computer-based training) module where the same graphical objects are used in an animation illustrating how to remove and replace the part. |
| Another example of intelligently building Web graphics from components is shown in . |
|
| In this case, the background image of the product (in this case a computer system, can be composited with the retailer's logo, the current price, and the current status. The background image can be used over and over and the other information can be retrieved from the retailer's ERP system at the instant the Web page is requested. |
| If you choose your graphical objects carefully, you may be able to create them automatically from the source graphics or data. For example, if we had chosen to only use the callout numbers in as the hotspots, the process of creating the hotspots could have been easily automated. By searching for the text strings in the drawing and performing a simple pattern match to filter out all text except callouts, intelligent objects can be created from the graphic. |
| Your ability to revise an intelligent graphic with minimal effort depends directly on how the graphics are maintained in the repository and how well the source graphics are structured. The best revision control strategy is to maintained a highly granular structure of graphical components and associated metadata, with version control on each small component. Then if one or more components need to be revised, new versions of the changed components can be added to the repository. An efficient, quality assurance process can then be designed that focuses attention on the changed components. |
| If the legacy graphics from which the intelligent graphics are derived are also structured into objects aligned with the structures maintained in the repository, then the process of incorporating a revised legacy graphic into the repository can be largely automated. The structures in the repository can be compared to the structures in the replacement graphic and changes can be detected. These changes can be "highlighted" to make the update process as efficient as possible. |
| If the legacy source graphics are not structured into objects, the existing graphics and the replacement graphics cannot be automatically compared, and the update process becomes more difficult. However, if the object structures are constrained to this which can automatically and reliably derived from the source graphics, then the legacy graphics can be processed into objects as part of the revision process. |
Summary and conclusions |
| Good graphics make Web applications easier to use and understand and provide very intuitive mechanisms for human users to interact with and control complex business processes and information. But until recently, creating and managing of large repositories of hand-crafted intelligent graphics was difficult and expensive. |
| However, by separating the graphics into reusable components or graphical objects, and by further separating the metadata associated with those objects, server-side intelligent graphics management systems can be deployed which combine the appropriate graphical objects and metadata into final-form intelligent graphics on demand. |
| Also, by utilizing one or more of the emerging scalable Web graphics standards such as WebCGM or SVG, these intelligent graphics can be served to Web clients very efficiently, with minimal bandwidth and maximum quality, thereby improving the users experience. |
| By maximizing the reuse of graphical components, minimizing the requirements for manually authoring intelligent behavior, automating the graphics revision process as much as possible, and utilizing the new Web graphics standards, the large scale deployment of intelligent graphics becomes economically attractive. |
| Bibliography |
|
|
|
|
|
|
|
|
|
![]() |
Getting inside SVG | Table of contents | Indexes | SVG: putting XML in the picture | ![]() | |||