ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Using ProductCart
  New Posts New Posts RSS Feed - System for tracking code changes when upg
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

System for tracking code changes when upg

 Post Reply Post Reply
Author
Message
edwardmills View Drop Down
Groupie
Groupie
Avatar

Joined: 16-August-2006
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote edwardmills Quote  Post ReplyReply Direct Link To This Post Topic: System for tracking code changes when upg
    Posted: 19-December-2006 at 4:35pm
Hi all

This will definitely reveal my newbie status. How are some of you more experienced programmers tracking and reloading the custom changes you make when you upgrade to a new version of PC?

EI wants me to upgrade to 3.04 before troubleshooting an issue and I realize "D'oh!" that I have not been keeping track of the changes I've been making to the code.

Just wondering if anyone has any time-saving tips I might use for the next round.

Thanks
ed
Back to Top
JoltDigital View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 26-October-2005
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote JoltDigital Quote  Post ReplyReply Direct Link To This Post Posted: 05-January-2007 at 4:40am

A couple of tips:

1. Place all mods in seperate include files and the include files in their own directory
2. Place comments in the include file describing what it is doing.
3. Place comments around your include file call in the ProductCart page you are modifying
4. Put a text document somewhere with the page name and line number in your old code. Be sure to keep this file updated as you do upgrades if the info changes
5. Document any changes you make to the database.

JoltDigital Inc.
1-888-785-5658
Premium ProductCart Hosting
Back to Top
edwardmills View Drop Down
Groupie
Groupie
Avatar

Joined: 16-August-2006
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote edwardmills Quote  Post ReplyReply Direct Link To This Post Posted: 08-January-2007 at 7:04pm
Thanks for the tips. Unfortunately you lost me at the part about Include Files and Calls. I can figure out how to cut and paste things around in the ASP files and stuff like that. But beyond that I'm out of my league. You're probably thinking about now that if that's the case I shouldn't be messing around in the code at all. And you're probably right! But alas, I can't leave well enough alone. So I've got a bunch of ASP files with changes and some notes that may or may not help me when I upgrade.

Seriously, though, is there a resource you can suggest that would guide me through the process of creating these includes and the calls to them?

Much appreciated.

ed
Back to Top
watercrazed View Drop Down
Groupie
Groupie
Avatar

Joined: 31-December-2005
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote watercrazed Quote  Post ReplyReply Direct Link To This Post Posted: 20-March-2007 at 2:44pm
There are several pieces of software the will do file compares based on the content. Off hand I don't remember specific names well enough to recommend one though.  One suggestion, get a clean install of the version you are now using and run some file compare software to find where your changes are, markup the pages in your version. as suggested by the earlier poster. However commenting the start of the change, the purpose, and date and commenting the end of the modified code right in the page being modified can work too.

P.S. ( a rough approximation) include files are used in the page you are working on, but stored seperately and then referenced with an include statement. the software then in essence pastes the include file into the page you are working on when it is accessed by the browser.


Back to Top
ProductCart View Drop Down
Admin Group
Admin Group

ProductCart Team

Joined: 01-October-2003
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote ProductCart Quote  Post ReplyReply Direct Link To This Post Posted: 20-March-2007 at 2:49pm
Many of us here at Early Impact use ExamDiff Pro. www.examdiff.com
The ProductCart Team

Home of ProductCart shopping cart software
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.