T
Terry Diederich
I have a design question. I am going to be building an intranet web
application that will contain a lot of training material. Rather than
storing each training document as a separate HTML file on the server, I
was thinking of saving the HTML for the document in a database and then
building a control to pull the HTML out of the database and display it.
It seems easy enough when the document it just text but most of the
documents are going to have graphics embedded into them also. I haven’t
quite figured out how to deal with the images. I would want them to be
in the database also but I’m not sure how to have the HTML point to an
image that is really sitting in the database. Pulling the images out
and putting them into a temp directory as needed and having all the HTML
pages look for the images in that directory would probably work but
seems kind of an ugly way to do it.
Has anyone done anything like this? I’d appreciate any suggestions.
I have control over how the documents are created and I’m toying with
the idea of just creating all of the documents as PDF files, saving the
PDF into the database, and not worrying about it
Thanks
Terry
application that will contain a lot of training material. Rather than
storing each training document as a separate HTML file on the server, I
was thinking of saving the HTML for the document in a database and then
building a control to pull the HTML out of the database and display it.
It seems easy enough when the document it just text but most of the
documents are going to have graphics embedded into them also. I haven’t
quite figured out how to deal with the images. I would want them to be
in the database also but I’m not sure how to have the HTML point to an
image that is really sitting in the database. Pulling the images out
and putting them into a temp directory as needed and having all the HTML
pages look for the images in that directory would probably work but
seems kind of an ugly way to do it.
Has anyone done anything like this? I’d appreciate any suggestions.
I have control over how the documents are created and I’m toying with
the idea of just creating all of the documents as PDF files, saving the
PDF into the database, and not worrying about it
Thanks
Terry