<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/styles/XMLStylesDoc_xhtml11_en.xsl"?><!DOCTYPE document SYSTEM "/schemas/XMLStyles10.dtd">
<document xmlns="http://XMLStyles.com/namespaces/styles" xmlns:xst="http://XMLStyles.com/namespaces/styles" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:date="http://exslt.org/dates-and-times">
   <noxml>
      <p xmlns="http://www.w3.org/1999/xhtml"/>
      <!-- You are viewing the source.  The following message should be ignored if you did "View Source" in your browser. -->
      <p xmlns="http://www.w3.org/1999/xhtml">
ATTENTION: XML WEB PAGES NOT SUPPORTED
   If you see this message, your current browser does not support the
   1999 XSLT 1.0 (or later) standard for XML web pages such as this one.
   Please upgrade your browser to a newer version
   that supports 1999 or later standards such as:
      Mozilla Firefox version 1.0.2 or later (GetFirefox -&gt; http://www.GetFirefox.com/)
      Netscape version 8 or later
      Safari version 1.3 or later
      Opera version 9 or later
      Microsoft Internet Explorer (MSIE) version 5 or later
   For further assistance, contact the software vendor for your browser.
   To go to the X<!-- extended HTML -->HTML version of this page click the following link:
<a href="index.html">index.html</a>
      </p>
      <p xmlns="http://www.w3.org/1999/xhtml">&#160;</p>
   </noxml>
   <path>/internet/web/</path>
   <site>How To Guides</site>
   <logo xlink:type="simple" xlink:href="/images/howtohome.jpg" media="screen" width="240" height="34">How To Guides</logo>
   <logo xlink:type="simple" xlink:href="/images/howtoguides.jpg" media="print" width="240" height="34">How To Guides</logo>
   <logo xlink:type="simple" xlink:href="/images/howtoguidesmobile.jpg" media="handheld" width="150" height="17">How To Guides</logo>
   <navigation where="sections">
      <label>How To Guides</label>
      <link xlink:type="simple" xlink:href="/business/index.xml">Business</link>
      <link xlink:type="simple" xlink:href="/computers/index.xml">Computers</link>
      <link xlink:type="simple" xlink:href="/computers/databases/index.xml">Databases</link>
      <link xlink:type="simple" xlink:href="/internet/index.xml">Internet</link>
      <link xlink:type="simple" xlink:href="/mobile/index.xml">Mobile</link>
      <link xlink:type="simple" xlink:href="/money/index.xml">Money</link>
      <link xlink:type="simple" xlink:href="/movies/index.xml">Movies</link>
      <link xlink:type="simple" xlink:href="/computers/os/index.xml">Operating Systems</link>
   </navigation>
   <navigation where="up">
      <link xlink:type="simple" xlink:href="../">Internet</link>
   </navigation>
   <navigation where="subsections">
      <label>Internet</label>
      <link xlink:type="simple" xlink:href="/internet/affiliates/">Affiliates</link>
      <link xlink:type="simple" xlink:href="/internet/domains/">Domain Names</link>
      <link xlink:type="simple" xlink:href="/internet/marketing/">Internet Marketing</link>
      <link xlink:type="simple" xlink:href="/internet/isps/">ISPs</link>
      <link xlink:type="simple" xlink:href="/internet/podcasts/">Podcasts</link>
      <link xlink:type="simple" xlink:href="/internet/tcpip/">TCP/IP</link>
      <link xlink:type="simple" xlink:href="index.xml">Web</link>
      <link xlink:type="simple" xlink:href="/internet/xml/">XML</link>
   </navigation>
   <section id="body" type="body">
      <pages id="webdesign" name="webdesign">
         <navigation where="pages">
            <label>webdesign</label>
            <link xlink:type="simple" xlink:href="designers.xml">Designers</link>
            <link xlink:type="simple" xlink:href="standards.xml">Standards</link>
            <link xlink:type="simple" xlink:href="techniques.xml">Techniques</link>
            <link xlink:type="simple" xlink:href="designtools.xml">Design Tools</link>
         </navigation>
         <navigation where="up">
            <link xlink:type="simple" xlink:href="index.xml">Web</link>
         </navigation>
         <page id="techniques" name="techniques">
            <title>Web Publishing Techniques</title>
            <label>Techniques</label>
            <subpage id="N101FF" name="techniques">
               <h1>Web publishing techniques</h1>
               <p>Publishing techniques for web sites have evolved almost as much as the
                  <link xlink:type="simple" xlink:href="standards.xml">web publishing standards</link> have evolved.
                  Since the protocols that allow clients and servers to communicate on
                  the worldwide web are well defined and designed for interoperability,
                  things can be simplified by looking at just one side or the other at a time.
                  For example, when looking at web publishing from the perspective of
                  content being delivered to the client browser, the wide variety
                  of ways that a server can produce content can be ignored.
                  From the client perspective, the evolution of web publishing
                  techniques from the simplest to the most sophisticated would include:
               </p>
            </subpage>
            <dl>
               <subpage id="N1020B" name="onepurpose">
                  <title>Single-purpose Web Pages</title>
                  <di>
                     <dt>Single-purpose web pages coded using the 1997 <acronym term="Hypertext Markup Language">HTML</acronym> 4 standard</dt>
                     <dd>
                        possibly, separately-generated printer-friendly versions
                     </dd>
                  </di>
                  <di>
                     <dt>Well-formed <acronym term="Extensible Hypertext Markup Language">XHTML</acronym> web documents</dt>
                     <dd/>
                  </di>
               </subpage>
               <subpage id="repurpose" name="repurposing">
                  <title>Repurposing of XHTML content</title>
                  <label>Repurposing</label>
                  <di id="repurposing">
                     <dt>Repurposing of <acronym term="Extensible Hypertext Markup Language">XHTML</acronym> content</dt>
                     <dd>Content produced in well-formed <acronym term="Extensible Hypertext Markup Language">XHTML</acronym>
                        format can be easily transformed for other publishing channels.
                        This is a good technique for providing device independence without duplication of content.
                     </dd>
                     <dd>The current version of most browsers will perform the transformation automatically,
                        which offloads some of the dynamic processing otherwise performed on the server.
                        The browser versions which are required are:
                        <ul>
                           <li>
                              <link xlink:type="simple" xlink:href="http://www.GetFirefox.com/">Mozilla Firefox</link> version 1.0.2 or later</li>
                           <li>Netscape version 8 or later</li>
                           <li>Safari version 1.3 or later</li>
                           <li>Opera version 9 or later</li>
                           <li>Microsoft Internet Explorer (MSIE) version 5 or later</li>
                        </ul>
                     </dd>
                     <dd>Some examples of repurposing content to allow a web site to be viewed from
                        cell phones and other mobile devices, as well as traditional web browsers include:
                        <ul>
                           <li>
                              <link xlink:type="simple" xlink:href="http://www.Sample.mobi/">Sample .mobi</link>, and</li>
                           <li>
                              <link xlink:type="simple" xlink:href="http://www.SameCart.com/">SameCart</link>
                              <span class="sup">™</span>
                           </li>
                        </ul>
                        You can visit these sites from both a mobile device such as a cell phone and
                        traditional web browser to see the difference in presentation among different devices.
                        You can also do "View Source" to examine how repurposing works.
                     </dd>
                  </di>
               </subpage>
               <subpage id="N10258" name="templates">
                  <title>Using Templates</title>
                  <label>Templates</label>
                  <di id="templates">
                     <dt>Using templates for common elements</dt>
                     <dd>
                        Be sure to <link xlink:type="simple" xlink:href="designtools.xml#choosetool">choose a design tool that supports templates</link>.
                        The advantages of using templates include:
                        <ul>
                           <li>One template can be created to give the web site a consistent
                              <link xlink:type="simple" xlink:href="http://www.Acronyms.net/terms/l/Look-And-Feel/">Look and Feel</link>.
                           </li>
                           <li>Other templates can be created for more specific purposes.
                              These templates can import the site-wide template.
                              This is ideal for web site software developers. The developer can provide
                              templates that are needed for their content and those templates can import
                              a site-wide template, which can be customized to each customer's tastes.
                           </li>
                           <li>Putting the common elements of a web site into templates makes
                              the site easier to maintain, since any changes to those elements
                              only need to be made in one place.
                           </li>
                           <li>The same templates can be used for both static and dynamic web pages.
                           </li>
                           <li>Putting common elements into templates rather than every web page
                              speeds up page load times, because the pages are significantly smaller.
                              In addition, the templates can be cached, which reduces bandwidth costs.
                           </li>
                           <li>Templates can be cached separately, which reduces the total size of
                              documents that must be downloaded, and therefore saves on bandwidth costs.
                           </li>
                        </ul>
                     </dd>
                  </di>
               </subpage>
               <subpage id="N1027B" name="separation">
                  <title>Separation of Content and Presentation</title>
                  <label>Content vs. Presentation</label>
                  <di>
                     <dt>Separation of content and presentation</dt>
                     <dd>Recognizing the difference between the actual content of a web site and
                        how it can be presented is valuable in terms of understanding what
                        information can be provided and the various ways it can be delivered to users.
                        For example, syndication of the content might be possible by providing the same information
                        in an <link xlink:type="simple" xlink:href="http://www.Acronyms.net/r.xml#rss">RSS</link> feed.
                     </dd>
                     <dd>
                        <acronym term="In My Opinion">IMO</acronym>, separation of content from presentation
                        is even more valuable than <acronym term="Cascading Style Sheets">CSS</acronym>,
                        which allows applying the same styles to specific content layout elements.
                        For example, if you have a table layout for a product catalog and another table
                        layout for a shopping cart, you can easily apply the same styles to both.
                        In many cases, however, designers want those things to be easily recognizable
                        and wind up adding selectors to apply different styles to the same element types.
                        Once you get to the point where styles are being applied only to one group
                        of elements on a page, the value of separating out the styles has been lost.
                     </dd>
                  </di>
               </subpage>
               <subpage id="N10294" name="sspub">
                  <title>Single-source Publishing</title>
                  <label>Single-source</label>
                  <di>
                     <dt>Single-source publishing</dt>
                     <dd>Single-source publishing is a method of delivering information
                        to various types of devices from a single source of content.
                        This can be accomplished by separating the informational content
                        itself from the markup code for various presentation formats.
                        For example, the information from a single content source could be formatted
                        in a number of different ways for delivery to handheld devices and printers
                        in addition to traditional web browsers on desktop or laptop computers.
                        The disadvantage is that by simply repurposing the same content for different devices,
                        the amount of information may not be appropriate for the other types of devices.
                        For example, if an online article consists of multiple web pages,
                        you would have a separate printer-friendly document for each page of the article and
                        those pages might be too large for delivery to mobile devices with small screen sizes.
                     </dd>
                  </di>
               </subpage>
               <subpage id="N1029F" name="mlpub">
                  <title>Multi-level Publishing</title>
                  <label>Multi-level</label>
                  <di>
                     <dt>Multi-level publishing</dt>
                     <dd>In multi-level publishing, the content has a hierarchical
                        structure that allows delivering content from different
                        levels of the hierarchy to different types of devices.
                        For example, if an online article consists of multiple web pages,
                        a document created in a printer-friendly format should
                        include the entire article as a single document.
                        For cell phones and other types of portable devices with
                        small screen sizes, such as smart phones and mobile PDAs,
                        the content should be delivered in smaller pieces.
                        The hierarchical structure of XML documents is well suited to
                        supporting a multi-level content structure and is therefore the
                        basis for the application of this technology which is used by
                        <link xlink:type="simple" xlink:href="#xmlstyles">XML Styles</link>.
                     </dd>
                  </di>
               </subpage>
            </dl>
            <updated local="2007-03-31">Saturday March 31, 2007</updated>
         </page>
      </pages>
   </section>
   <copyright>Copyright © 2007 How To Guides .com. Alteration of content, including addition of any function such as hypertext links or pop-up advertising, or interference with the hypertext links or other functions of this site is expressly prohibited.</copyright>
   <disclaimer>All information, links, forms, applications and other items on this site or obtained from it are provided <b>AS IS</b>, WITHOUT WARRANTY OF ANY KIND EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.</disclaimer>
   <ids urchin="UA-779578-2"/>
</document>

