Results 1 to 4 of 4
  1. #1

    Default Okay this is a bad habit

    I'm a bit of a fly-by-the-seat-of-the-pants gal.

    I tend to do my work in the wee hours since everyone is asleep and I can focus better. My time is limited so I don't, ah, do it correctly.

    In other words, I don't tend to do backups and I work on my live shop.

    Sorry, but I do. So, for those of you that play by the rules, you do what? You have a sandbox shop/database which is a dup of your live shop/database and you what? Try it there and then go back and do the whole darned install again? So it takes double the time?

    I was just gonna go do my usual and I came to that warning I always ignore and decided to consider doing this correctly. You'll be happy to know I just did my backups.

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Okay this is a bad habit

    I *know* that other people have different approaches, but here's how we do it at Kuroi ...

    Firstly we use the "Backup MySQL Database" mod. Whenever we need a copy database, we can just copy it from the admin/backup folder on the live site to the same folder on the test site and restore it. It's just so easy, and takes literally seconds.

    Then we manage the code that we are changing by keeping separate all the scripts that we have changed (or are changing). We do this by storing them in dedicated folders on our development machines already in the folder structure that reflects Zen Cart's over-ride system. Then we have our FTP program set up with two connections one to the test site and one to the live site, with both pointing to the same folder with the segregated files on our development machines.

    We make any changes needed on the small number of files held on our development machines, downloading more down from the test site if we need to. When we want to see them in action, we upload them to the test machine and test them in a browser. When we're happy with them, we switch the connection to the live site and upload them to there instead. Easy.

    I can't remember the last time I needed to rebuild a test site from scratch. We do this only for completely new developments where we want a clean start. If we make a mistake during development we can either delete the over-ride file on which we're working from the test site and start again without the need to recreate it form scratch, or, if it's one of the files not yet covered by the over-ride system, we can pull a copy of the unchanged file down from the live site.

    This segregation of files has the additional benefit that it is easy to zip them up and store them for re-use later, or for submission to this site as mods.

    We use Dreamweaver most of the time to achieve this. But we also use FileZilla in this way, especially when we have a large amount to be uploaded. It's free and it works extremely well.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3

    Default Re: Okay this is a bad habit

    Very nicely explained. I am feeling the risk of danger - some of my installs have gone badly - so I am going to go ahead and so something like this. I don't have Dreamweaver or anything like that.
    Ellen

  4. #4
    Join Date
    Apr 2007
    Location
    Herts. UK
    Posts
    890
    Plugin Contributions
    4

    Default Re: Okay this is a bad habit

    Quote Originally Posted by sobebabies View Post
    Sorry, but I do. So, for those of you that play by the rules, you do what? You have a sandbox shop/database which is a dup of your live shop/database and you what? Try it there and then go back and do the whole darned install again? So it takes double the time?
    I use a test site which is a duplicate of the live site. Any changes are made on the test site first and all the normal checks are made. Once I'm happy that the changes won't break the live site I back everything up and then do the changes on the live site. I keep a written log of all changes that are made to the live site, what was changed and when. I also split test all changes before they are fully adopted, 50% of customers see the changes, 50% see the original. I do this so I can measure what effect the changes will have on conversion rate. Split testing normally runs for about two weeks and then the changes are either adopted or dropped.

    Regards,
    Christian.

 

 

Similar Threads

  1. Is this okay?
    By cdnbride in forum General Questions
    Replies: 8
    Last Post: 5 May 2010, 01:23 PM
  2. Hiding login div - Is this okay?
    By varnco in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 9 Apr 2009, 04:32 PM
  3. Is this css okay?
    By jvanree in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 20 Jan 2009, 12:13 AM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR