Does Dream Weaver handle doing things with SSI?

Using SSI is again a step away from having the displayed HTML documents being structured like what your web authoring tools work with directly. Different technology, but same idea and same tradeoffs.

As for whether the classic programming problem is appropriate to HTML, I absolutely disagree with you. Of course it applies. The problem has zero to do with being a programmer, and all that programming brings to it is another problem domain that hits it, and more ways to tackle it.

A general statement of the problem is that whenever information in two places has to be kept in sync, humans tend to make mistakes. Examples of where it arises:

  1. Any interface within a program hits it.
  2. Changes to code and comments.
  3. Having documentation track a working system. (Program, business organization, etc.)
  4. Keeping marketing documents presenting the same (current) message.
  5. Keeping telephone lists in sync with people's telephone numbers.
  6. Keeping references to figures and chapters in a book in sync with where the referred to information is.
  7. Keeping URLs in HTML in sync with where the referred to object is.
  8. Keeping classifications of books in sync with the current classification system. (Classifications are not totally static.)
and so on.

In other words this is a fundamental issue with content-management. It has nothing to do with programming, and the underlying problem hits people both in and out of programming. Consider carefully what a form letter is. Does it take a programmer to write one? Apparently not. Bosses had form letters drafted up well before people introduced computers into their offices. Some of the most sophisticated uses of document templates that I know of are from lawyers. Publishers have known to push off the actual work of getting the numbering right on footnotes to the typesetter for centuries. Telephone companies have known for decades that it is cheapest to routinely create new telephone books from scratch with almost the same information and give them to everyone (instead of just explaining what changed).

It is all the same problem. Failure to recognize that is IMHO failure to understand what the nature of the problem really is. The only thing that changes is what the tradeoffs are between ways to try to attack it. Programmers in particular encounter it very often in many different ways, and so have an unusually rich set of approaches. But you can tell any editor that keeping information in documents synchronized is a pain, and they will agree.

Now in this case you want the best solution for everyone. Well the best solution for a programmer is going to be to manage complexity by letting them apply their programming skills. The best solution for a web designer will be to pass problems off to the WYSIWYG tool of the day, allowing them to forget about mechanics and concentrate on the overall result. There is no solution that is truly best for the two of them, they want to work with the same things in such different ways.

So you have to accept tradeoffs and compromises. And repeat it as often as you want, my direct experience says that the tradeoff does not always come off with separating code and HTML being a win.

PS: In reference to your comment about project managers, here is my solution. My project manager is a better programmer than I am. I can't tell you how to get into that situation - for me it was luck - but I can tell you that it makes life easier than when I had to deal with people who didn't know what they were doing but thought they did. (I still think that the most pleasant management experience was someone who didn't know how to program and knew that. But he had an uncanny instinct for identifying everything a dumb user would wonder at...)


In reply to Re (tilly) 8: Code Critique? by tilly
in thread Code Critique? by rostiguy

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.