473,322 Members | 1,431 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

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
Jul 17 '05 #1
3 1919
On 18 Dec 2003 17:50:06 -0800, ne********@boxfrog.com (chris) wrote:
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.
Why not ?
I am considering:

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

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.
So you get what something else generates

Any pointers or other advise is greatly appreciated.


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'
Jul 17 '05 #2
ne********@boxfrog.com (chris) wrote in news:baa142a9.0312181750.3689e944
@posting.google.com:
Hello all - <snip> Any pointers or other advise is greatly appreciated.

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

TIA


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
Jul 17 '05 #3

"chris" <ne********@boxfrog.com> wrote in message
news:ba**************************@posting.google.c om...
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:
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.

1) generate html via the mechanism above and just use a stylesheet for
formatting
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.

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.
The reliability of a system decreases as its complexity increases. If your
program can generate XML, it can generate HTML.

Any pointers or other advise is greatly appreciated.

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

TIA

Jul 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
by: flupke | last post by:
Hi, i create my GUIs mainly via wxGlade. However when you start of to program and want to do some rearranging to the gui, wxglade overwrites your file and you've got to put your own code back...
1
by: Jack Notarangelo | last post by:
Hello, I am interested in anyone's preference as to creating datasets in code vs generating them using the UI. I know typing is an advantage of the latter method. But any other information...
22
by: Trevor Orton | last post by:
Hello, I'm having a slight problem using the W3C html validator and I've reviewed the FAQ's with no luck so hopefully someone here would be kind enough to point me in the right direction. I...
25
by: John Morgan | last post by:
Though I have designed and implemented a number of large reasonably well received web sites I do not consider myself a graphics designer I am now for the first time going to work with a ...
5
by: shauldar | last post by:
Is there a way (tool, hack...) to create an XSL:FO from an XSLT + XML files? My motivation is that we want to use a tool to design reports, and from that "design" generate both HTML (via XSLT)...
10
by: Safalra | last post by:
When a poster in a forum I frequent said they were beginning to learn HTML, I thought I should direct them to a good HTML tutorial so that they wouldn't start using <blink> and the like....
3
by: Nik | last post by:
I have been trying base my site on the Ruthsarian Lab's layout at http://webhost.bridgew.edu/etribou/layouts/skidoo/demos/tweak_01.html This design is in xhtml, whereas I would prefer to have my...
4
by: Rob Kerr | last post by:
Hi, After a quick Google turned up very little of use, I've turned to here. The question: has anyone tried to (or more usefully, succeeded in) generating CSS files from an XML document...
4
by: Andy Bell | last post by:
Can I stop asp.net from applying self closing tags? I am trying to generate an html 4.01 strict page rather than an xhtml page and the w3 validator is unhappy about asp.net automatically...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.