Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 879543
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T11:56:56+00:00 2026-05-15T11:56:56+00:00

I’m in the design phase of a medium-sized PHP web application (not a static

  • 0

I’m in the design phase of a medium-sized PHP web application (not a static website). Since I’m a programmer with the creativity of an eggplant I’d like to contract with a freelancer to design the look and feel of the application. What deliverable should I ask for from the designer? HTML files? PHP files? How do I apply the look and feel from the designer to my app?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T11:56:57+00:00Added an answer on May 15, 2026 at 11:56 am

    Ask for:

    • HTML Files
    • CSS Files
    • tableless design – it is much easier to update CSS files than it is to update tables. Note that this advice is only that you should avoid the use of tables for organizing pages’ layouts. For organizing data in a tabular manner, tables are definitely still the best option.
    • Image Files (all the jpg’s/gif’s or whatever the case may be)
    • cut (<—- this is important) PSD files so you can easily edit image content and replace images. Other similar formats such as GIMP could be acceptable too.

    Once it’s time to integrate the deisgn into your application, you want to separate the design from your logic and database access. This makes maintenance easier later on, and also will make it easier to make changes as you develop the application.

     – Although the specifics of which ones you should use are outside the scope of this answer, note that there are many frameworks and paradigms (MVC frameworks, content management systems, etc) which facilitate the separation of the logic.

    A simple way to separate the logic from the design is to simply set up variables in PHP files, and then include the appropriate files for the design (which should also be php, or phtml files as you’ll see below). Also, you should take any sections of the page that recur in many pages and have those as a separate php file which you can include in other pages. For example…

    Bad Way (do NOT do this!):

    //File: itemsPage.php:
    
    <html>
        <head>
            <title>Our items</title>
        </head>
        <body>
            <?php
                echo "<ol>";
                $itemsResult = mysql_query("SELECT * FROM items ORDER BY id LIMIT 10");
                while ($item=mysql_fetch_array($itemsResult)){
                    echo "<li>".$item['name']." - ".$item['description']."</li>";
                }
                echo "</ol>";
            ?>
            <br><br>
            Affiliates: Microsoft | Bob's Home Furnishing Store | <a href="http://www.example.com/affiliates.php">become an affiliate</a>
        </body>
    </html>
    

    Better Way:

    //File: itemsPage.php
    <?php
        $title='Our Items';
        include('header.php');
        include('items.php');
        include('footer.php');
    ?>
    

    …

    //File: header.php
    <html>
        <head>
            <title><?php echo $title?></title>
        </head>
        <body>
    

    …

    //File: items.php
    <?php
        $itemsResult = mysql_query("SELECT * FROM items ORDER BY id LIMIT 10");
        $items=array();
        while ($item=mysql_fetch_array($itemsResult))
           $items[]=$item;
    
        include('items.phtml');
    ?>
    

    …

    //File: items.phtml
    <ol>
        <?php foreach ($items as $item){?>
            <li><?php echo $item['name']?> - <?php echo $item['description']?></li>
        <? } ?>
    </ol>
    

    …

    //File: footer.php
            <br><br>
            Affiliates: Microsoft | Bob's Home Furnishing Store | <a href="http://www.example.com/affiliates.php">become an affiliate</a>
        </body>
    </html>
    

    Best way:
    As hinted at above, the best way to go about this is to use a framework (Zend, etc), which will be designed to make things as organized and easy as possible for you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.