[thelist] question about server side technology/rotating header

Matt Warden mwarden at gmail.com
Wed Nov 17 20:20:06 CST 2004


Hi Bruce,

On Wed, 17 Nov 2004 18:10:55 -0700, bgilbertnc at mindspring.com  wrote:
> 1) Do you have to only use one technology? (CF, PHP, ASP, ASP.net etc.). We are considering CF to access and display database information since we are already using DW, but I may also one to incorporate a rotating header using PHP, and a calendar program which uses PHP.
> 

No, you can mix technologies. If you're talking about mixing
technologies on the same *page*, however, generally this is not a good
idea. There are ways to do it, but they are kind of messy. If you are
doing it only to avoid needing to rewrite a small script in a
different, I would just rewrite teh script.

> 2) With the rotating header, I know it can be done using javascript as well. I am looking to have a different image upon browser refresh or new page entry. Would this be an o.k solution on a large site? (several hundred pages)
> 

It really depends. THere's nothing wrong with using javascript to
handle this, regardless of the number of pages. I would recommend, of
course, making the javascript an external javascript file, so updates
can be made site-wide by updating a single file.

That said, obviously if you do it in javascript, people can turn your
script off.

-- 
Matt Warden
Miami University
Oxford, OH
http://mattwarden.com


This email proudly and graciously contributes to entropy.


More information about the thelist mailing list