dagon;10976685 wrote:I apologise, but I found the question so broad as to be meaningless, I'm use to getting properly scoped projects.
I know this is not work, so in fact i would know less of the basics, than for any work project. i find your question like telling a doctor "I hurt" and expecting a full diagnosis and treatment regime.
I thought it was pretty clear, but let me try again... (Oh the extra typing!!)
I am building a website - from scratch thank you very much! - that will be content heavy. It is similar to a newspaper.
Here is a link to a really crude mock-up that will suffice for my questions here...
Debbie Test Page
The $10,000 question is this...
As it stands, I have a nice "template" that represents what most pages would look like on my website. The problem, however, is that it is hard-coded.
The Header, Left & Right Columns, and Footer are basically static, however the Middle Column will change frequently.
So, as it stands, if I have 15 different articles, I need to have 15 hard-coded HTML/CSS pages all which contain 80% of the same code.
That is a maintenance nightmare!
Let's say a user looks at the main menu and chooses Travel>>Tips. In the middle column, I want a "sub-page" to appear called "TravelTips.html" (or whatever).
Then if the user goes to Opinion>>Double Dee, the middle column should display "Debbie's Thoughts.html"
I have a programming background, and even knew PHP and MySQL in a former life. But its been so long as to be useless.
My goal right now is to get my website up and running, with enough content to be presentable, and from a design standpoint, want something that is reasonably maintainable!!
Having to repeatedly modify hard-coded HTML/CSS pages is not practical. And building some objected-oriented, 10,000 class/page website is fantasy.
The most practical solution might be just using "includes" for now, but YOU GUYS are the supposed experts. (I'm just a mere mortal!)
I have seen lots of people try to have a series of "includes" (i.e. Header, Left Column, Right Column, Footer, etc) but that seems bass-ackwards?!
From a conceptual standpoint, I would think you could take one of my completed HTML templates, wrap it in PHP, and the "include" the changing part (i.e. the article)?!
Where I can really use help is at the conceptual/abstract level. (If I just wanted help with PHP, I'd go read the manual.)
I guess my question(s) are as much "design" and "architecture" as they are anything.
The good news is that solving my simple problem(s) for this basic website should be cake for you guys.
Hopefully that is more clear!
Sincerely,
Debbie
P.S. I DO plan on going back and learning PHP and HTML after my website is up and running and making $$$. But for now, the goal is to get things up and running soon.
I have a nice web design and tons of content, I am just realizing that hooking everything up and using an approach that is easy to manage is a little tricker than I thought!