SitePoint Sponsor

User Tag List

Results 1 to 10 of 10
  1. #1
    SitePoint Evangelist fs_tigre's Avatar
    Join Date
    Feb 2009
    Location
    Close to Chicago, Illinois
    Posts
    517
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Best practice to handle site revisions

    Hi,

    I have been always asking myself if what Iím doing is the best way to manage site revisions. Every time I want to give my site a new look I basically create a new folder with the revision number and basically start from scratch.

    Create new index file, new stylesheet file, new mockup, new images folder etc..

    How do you handle your site revisions?

    How about for sites that will only change color scheme?

    Can you guys please share your methods?

    Thank
    Thank you very much!!!

  2. #2
    SitePoint Enthusiast
    Join Date
    Sep 2010
    Location
    St. Catharines, Ontario
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    what about bringing all the files over to your computer, opening the .html files and editing things from there?

  3. #3
    om nom nom nom Stomme poes's Avatar
    Join Date
    Aug 2007
    Location
    Netherlands
    Posts
    10,272
    Mentioned
    50 Post(s)
    Tagged
    2 Thread(s)
    I have main site folders and any revisions are subfolders inside.

    But when I get more knowledgeable about git, it will be my godsend.

  4. #4
    SitePoint Evangelist fs_tigre's Avatar
    Join Date
    Feb 2009
    Location
    Close to Chicago, Illinois
    Posts
    517
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks a lot!
    Thank you very much!!!

  5. #5
    Keep Moving Forward gold trophysilver trophybronze trophy
    Shaun(OfTheDead)'s Avatar
    Join Date
    Nov 2005
    Location
    Trinidad
    Posts
    3,746
    Mentioned
    45 Post(s)
    Tagged
    0 Thread(s)
    hmm... Mostly I rename the older version of the file with the current date appended.

    So if I'm redoing "index.html", it will be copied to "index (2010-09-27).html", then I proceed with editing the original "index.html" file.


    With site-wide revisions, I do the same with the website's folder.

    "example.com" would become "example.com (2010-09-27)".


    When I sort out whatever bug, amendment I need sorted though, I usually go back and delete all of those past copies. I've found that I very rarely need to go back after a change has been made.

    Trying to fill the unforgiving minute
    with sixty seconds' worth of distance run.

    Update on Sitepoint's Migration to Discourse

  6. #6
    SitePoint Evangelist fs_tigre's Avatar
    Join Date
    Feb 2009
    Location
    Close to Chicago, Illinois
    Posts
    517
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks a lot for your comments!
    Thank you very much!!!

  7. #7
    SitePoint Evangelist Karpie's Avatar
    Join Date
    Jul 2007
    Location
    Perth, Australia
    Posts
    445
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Each of my sites has its own bzr repository, and if I'm going to overhaul something major like the look and feel, I'll tag the current revision with something meaningful like '2010 look and feel', then just modify the existing files.

  8. #8
    SitePoint Evangelist fs_tigre's Avatar
    Join Date
    Feb 2009
    Location
    Close to Chicago, Illinois
    Posts
    517
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    First of all thank you all for your comments.

    The reason for this question is because I have some sites where I basically want a small change, may be a color change, and I basically rename some of the existing files and create new ones for those but I may use the same CSS file and when I want to refer to the old revision of this site it no longer work properly because some of the files have changed and its a little frustrating so I want to adopt a better work flow for small site changes.

    Again thank you all for your comments!
    Thank you very much!!!

  9. #9
    Follow: @AlexDawsonUK silver trophybronze trophy AlexDawson's Avatar
    Join Date
    Feb 2009
    Location
    England, UK
    Posts
    8,111
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    If you just want to change something small like a color, surely you could just edit the stylesheet? I think the key to making a successful transition from one update to the next is ensuring that you make your life as easy as possible by separating structure, style and behaviour. That way, if you want to have a new look, you can simply empty out the CSS file and redesign it from scratch (leaving the HTML and scripting in place - as they are only related to the content and functionality).

  10. #10
    SitePoint Evangelist fs_tigre's Avatar
    Join Date
    Feb 2009
    Location
    Close to Chicago, Illinois
    Posts
    517
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks a lot for your comments!
    Thank you very much!!!


Bookmarks

Posting Permissions

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