Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 6 of 6
  1. #1
    Senior Member Dorky's Avatar
    Join Date
    Jun 2009
    Location
    Destin Florida
    Posts
    1,430
    Member #
    19103
    Liked
    4 times
    i was wondering what exp others had with one file web sites if any and what they think about such. i myself like it, though the risk may out weigh the return.

    Cons
    1. The scale of error if a file corrupts
    2. Search time when editing
    3. requires more specific naming for elements
    Pros
    1. Less files to move when importing and exporting
    2. Easy to back up
    3. Can use php to populate iframes from same location
    4. Opening one file to edit instead of multiples
    now let me say i forgot i had a backup when a router glitch cost me half of a script and for a second i think my heart stopped beating. 2,100 lines. backup backup backup.

    while($get_it !== true){ continue; }

  2.  

  3. #2
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,715
    Member #
    5580
    Liked
    717 times
    What is a one-file website?
    Do you mean a site where there is only "index.php" and everything
    is generated within using scripting?


  4. #3
    Senior Member diddy's Avatar
    Join Date
    Jun 2008
    Location
    Sydney, Australia
    Posts
    502
    Member #
    16955
    I just recently did a 1 site website (click here) It's a very small site for a very small business (sole trader). He just wanted a simple site with not too much content, but did want the site divided up into 'pages'. Well I thought it wouldn't be worth writing 5 pages, so instead I wrote 1, with 5 sections - it's a javascript tabber. It's pretty awesome and is search-engine friendly, and doesn't take too long to load. If the user doesn't have javascript enabled, it just goes into sections with headings.

    The one html file has 547 lines and is 12k.

    I find the site fairly easy to edit - 1 html file, 2 css files, 1 javascript file, 1 png file and 1 psd file. Oh yeah!

    So I've just listed the pros I guess, and given an example.

    Cons - i'd say the backup/file corruption.

  5. #4
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    Single file all the way. Your root file should only handle requests, though... it shouldn't contain content. You should have modules taking care of content.

  6. #5
    Junior Member
    Join Date
    Sep 2009
    Posts
    2
    Member #
    19907
    can anyone please tell me how is psd file useful in web designing?

  7. #6
    Senior Member diddy's Avatar
    Join Date
    Jun 2008
    Location
    Sydney, Australia
    Posts
    502
    Member #
    16955
    Quote Originally Posted by soumali
    can anyone please tell me how is psd file useful in web designing?
    A PSD file is an Adobe Photoshop document, it is used to edit Photoshop files.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 04:49 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com