|
BUILDING THE WEB ON LINUX
Come, come, good wine is a good familiar
creature, if it be well used. |
|
|||
by
Jack Fegreus |
|
IBM has been at the forefront of the Linux assault on corporate computing for some time. One of the highlights of their involvement has been the formation of the Open Source Eclipse project. To help spur the adoption of a common framework for web development tools, IBM donated substantial amounts of the foundation code for WebSphere Studio. As a development framework designed to build the most sophisticated dynamic e-business services, WebSphere is entrenched with full J2EE and EJB 2.0 functionality. This translates the ability to develop applications using constructs like Message Driven Beans (MDB) and Container Managed Relationships (CMR). That's pretty lofty stuff when many developers are struggling to deal with simple Java servlets. While all the buzz is still about beans, IBM's own research puts 54% of e-business adopters still working only in HTML for basic web hosting. As a way to begin looking at the plethora of programs that make up the WebSphere family of workstation and server software, openBench Labs chose to start with what appears to be the simplest branch of the family: Homepage Builder. WebSphere Studio is designed to support all stages of B2B web development. While best known for its Java application server, there is also a web authoring and design tool dubbed Homepage Builder for generating HTML that competes with Microsoft's FrontPage. As a a GUI-driven suite of applications to create and manage web pages, Homepage Builder is just one of many packages. On the highend of these tools are sophisticated packages such as Go Live from Adobe and Dreamweaver MX from Macromedia. On the other end of the spectrum, there is the simple but very intuitive FrontPage from Microsoft. |
|
Two things make Homepage Builder stand out from competition. First, there is the matter of cost. At just $57 on Linux or $69 for Windows, Homepage Builder is less than half the cost of its closest competitor FrontPage 2002. Second, there is the little matter of the availability of both a Linux and a Windows edition. From the bottom-line perspective of any ISV, having a version of any desktop software application that runs on Linux is still more an issue of symbolism than of substance. Nonetheless, thanks in part to Microsoft's Open License scheme, growing numbers of large sites that have already implemented Linux successfully on servers are now actively examining transition strategies that will move Linux on to desktops in order to improve the site's TCO proposition. What's more, for IBM, which touts having the largest portfolio of Linux offerings, having a corresponding Linux version for every Windows software package is very important symbolism. So much so, that when the Windows version of Homepage Builder was first made generally available in July of 2000, IBM's vice president of Marketing, Business Transformation Software. noted that the simultaneous announcement of a version running on Linux was "a great proof point." The reception of Homepage Builder in the Open Source community of this "great proof point" was a bit rocky. For many, the reliance on Wine by Homepage Builder in order to run on Linux was a bęte noire with which they could not deal without a great expenditure of emotion and invective. It was as if someone had let loose an ersatz Redmondian Devil into their midst. |
|
Immediately, there came the requisite whine about emulators and their slow execution. It's an interesting point, except Wine is not an emulator. Wine simply adds an API layer above X Windows to accept and return Win32 API calls on a Unix or Linux system. As a result, Wine only enters the performance equation when a program is making Win32 API calls. For a well written Windows program, the added overhead of Wine should be quite minimal. The real performance issue is the efficiency of the algorithms used in the application. This is precisely what we encountered during all of our tests, which we ran on a Dell Optiplex GX110 equiped with a 600MHz P-III processor and 512MB of RAM. For openBench Labs, performance of Homepage Builder on Linux simply was not an issue. Our bęte noire was program functionality. |
|
Nonetheless, the Windows pedigree of Homepage Builder even vexed openBench Labs at first encounter. As the old canard goes, you only get one chance to ruin a first impression and in our first encounter with the Linux version of the software, Homepage Builder went a long way to do just that. First there was the all too familiar search for the program after installation. A quick seach of the /opt directory uncovers the wayward application and a start script which needs to be launched in a terminal window. Not until that script is launched for the first time, does the user learn about the need to download a special optimized version of Wine for Homepage Builder. |
|
|
Despite all the rationale that Wine is not a performance issue, it remains an unnerving red flag. Given that mindset, the initial experience with the Homepage Builder WYSIWYG editor leaves much to be desired. The problem centers on a very Windows-like open file popup menu. The popup menu presents the Linux file system as logically divided over 3 logical volumes: C:, D:, and E:. These three volumes turn out to be the users home directory (C:), a directory /opt/hpbuilder4/system that contains the Homepage Builder executable files (D:), and the main file system / (E:). Worse, the default location is a nonexistent folder in the user's home directory. That nonsense aside, the WYSIWYG editor does make building a page a relatively painless task. That's especially true if you are using version 6.0 of Homepage Builder. Unfortunately, if you are running Linux, the only version of Homepage Builder that is available is version 4.0. As the version numbers suggest, the Windows version has significant enhancements not found in the Linux version. More troubling, there are several quirky display characteristics in version 4.0 that boarder on outright bugs. |
|
The Linux package, version 4.0, comes replete with over 2,000 ready-to-use images, sounds, page templates, and Java applets. As a result, there is virtually no need to start with a blank page. But before you get overly excited with this treasure trove, note that version 6.0 of Homepage builder comes packed with 5,000 extra goodies. For a web page design tool, both versions come with an excellent script editor which handles both Javascript and VBscript. Most competitive tools have only the most rudimentary tool for composing or editing scripts. The Homepage Builder script editor come with a library of objects and methods, as well as a collection of script templates for common actions. Unfortunately, in today's world of hyper-dynamic web pages the one element that both versions lack is a smart plug-in that knows about Flash graphics. There is a generic plug-in that will embed a Flash .swf image; however, this plug-in cannot automatically size the image for display nor can it set any of the characteristic values of the Flash file. What's more no part of the Flash image is visible in layout mode so it is necessary to switch in an out of the web browser on Linux to adjust the image manually. On Windows it's a tad easier in that the preview mode can be used to garner visual bearings. Despite what they think in Redmond, the tasks in building a web site go beyond simply laying out HTML pages. Creating graphical design elements to be placed in the page is at least half the battle. |
|
Given that reality, there are several more parts to both versions of Homepage Builder. Both packages come with a version of WebArt Designer. Functionally similar to Microsoft's Photo Editor or Gimp on Linux, WebArt Designer provides the ability to create logos, buttons, and compound images by "stacking" images in WebArt Designer parlance. WebART Designer is quite an impressive application on its own, let alone as a bundled add-in feature. With it, the user can draw vector-based shapes such as lines, ellipses, rectangles, polygonal lines, and curves. In addition it can be used to transform, align, adjust, and augment text display. And of course there are a plethora of special effects to light, blur, swirl, and emboss images. |
|
|
Sadly, the problematic issue of a quirky X Windows display resurrects itself in WebArt Designer. When gif files are brought into a new composition, they are displayed with a very distinctive and very wrong color shift. This naturally makes color manipulation problematic at best and near impossible at worst. Adding to that frustration, the GUI for this module has been significantly upgraded and made into quite an impressive image manipulation tool in the version 6.0 release. Still, what's the web if not all singing, all dancing images, all of the time? To that end, IBM adds another module called Web Animator. What's more, this graphic animation tool works equally well on both v4.0 and v6.0 of Homepage Builder. |
|
Working with Web Animator to create an animated gif is quite similar to working with its sibling WebArt Designer to build a static gif. Numerous types of images, such as gif, bmp, tiff, and jpeg, can be imported into a new composition. Any number of WebArt Designer image effects can then be applied to these images. There are also numerous special effects that can be applied to generate intervening frame images that will be displayed in sequence to produce a sense of motion. These effects include: wipe, mosaic wipe, scroll, blend, blur, vortex, tile, mosaic, noise, scatter, pinch, center focus, zoom, gray scale, bilevel, sepia, half tone, motion, blur, wind, and rotate. |
|
|
But wait, there's more. That is assuming that you are running on Windows and can utilize version 6.0 of Homepage Builder. Spurred on by the gaming craze, today's web is a hotbed for sophisticated animation and an animated gif file has all the panache of a silent movie. So version 6.0 adds—drum roll please—WebVideo Studio. This module has nearly everything that a budding C.B. DeWeb needs to go into production. There are tools to edit a timeline, capturing data from a digital video camera, combine separate video files into a single file, superimpose titles and text on a video file, insert background music and sound effects. The results can then be saved as a QuickTime 4 movie or an AVI file. At just $69, this makes
the Windows version of WebSphere Homepage Builder an incredible bargain. And
just think of all the money being saved by using Linux and Apache to deliver
the site. As for Version 4, like a Gewürztraminer pulled too early from the
vat, it needs to be aged. |