The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML>

<!-- *** Created by pp2html, build 1.21 from PerlPoint-Converters 1.01  -->

<HEAD>

  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  <meta http-equiv="Content-Script-Type" content="text/javascript">
  <link rel="start"    href="slide0029.htm">
  <link rel="prev"     href="slide0050.htm">
  <link rel="next"     href="slide0052.htm">
  <link rel="up"       href="slide0028.htm">
  <link rel="last"     href="slide0052.htm">
  <link rel="contents" href="slide0000.htm">
  <link rel="index"    href="slide_idx.htm">
  <meta name="author" content="cd@conference.org">
  <meta name="description" content="PerlPointCD Demo">
  <meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
  <meta name="MSSmartTagsPreventParsing" content="true">


<TITLE>Tree implosion</TITLE>
<LINK REL="stylesheet" TYPE="text/css" HREF="pstyle.css">

<style type="text/css" media="all">
  @import "ahem.css";
  @import "pstyle.css";
</style>

</HEAD>


<p>
Check:
<a href="http://validator.w3.org/check/referer">HTML validity</a>,
<a href="http://jigsaw.w3.org/css-validator/check/referer">CSS validity</a>,
<a href="http://validator.w3.org/checklink?uri=http://www.perl-workshop.de/slide0051.htm">links</a>.
</p>

<!-- ************************************************************** -->
<BODY bgcolor="#FFFFFF" text="#000000" link="#0000CC" vlink="#AAAAAA" alink="#FF0000">

<div id=top>
<table border="0" cellspacing="2" cellpadding="0" width="100%">
    
  <tbody>

    <tr>
      <td width="200">
        <a href="http://www.sourceforce.net/projects/perlpoint"><img src="images/PPL13s5b-o.jpg" border=0 alt="PerlPoint"></a>
      </td>
      <td align=center>PerlPointCD<br><i><A HREF="/index.html" TARGET=_top>Start</A> / <a href="slide0027.htm">Lightning Talks</a> / <a href="slide0028.htm">Jochen Stenzel</a></i></td>
    </tr>

  </tbody>

</table>
</div>


<table border="0" cellspacing="0" cellpadding="0" width="100%">

  <tbody>

    <tr valign="bottom">
      <td></td>
      <td></td>
    </tr>

    <tr valign="top">
      <td></td>
      <td></td>
    </tr>

    <tr valign="bottom">
    </tr>

    <tr valign="top">

    <td></td>
    
    <td></td>
    
    <td id=nav width="10%">

 <table width=200>
  <tr><td>&nbsp;</td></tr>
  <tr><td>&gt; <a href="slide0052.htm">Validation support</a></td></tr>
  <tr><td>&lt; <a href="slide0050.htm">Supports speaker teams</a></td></tr>
  <tr><td>= <a href="slide0000.htm">TOC</a></td></tr>
  <tr><td>&nbsp;</td></tr>
 </table>

<p class="ahem">You are using an old browser which doesn't fully support
Cascading Style Sheets. This page will look <em>much</em> better in a browser that
supports <a href="http://www.webstandards.org/upgrade/"target="_top"
title="The Web Standards Project's BROWSER UPGRADE initiative.">web
standards</a>.</p>

<p class="ahem">&nbsp;</p>


    </td>
    
    <td></td>
    <td></td>

    <td width="100%" colspan="4">

      <div id=content>
<a name="Tree implosion">
<center>
<H1>Tree implosion
</H1></center>


<P>
<A name="index_51_459"></A>
</P>


<P>
PerlPointCD uses a special <A name="index_51_460"></A>directory structure to configure the CD. Talk types, author names and talk titles are set up by <A name="index_51_461"></A>directory names. While this is convenient and makes <A name="index_51_462"></A>maintenance easy, the resulting directory names can become very long and might contain <A name="index_51_463"></A>special characters. Not all <A name="index_51_464"></A>file systems support this. At least not the <A name="index_51_465"></A>ISO file system which is used on CDs.
</P>


<P>
More, if the CD content shall be provided via web, the resulting URL's might be invalid.
</P>


<P>
Oops. Can we have both convenience <I>and</I> compatibility? We can.
</P>


<P>
PerlPointCD can work with both <I>long and short directory names</I>. Short names match the old <A name="index_51_466"></A>8.3 DOS conventions. These names have no meaning, the real information about authors, talks etc. is searched in hidden files. A long name directory tree can be transformed into a short named version by using the <CODE><A name="index_51_467"></A>make</CODE> <A name="index_51_468"></A>target <FONT COLOR=red><CODE><A name="index_51_469"></A>implode</CODE></FONT>. Likewise, <FONT COLOR=red><CODE><A name="index_51_470"></A>explode</CODE></FONT> restores the long name version.
</P>


<P>
<center>
</P>


<TABLE BORDER=0 CELLPADDING=5 WIDTH=80%><TR><TD bgcolor="#e5e5e5"><PRE>
<FONT COLOR="#000000">
  make <FONT COLOR=red>implode</FONT>

  ...

  make <FONT COLOR=red>explode</FONT></FONT></PRE></TD></TR></TABLE>


<P>
</center>
</P>


<P>
Typically these targets do not need to be specified by a PerlPointCD user. The assumption is that the CD is prepared on a modern file system with long name support and that the final version (on CD or on a server) requires to have short names, so <CODE><A name="index_51_471"></A>make</CODE> automatically explodes a tree when producing a <A name="index_51_472"></A>preview version (<I>no</I> target or target <CODE><A name="index_51_473"></A>html</CODE>) and automatically implodes it when producing a <A name="index_51_474"></A>version for production (target <CODE><A name="index_51_475"></A>cd</CODE>).
</P>


<P>

</P>

    </td>

    <td></td>
    
</tr>

<tr>
    <td></td>
    
    <td></td>
    
    <td id=nav>

    <span class=copy>
      Copyright &copy; <a
      href="mailto:perl@jochen-stenzel.de">Jochen Stenzel, 2001-2004</a>.
      <br>
      <span class=rights>All rights reserved.</span>
    </span>

    </td>

</tr>

<tr>

    <td></td>
    <td></td>

    <td id=nav>

    <span class=pp>
      <br><a href="http://www.sourceforge.net/projects/perlpoint">PerlPoint</a> powered.
    </span>

    </td>

    <td></td>
    <td></td>
    <td width="100%" colspan="4"></td>
    <td></td>
   
    </tr>

  </tbody>

</table>


</div><!-- content -->
</BODY>
</HTML>