| 1 |
|
| 2 |
<HTML> |
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
<HEAD> |
| 29 |
<TITLE>7.1 Introduction</TITLE> |
| 30 |
<STYLE TYPE="text/css"> <!-- A {text-decoration: none} // --> </STYLE> |
| 31 |
</HEAD> |
| 32 |
<BODY BACKGROUND="binary/background.gif" |
| 33 |
BGCOLOR="#FFFFFF" |
| 34 |
TEXT="#000000" |
| 35 |
VLINK="#660000" |
| 36 |
LINK="#FF0000" |
| 37 |
ALINK="#CC0000"> |
| 38 |
|
| 39 |
<TABLE WIDTH="490"> |
| 40 |
<TR> |
| 41 |
<TD WIDTH="130" VALIGN="top"> |
| 42 |
<IMG SRC="binary/d_clear.gif" ALT="" WIDTH="130" HEIGHT="1"><BR> |
| 43 |
|
| 44 |
<FONT SIZE="2"> |
| 45 |
<BR> |
| 46 |
|
| 47 |
<A HREF="http://www.ross.net/" |
| 48 |
TARGET="rosshome" |
| 49 |
onClick="window.open('','rosshome','location,status,menubar,scrollbars,resizable',false).focus(); return true;" |
| 50 |
> |
| 51 |
<IMG SRC="binary/rossnet_logo.gif" |
| 52 |
WIDTH="64" HEIGHT="32" |
| 53 |
BORDER="0" ALT="RossNet" |
| 54 |
HSPACE="0" VSPACE="1"></A><BR> |
| 55 |
<BR> |
| 56 |
|
| 57 |
<A HREF="../index.shtml" |
| 58 |
TARGET="funnelweb" |
| 59 |
onClick="window.open('','funnelweb','location,status,menubar,scrollbars,resizable',false).focus(); return true;" |
| 60 |
> |
| 61 |
<IMG SRC="binary/linklogo.gif" |
| 62 |
WIDTH="64" HEIGHT="32" |
| 63 |
BORDER="0" ALT="FunnelWeb" |
| 64 |
HSPACE="0" VSPACE="1"></A><BR> |
| 65 |
<BR> |
| 66 |
<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><TD BGCOLOR="#000000"> |
| 67 |
<A HREF="../reference/index.html" |
| 68 |
TARGET="funnelwebreference" |
| 69 |
onClick="window.open('','funnelwebreference','location,status,menubar,scrollbars,resizable',false).focus(); return true;" |
| 70 |
><FONT COLOR="#FFFFFF"><B>Reference</B></FONT></A><BR> |
| 71 |
<BR> |
| 72 |
<A HREF="../developer/index.html" |
| 73 |
TARGET="funnelwebdeveloper" |
| 74 |
onClick="window.open('','funnelwebdeveloper','location,status,menubar,scrollbars,resizable',false).focus(); return true;" |
| 75 |
><FONT COLOR="#FFFFFF"><B>Developer</B></FONT></A><BR> |
| 76 |
<BR> |
| 77 |
<A HREF="index.html"><FONT COLOR="#FFFFFF"><B>Tutorial</B></FONT></A><BR> |
| 78 |
<A HREF="intro.html"><FONT COLOR="#FFFFFF">1 Introduction</FONT></A><BR> |
| 79 |
<A HREF="macro.html"><FONT COLOR="#FFFFFF">2 Macros</FONT></A><BR> |
| 80 |
<A HREF="type.html"><FONT COLOR="#FFFFFF">3 Typesetting</FONT></A><BR> |
| 81 |
<A HREF="example.html"><FONT COLOR="#FFFFFF">4 Example</FONT></A><BR> |
| 82 |
<A HREF="hints.html"><FONT COLOR="#FFFFFF">5 Hints</FONT></A><BR> |
| 83 |
<A HREF="examples.html"><FONT COLOR="#FFFFFF">6 Examples</FONT></A><BR> |
| 84 |
<A HREF="web.html"><FONT COLOR="#FFFFFF">7 Webmaking</FONT></A><BR> |
| 85 |
|
| 86 |
<BR> |
| 87 |
<A HREF="search.html"><FONT COLOR="#FFFFFF"><B>SEARCH</B></FONT></A><BR> |
| 88 |
</FONT> |
| 89 |
</TD></TR></TABLE> |
| 90 |
|
| 91 |
|
| 92 |
</TD> |
| 93 |
<TD WIDTH="360" VALIGN="top"> |
| 94 |
<FONT SIZE="3"> |
| 95 |
|
| 96 |
|
| 97 |
<A HREF="../reference/index.html"><IMG SRC="binary/title.gif" |
| 98 |
WIDTH="302" HEIGHT="24" |
| 99 |
BORDER="0" ALT="FunnelWeb Tutorial Manual" |
| 100 |
HSPACE="0" VSPACE="0"></A> |
| 101 |
<P><FONT SIZE="5">7.1 Introduction</FONT><BR> |
| 102 |
|
| 103 |
|
| 104 |
<P>How can FunnelWeb be used to make webs? Easy! |
| 105 |
Here's how it works. You create a single file called (say) |
| 106 |
<SAMP>daves_web.fw</SAMP> containing a Funnelweb output |
| 107 |
file macro (<SAMP>@O</SAMP>) for each page in the the web |
| 108 |
that you want to create. The <SAMP>daves_web.fw</SAMP> file |
| 109 |
contains the entire web. When you feed it through FunnelWeb, |
| 110 |
FunnelWeb generates all the HTML files in your web. |
| 111 |
|
| 112 |
<P> |
| 113 |
<PRE> |
| 114 |
+--------------+ |
| 115 |
| daves_web.fw | |
| 116 |
+--------------+ |
| 117 |
| |
| 118 |
V |
| 119 |
o-------------------o |
| 120 |
| FunnelWeb Program | |
| 121 |
o-------------------o |
| 122 |
| |
| 123 |
V |
| 124 |
+----------------+----------------+ |
| 125 |
| | | |
| 126 |
+--------------+ +------------+ +------------+ |
| 127 |
| contact.html | | index.html | | links.html | |
| 128 |
+--------------+ +------------+ +------------+ |
| 129 |
</PRE> |
| 130 |
|
| 131 |
<P>Here are some key points about this application: |
| 132 |
|
| 133 |
<P> |
| 134 |
<UL> |
| 135 |
|
| 136 |
<LI> First, FunnelWeb can only generate the text files in |
| 137 |
your web (such as the <SAMP>.html</SAMP> files). You will still |
| 138 |
need to create the image files using the image manipulation |
| 139 |
tools you usually use; FunnelWeb does not help with the |
| 140 |
graphics, nor does it provide a GUI. You have to write raw |
| 141 |
HTML. However, FunnelWeb provides power tools for writing |
| 142 |
the HTML. |
| 143 |
|
| 144 |
<BR><BR> |
| 145 |
|
| 146 |
<LI> Second, this is not a literate-programming |
| 147 |
application of webs. Here, FunnelWeb is being used purely as |
| 148 |
a macro preprocessor, and there will never be any cause to |
| 149 |
use FunnelWeb to generate documentation files (weaving). The |
| 150 |
files generated as above are FunnelWeb <I>output</I> |
| 151 |
files, not FunnelWeb HTML documentation produced by the |
| 152 |
FunnelWeb weaver. This is a raw macro preprocessor |
| 153 |
application. |
| 154 |
|
| 155 |
</UL> |
| 156 |
|
| 157 |
<P>So what benefit is there in converting one's web to a |
| 158 |
single FunnelWeb file? If you have just a small number of |
| 159 |
pages in your web (as in the above diagram), there is |
| 160 |
probably not much benefit. However, if you have several |
| 161 |
pages in your web, FunnelWeb can provide huge benefits by |
| 162 |
enabling you to control the relationships between the |
| 163 |
various parts of your web and to parameterize it in whatever |
| 164 |
ways you want to. The result is a consistent style, a |
| 165 |
reduction of errors, and the power to execute broad ranging |
| 166 |
changes to the web with very little fuss. For example, |
| 167 |
FunnelWeb makes it easy to change the background of each |
| 168 |
page in your web, or to add a copyright notice at the bottom |
| 169 |
of every page. |
| 170 |
|
| 171 |
<P> |
| 172 |
|
| 173 |
<P>The advantages of using FunnelWeb to make webs are as follows: |
| 174 |
|
| 175 |
<P> |
| 176 |
<UL> |
| 177 |
<LI> Web is represented by a single file. |
| 178 |
<LI> No more multiple-file replace operations! |
| 179 |
<LI> Define a consistent style for the web. |
| 180 |
<LI> Parameterize the web. Make global changes easily. |
| 181 |
<LI> Use the power of HTML without the messy HTML syntax. |
| 182 |
<LI> Eliminates many syntax and spelling errors. |
| 183 |
<LI> Eliminates bad (internal) links. |
| 184 |
<LI> Eliminates form/CGI cross reference errors. |
| 185 |
<LI> A flexible text power tool always available. |
| 186 |
</UL> |
| 187 |
|
| 188 |
<P>The disadvantages of using FunnelWeb to make webs are as |
| 189 |
follows: |
| 190 |
|
| 191 |
<P> |
| 192 |
<UL> |
| 193 |
<LI> No GUI interface. You have to write your web directly. |
| 194 |
<LI> It is more difficult to position graphics precisely. |
| 195 |
<LI> FunnelWeb files can look cryptic and messy. |
| 196 |
<LI> You have to run FunnelWeb between changing your web and |
| 197 |
viewing the changed pages. |
| 198 |
</UL> |
| 199 |
|
| 200 |
<P>Thus, if you make webs that are highly graphics |
| 201 |
intensive, or if you are uncertain about writing HTML, you |
| 202 |
should probably not use FunnelWeb. However, if you are |
| 203 |
generating large webs with many similar pages, FunnelWeb |
| 204 |
will eliminate much of the hassle in managing the whole |
| 205 |
complex. For large webs, this management capability is |
| 206 |
invaluable. |
| 207 |
|
| 208 |
<P>Whatever its advantages and disadvantages, FunnelWeb is |
| 209 |
certainly a <STRONG>practical</STRONG> production-quality webmaking tool. |
| 210 |
It has been used to make all of the webs in the following |
| 211 |
web spaces (each of which contains several subwebs): |
| 212 |
|
| 213 |
<P> |
| 214 |
|
| 215 |
<DL> |
| 216 |
<DT> |
| 217 |
<DL> |
| 218 |
|
| 219 |
<A HREF="http://www.ross.net/">Ross Williams</A><BR> |
| 220 |
<A HREF="http://www.rocksoft.com/" |
| 221 |
TARGET="rocksoft" |
| 222 |
onClick="window.open('','rocksoft','location,status,menubar,scrollbars,resizable',false).focus(); return true;" |
| 223 |
>Rocksoft</A><BR> |
| 224 |
<A HREF="http://www.veracity.com/" TARGET="_blank">Veracity</A><BR> |
| 225 |
|
| 226 |
</DL> |
| 227 |
</DL> |
| 228 |
|
| 229 |
|
| 230 |
|
| 231 |
<P> |
| 232 |
<TABLE WIDTH="100%"> |
| 233 |
<TR> |
| 234 |
<TD ALIGN="left" VALIGN="bottom"><A HREF="web.html"><IMG SRC="binary/fw_up.gif" HEIGHT="32" WIDTH="32" BORDER="0" ALT="Up"></A></TD> |
| 235 |
<TD ALIGN="center" VALIGN="bottom"><A HREF="web.html"><IMG SRC="binary/fw_up.gif" HEIGHT="32" WIDTH="32" BORDER="0" ALT="Up"></A></TD> |
| 236 |
<TD ALIGN="right" VALIGN="bottom"><A HREF="web_start.html"><IMG SRC="binary/fw_right.gif" HEIGHT="32" WIDTH="32" BORDER="0" ALT="Next"></A></TD> |
| 237 |
</TR> |
| 238 |
</TABLE> |
| 239 |
|
| 240 |
|
| 241 |
|
| 242 |
<HR> |
| 243 |
<FONT SIZE="2"> |
| 244 |
<A HREF="mailto:[email protected]">Webmaster</A> |
| 245 |
<A HREF="copyright.html">Copyright © Ross N. Williams 1992,1999. All rights reserved.</A><BR> |
| 246 |
</FONT> |
| 247 |
|
| 248 |
</FONT> |
| 249 |
</TD> |
| 250 |
</TR> |
| 251 |
</TABLE> |
| 252 |
|
| 253 |
|
| 254 |
</BODY> |
| 255 |
|
| 256 |
|
| 257 |
|
| 258 |
|
| 259 |
|
| 260 |
</HTML> |