Results 1 to 2 of 2

Thread: Different front ends with Same backend?

  1. #1
    Join Date
    Nov 2008
    Posts
    43

    Different front ends with Same backend?

    I will try to explain this as best as I can, and if I'm using incorrect terms, please fill me in.

    I have a friend who has a website http://www.bodykitdirect.com/ that sells body kits for cars. He wants to now sell spoilers, hoods, etc and was wondering if he can have one backend with multiple front ends. So he wants the same layout for like php, the drop down menus to select the cars, but now different pages for each category. Basically a replica of the main webpage.

  2. #2
    Join Date
    Feb 2006
    Location
    Salisbury UK
    Posts
    4,332
    Most people use PHP "include" files.

    You have separate pages for different content, like body kits, spoilers, hoods (use one page as a template and edit the content for the others, saving with a .php extension instead of .html).

    In every page you have PHP code to include the bits that repeat on every page, like a header, logo, menu bar, footer with code like <?php include ("header.inc"); ?> in the places where the html markup would normally go

    You create separate "include" files for each of the common bits, just the html markup without doctype, html, head or body tags.

    See http://www.wickham43.net/serversideincludes.shtml
    Code downloaded to my PC will be deleted in due course.
    WIN7; IE9, Firefox, Opera, Chrome and Safari for Windows; screen resolution usually 1366*768.
    Also IE6 on W98 with 800*600 and IE8 on Vista 1440*900.

Similar Threads

  1. Full-text Search Engine with NO Backend!
    By sw40c in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 0
    Last Post: 12 Feb 2010, 03:39 AM
  2. Subdirectory backend
    By Magiccupcake in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 0
    Last Post: 24 Jan 2010, 11:30 PM
  3. What is the cutting edge backend and design pructivity seperation?
    By morrillt in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 29 Jan 2009, 12:04 PM
  4. Office Front page w/Flash
    By Aimee in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 04 Jan 2008, 03:28 PM
  5. Design in Dream Weaver, update using Front Page
    By mobo in forum General Questions
    Replies: 0
    Last Post: 17 Aug 2006, 04:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •