View Single Post
Old 10-19-2021, 10:30 AM  
mopek1
Confirmed User
 
Industry Role:
Join Date: Jun 2004
Location: Canada
Posts: 3,060
Thanks for the replies.

I'd want my main content area to be static and the header/footer/sidebars to be able to be changed throughout the site by updating only one file.

For example, if I wanted to add a link to the navigation area on a sidebar I'd want to just update one file and have that new link appear across all the pages simultaneously, without having to update each page.

So from the replies it seems I can:

- Use html and parse some php code using htaccess
- Use html and put in some includes (<?php include("headermenu.php"); ?>) where I want the dynamic areas to be.
- php only
- Use html with java

I think I'll stick with html + some php code or some java (which I'll have to learn).

I guess I wanted some opinions as coding is not my strong suit. I wanted to make sure I was using languages that would still be relevant 10+ years from now and not have a site that is left in the dust because the original language used (html + some form of php) is not relevant anymore making it too late to change by the time it has grown.
mopek1 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote