[kwlug-disc] Can someone help?
William Park
opengeometry at yahoo.ca
Fri May 7 11:44:33 EDT 2010
Since it's static, have you considered "make"? You'd be surprised. :-)
--
William
On Wed, May 05, 2010 at 02:37:13PM +0000, Shane wrote:
> Nope. None of them is even close. I'm not surprised; this was quite
> some years ago. I got busy with something else right around the time
> Java was introduced. Yes, there was a world before Java.
>
> As the site is static, at least for the time being, I will adopt the
> script method. I never liked frames but I'm not sure that I can
> recall all of reasons.
>
> -----Original Message-----
> From: Raul Suarez <rarsa at yahoo.com>
> Date: Wed, 5 May 2010 07:27:01
> To: KWLUG discussion<kwlug-disc at kwlug.org>
> Subject: Re: [kwlug-disc] Can someone help?
>
> Shane,
>
> There are many different ways for achieving what you want.
>
> You didn't specify if your web site is dynamic content or static
> content so I'll respond to both:
>
> Dynamic content (content driven by a program running on the server):
>
> - Using server side assembly of the page; You can use PHP, JSP, ASP,
> Ruby on Rails, etc... To populate the contents of your page into a
> standard template. Requires some programming.
> - You could use AJAX (HttpRequest) to bring the contents of the header.
>
> Static Content (Content that does not change between calls to the same page)
>
> - Using frames: Frowned uppon these days but very popular in the old
> days. I won't go into detail why it's not good but you can search.
> - Clone the content of the header and apply the format (position,
> colours, etc) using CSS. This only works when you have a limited
> number of pages as changes to the header would require changing every
> page.
> - Write a simple script that will concatenate a "header" page with the
> "body" of each page. Whenever there is a new page, you run the script
> on it. Whenever the header changes, you run the script for all pages.
> - Using <iframe> where you can insert the contents of another web page
> into your page.
>
> I hope one of these is the one you remember.
>
> Raul Suarez
More information about the kwlug-disc
mailing list