Background:
I am working on redesigning a current magazine web site. The site posts every article online. (controlled circulation so it is free to qualified readers. Some pages are access prohibited.) We have every article back to 1996 and most of them are on static pages.
My choices, that I can see, are to continue making static pages, continue making static pages using templates, have all the articles entered into a database record and pull each article in the same fashion many others do - "?storyid=44901", or what I just now thought of was having the article itself be a static page with style sheets and make a db record for each article with a file location for the content. (index.cfm?storyid=44901 and the index does a cfhttp of the static page.) Hey that sounds pretty good now that I think of it.
Well, my dilemma is really that I have never had the chance to do it myself and have seen it done other ways that I just thought were insane. Does anyone have any opinions on how I might best do this to help down the road?
Pros and cons -
static pages: Pros - I can format the pages as I wish with the images properly placed etc. Cons - we all know those and they far outweigh any pros that I can think of.
Static w/ Templates: Pros- I change a template and all the static pages change. - Cons - 1000s of pages will have to be uploaded. Major time and server load.
Article Code entered into DB record: Pros - easily pull article content via short url and no static pages. Code gets rendered in the fashion stated by container page css. Web editor can't change layout of whole page Cons- The web editor (small team environment) needs to create the page in html, strip all the opening code and paste what is left into a record's field. All the image calls etc must be full links, not relative - I think?
Any good ideas? Anyone doing this kind of thing now and really like the way it works? As it stands now, I will have to go back and recode all the old pages -over time- to fit into a new model with current styles. There are 3 different iterations already of our site, so many pages contain an old navigation scheme built into the page, while others were built in frames etc. - YUCK!
Thanks everyone for the input.
Chris
I am working on redesigning a current magazine web site. The site posts every article online. (controlled circulation so it is free to qualified readers. Some pages are access prohibited.) We have every article back to 1996 and most of them are on static pages.
My choices, that I can see, are to continue making static pages, continue making static pages using templates, have all the articles entered into a database record and pull each article in the same fashion many others do - "?storyid=44901", or what I just now thought of was having the article itself be a static page with style sheets and make a db record for each article with a file location for the content. (index.cfm?storyid=44901 and the index does a cfhttp of the static page.) Hey that sounds pretty good now that I think of it.
Well, my dilemma is really that I have never had the chance to do it myself and have seen it done other ways that I just thought were insane. Does anyone have any opinions on how I might best do this to help down the road?
Pros and cons -
static pages: Pros - I can format the pages as I wish with the images properly placed etc. Cons - we all know those and they far outweigh any pros that I can think of.
Static w/ Templates: Pros- I change a template and all the static pages change. - Cons - 1000s of pages will have to be uploaded. Major time and server load.
Article Code entered into DB record: Pros - easily pull article content via short url and no static pages. Code gets rendered in the fashion stated by container page css. Web editor can't change layout of whole page Cons- The web editor (small team environment) needs to create the page in html, strip all the opening code and paste what is left into a record's field. All the image calls etc must be full links, not relative - I think?
Any good ideas? Anyone doing this kind of thing now and really like the way it works? As it stands now, I will have to go back and recode all the old pages -over time- to fit into a new model with current styles. There are 3 different iterations already of our site, so many pages contain an old navigation scheme built into the page, while others were built in frames etc. - YUCK!
Thanks everyone for the input.
Chris