www.opensourcewebbook.com
 
     
  Page Path - Contents - WML  
     
 
Home
About
Foreword
Reviews
Authors
Purchase
Errata
Sourcecode
Resources
Tools
Contents
Linux
Apache
Perl
MySQL
WML
CGI
mod_perl
SSI
Embperl
Mason
PHP
     

WML - Website META Language

The Website META Language (WML) is a programming language created by Ralf S. Engelschall to build HTML code - thus a metalanguage (see thewml.org/). It provides a convenient way to create and maintain complex static web sites (as opposed to the dynamic Web sites we'll create later with CGI, mod_perl, Embperl, Mason, etc.). It's especially useful for maintaining a consistent look and feel across the Web site. As such, it's a step up from plan HTML for building a web site, and is easier to use and less complex than the dynamic web tools we'll study in later chapters.

If your site serves up a large number of static web pages, with WML you can change all the pages by changing one template and then executing a make-like command. Another advantage of using WML is that after compilation, there's no more server-side processing; in contrast, the dynamic languages we'll discuss later have to be executed on the server when they are called. In addition, with WML the client-side browser gains a speed advantage from being able to cache the static pages.

WML Links

WML Home Page

 

      EXAMPLES:

hello1.wml:
head1.wml
foot1.wml
hello1.wml
hello1.html

hello2.wml:
head2.wml
foot2.wml
hello2.wml
hello2.html

hello3.wml:
head3.wml
foot3.wml
hello3.wml
hello3.html

page1.wml:
page1.wml
page1.html

page2.wml:
page2.wml
page2.html

toc.wml:
toc.wml
toc.html

navbar.wml:
hackinglinuxexposed.com
navbar.wml
navbar.html

xtable1.wml:
xtable1.wml
xtable1.html

xtable2.wml:
xtable2.wml
xtable2.html

diversion.wml:
diversion.wml
diversion.html

template1.wml:
template1.wml
better1.wml
better1.html

.wmlrc:
.wmlrc

define.wml:
define.wml
define.html

eperl1.wml:
eperl1.wml
eperl1.html

eperl2.wml:
eperl2.wml
eperl2.html

eperl3.wml:
breadcrumb.wml
eperl3.wml
eperl3.html

Project:
oswb.wml
/errata/index.wml
/errata/
/contents/wml/index.wml
/contents/wml/