Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2008
    Posts
    328
    Plugin Contributions
    0

    help question FULLY Testing changes/updatest/modifications before going LIVE?

    My questions this time relates to a scenario in which I already have a "live" (commercially operational) Zen-Cart based web site, then I need to apply some changes/improvements to it.

    So far, I managed to test most of Zen Cart's functionality locally (on an XAMPP based windows server).

    But there is at least one feature that cannot be tested locally: PayPal payments.

    Also, operations in which the real SSL certificate is involved cannot be tested either, as they require the real URL (vs. example.com).

    As Zen Cart is a critical business tool, I am sure that I am not the first one dealing with this problem: I would like to be able to "flip the switch" from an existing (operational) web site to the new one (with either minor or major changes that I applied).

    What is the proper way to do that?

    Thanks,
    Daniel

    P.S. I don't have a commercially operational web site yet. I am just trying to plan ahead.

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: FULLY Testing changes/updatest/modifications before going LIVE?

    I have several Zencart test sites on my reseller account with my host, which allows me to test mods, etc. before I add them to a 'live' site. I have them password protected, and could take any one of them live at any time, by copying the files to the new domain, and editing the cionfigure.php files.

    You can't test SSL that way, unless you spring for a 'wildcard' certificate, but the SSL function in Zencart is stable, so as long as the cert is installed properly, you'll be OK.

  3. #3
    Join Date
    Jun 2008
    Posts
    328
    Plugin Contributions
    0

    help question Re: FULLY Testing changes/updatest/modifications before going LIVE?

    Thanks, Steve. So, if I understand correctly, the best strategy here is to maintain at least one additional "real" site, then copy over the files once that site is tested.

    Still, even if all files are tested perfect, there is a possibility that something will go wrong in the copy process itself (you know, we are humans... ) - which may result in downtime that could hurt business image.

    So, it just occurred to me that if I am already going to pay for a mirror site (another domain/SSL etc.) - why not simply use Redirect 301 to switch instantaneously from the existing operational store the new one.

    Minimal down time. Minimal risk in the switchover process.

    Does that sound right? or am I missing something ("too good to be true")?

    Thanks,
    Daniel

  4. #4
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: FULLY Testing changes/updatest/modifications before going LIVE?

    The only accurate test of any interface used on your site to talk to external services ... is a real live transaction. It doesn't matter how much you've tested anything in an offline setup, you *still* need to test everything on the live site. Make sure that's part of your go-live plan.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: FULLY Testing changes/updatest/modifications before going LIVE?

    Quote Originally Posted by zcnb View Post

    So, it just occurred to me that if I am already going to pay for a mirror site (another domain/SSL etc.) - why not simply use Redirect 301 to switch instantaneously from the existing operational store the new one.

    A lot of folks here use 301's. Personally, I don't like to add another layer of complexity unless it's really necessary, so I like everything that's live in its own root.

    As far as paying for a mirror site, putting your test site in a subdirectory of your main site works just as well, with no added expense.

    I use my test domain ( stevesh.com) for a lot of stuff other than Zencart, so it's worth the expense for me.

  6. #6
    Join Date
    Jun 2008
    Posts
    328
    Plugin Contributions
    0

    Default Re: FULLY Testing changes/updatest/modifications before going LIVE?

    Quote Originally Posted by stevesh View Post
    A lot of folks here use 301's. Personally, I don't like to add another layer of complexity unless it's really necessary, so I like everything that's live in its own root.

    As far as paying for a mirror site, putting your test site in a subdirectory of your main site works just as well, with no added expense.
    Steve, I also like to keep things as simple as possible but, as you just said, sometime some extra complexity is needed to address various needs. The example you gave me for maintaining multiple ZenCart stores as subdirectories of the same web host account is wonderful.

    This 301 discussion reminds me of Butler W. Lampson's aphorism:
    "All problems in computer science can be solved by another level of indirection."

 

 

Similar Threads

  1. Checklist before going live?
    By hml_mike in forum General Questions
    Replies: 1
    Last Post: 14 Dec 2010, 07:56 PM
  2. Testing Mods Before going live?
    By ADE Cyber Emporium in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 14 Jul 2009, 01:29 PM
  3. Before Going Live...
    By slabadoo in forum General Questions
    Replies: 1
    Last Post: 19 Jun 2007, 11:19 PM

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