troubleshooting Question

Best way to design a website

Avatar of tonelm54
tonelm54 asked on
Web DevelopmentPHPCSS
8 Comments7 Solutions472 ViewsLast Modified:
Ive always been a fan of setting divs on a page then using ajax to fill in the contents of a frame depending on the users selection, so they load index up which loads maybe the header, footer and menu in, then the divContents is loaded depending on what is selected, so it never loads the entire page. This does make debugging quite fun though.

However I dont seem to see many other sites using my process, most have individual pages (with header, menu, contents and footer), others use a GET in the address (eg index.php?page=main).

Ive been reading a book on website design which points to using htaccess to redirect users to index and then read what they were trying to access and put that into the content section.

I dont really want to create pages that have to have "include header.php" and "include menu.php" on every page (seems a bit tedious), so the htaccess seems a good idea, but wonder what you experts think?

Thank you
Join our community to see this answer!
Unlock 7 Answers and 8 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 7 Answers and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros