magazine resources subscribe about advertising

New Architect Daily
Commentary and updates on current events and technologies

CMP Media E-Book

Download your copy today.

Research
Search for reports and white papers from industry vendors and analysts.

This Week at NewArchitect.com Subscribe now to our free email newsletter and get notified when the site is updated with new articles







Day of Defeat Online Gaming

 New Architect > Archives > 1999 > 03 > Features

Netscape's Gecko

The Next-Generation Layout Engine

By Rick Gessner

At the heart of every Web browser beats a powerful layout engine. A layout engine "consumes" (reads) a document file, identifies and separates the constituent elements (like graphic images and text), places those elements into geometric space using well-defined stylistic rules, and finally renders the result on the display screen. That all sounds easy enough, but sophisticated layout engines take years of effort to design and build, requiring a highly skilled and experienced engineering team.

Unfortunately, a common complaint about layout systems in general (and browsers in particular) is that they're too big. It's not surprising, given the demands developers and users place upon these systems. The need for a powerful layout engine that could fit easily onto a portable device was a major reason why Netscape began developing its new layout engine -- Gecko -- back in 1997, under the project code name "NGLayout." Gecko will break with the large-size tradition by offering a surprising degree of layout flexibility in a very small package. In fact, a prototype browser based on Gecko was recently distributed on a single floppy disk. Contrast that with the 15 to 20MB installations of common browsers and you can see why many developers are so excited, and why Gecko will serve as the basis for future Netscape products.

In this article, I'll examine the Gecko engine, explain how it works, and talk about how you might put Gecko to work in your own applications. For more on the philosophy of Gecko, see the box titled "



  Day of Defeat Online Gaming

home | daily | current issue | archives | features | critical decisions | case studies | expert opinion | reviews | access | industry events | newsletter | research | careers | info centers | advertising | subscribe | subscriber service | editorial calendar | press | contacts


Copyright © 2006 CMP Media, LLC Read our privacy policy, your California privacy rights, terms of service.
SDMG Web sites: BYTE.com, C/C++ Users Journal, Developer Pipeline, Dr. Dobb's Journal, DotNetJunkies, MSDN Magazine, Sys Admin,
SD Expo, SD Magazine, SqlJunkies, The Perl Journal, Unixreview, Windows Developer Network, New Architect

web2