Generating html - design issues

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • chris

    Generating html - design issues

    Hello all -

    I am thinking through a system that needs to generate html as output
    and have a few ideas. I would be interested in opinons regarding the
    design.

    I don't want to just write every <tagname> out to a text file if I can
    help it. I am considering:

    1) generate html via the mechanism above and just use a stylesheet for
    formatting

    2) generate XML and format it using XSL which can (I think) be passed
    to the DOM object (MSXML3) for formatting as html. This is the
    solution I would most like to go with as it seems much more elegant.

    Any pointers or other advise is greatly appreciated.

    PS - I have vb6 available (no .NET yet).

    TIA
  • J French

    #2
    Re: Generating html - design issues

    On 18 Dec 2003 17:50:06 -0800, newsgroups@boxf rog.com (chris) wrote:
    [color=blue]
    >Hello all -
    >
    >I am thinking through a system that needs to generate html as output
    >and have a few ideas. I would be interested in opinons regarding the
    >design.
    >
    >I don't want to just write every <tagname> out to a text file if I can
    >help it.[/color]

    Why not ?
    [color=blue]
    >I am considering:
    >
    >1) generate html via the mechanism above and just use a stylesheet for
    >formatting[/color]

    Hmm...
    [color=blue]
    >
    >2) generate XML and format it using XSL which can (I think) be passed
    >to the DOM object (MSXML3) for formatting as html. This is the
    >solution I would most like to go with as it seems much more elegant.[/color]

    So you get what something else generates
    [color=blue]
    >
    >Any pointers or other advise is greatly appreciated.[/color]

    Much depends on what you *really* want to do

    I suspect that you want to produce something that can be manually
    tweaked, and therefore want a styalized 'intermediate file'


    Comment

    • Charles Kincaid

      #3
      Re: Generating html - design issues

      newsgroups@boxf rog.com (chris) wrote in news:baa142a9.0 312181750.3689e 944
      @posting.google .com:
      [color=blue]
      > Hello all -[/color]
      <snip>[color=blue]
      > Any pointers or other advise is greatly appreciated.
      >
      > PS - I have vb6 available (no .NET yet).
      >
      > TIA[/color]

      OK.
      (1) If you have access to the HTML server install PHP and use that. If
      you can't do that and have to generate static HTML:

      (2) Write all the tags using whatever program that can write out text
      files (HTML files are just plain text, but you knew that). I had a
      friend that ran a buy/sell/trade web site called Universal Classifieds.
      He did not want to buy VB for me to write his software as he owned a copy
      SmartWare. We used the programmable database portion to write out all
      the HTML files. SmartWare COULD write out ASCII text files but it was
      not easy.

      (3) CCS and/or some type of HTML template system would be a big help. It
      will cut down the amount of HTML that you have to spit out.

      Go by http://www.fileware.com and get FTP sync. Well worth the modest
      price.

      --
      ATB

      Charles Kincaid

      Comment

      • Goldenpi

        #4
        Re: Generating html - design issues


        "chris" <newsgroups@box frog.com> wrote in message
        news:baa142a9.0 312181750.3689e 944@posting.goo gle.com...[color=blue]
        > Hello all -
        >
        > I am thinking through a system that needs to generate html as output
        > and have a few ideas. I would be interested in opinons regarding the
        > design.
        >
        > I don't want to just write every <tagname> out to a text file if I can
        > help it. I am considering:[/color]

        Sounds like a perfect mechanism to me. Why not? HTML isn't a hard thing to
        automate. You have a header, a footer, and more or less anything you want in
        between with a few tags. Just set up a stack structure to make sure you dont
        leave any open tags.
        [color=blue]
        >
        > 1) generate html via the mechanism above and just use a stylesheet for
        > formatting[/color]

        Generate HTML via the method above and use no stylesheet. Sorry if im biased
        against stylesheets, but I still occasionally use text-mode browsers. Im a
        strict minimalist where HTML is concerned.
        [color=blue]
        >
        > 2) generate XML and format it using XSL which can (I think) be passed
        > to the DOM object (MSXML3) for formatting as html. This is the
        > solution I would most like to go with as it seems much more elegant.[/color]

        The reliability of a system decreases as its complexity increases. If your
        program can generate XML, it can generate HTML.
        [color=blue]
        >
        > Any pointers or other advise is greatly appreciated.
        >
        > PS - I have vb6 available (no .NET yet).
        >
        > TIA[/color]


        Comment

        Working...