Results 1 to 8 of 8
  1. #1
    Join Date
    May 2007
    Posts
    43
    Plugin Contributions
    0

    Default Using version control (SVN or CVS) vs. Override System?

    Do any of you use SVN? The override system seems to be the wrong way to approach this if one use SVN, don't you think? I'd rather edit the original files and then merge the changes.

    In the event when a new version or a patch comes out for one of the files I had an override for, then it will make changes only to the original file, and the overridden file still stays old. Which means that I'd have to go an manually check whether I have an override for this particular file.

    If I made changes to the original files, then SVN would likely to merge everything automatically.

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Using version control (SVN or CVS) vs. Override System?

    If everyone who used Zen Cart was a developer or advanced coder, you might be right. I expect 90% of ZC users have never heard of SVN, let alone know how to use it.

    Zen Cart was developed to be used by a wide user base, and has to be accessible without more technical tools/knowledge than necessary.

  3. #3
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Using version control (SVN or CVS) vs. Override System?

    The over-ride system and svn are used for 2 different purposes, you can not compare them like that.
    Any svn is not that popular and easy to use for normal users.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  4. #4
    Join Date
    May 2007
    Posts
    43
    Plugin Contributions
    0

    Default Re: Using version control (SVN or CVS) vs. Override System?

    OK, I guess I did not explain myself the right way.

    I am not saying that overrides are useless. I am just saying that if I use SVN, then shouldn't I not use overrides, or are there problems with that?

    PS And I don't think SVN is that difficult anyways. I thought that too at first, but it's ridiculously easy, I'd say it's even easier than overrides. Maybe we just need a good tutorial on that.

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Using version control (SVN or CVS) vs. Override System?

    I am not saying that overrides are useless. I am just saying that if I use SVN, then shouldn't I not use overrides, or are there problems with that?
    Overides is an implementation that is and can be template specific and is simpler to grasp by most than multiple SVN or CVS per template
    Zen-Venom Get Bitten

  6. #6
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Using version control (SVN or CVS) vs. Override System?

    The good thing about over-ride: what if you have more than 1 templates and want to switch back and forth? And the default template is always there so you can fall back any time in case some thing happens.

    Now if you want to use svn for your site, I don't see any problem with that, as long as you know what you are doing. And I'm not saying that svn is extremely hard, it's just a bit difficult for non-tech people, and a bit complicated (you have to get a svn server to, there are lots of free ones out there though, but it still mens more work). Always remember, the users do NOT like more works, I have just said goodbye forever to DELL because they simply gave me more work, required me to call their support staff while I don't want to.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  7. #7
    Join Date
    May 2007
    Posts
    43
    Plugin Contributions
    0

    Default Re: Using version control (SVN or CVS) vs. Override System?

    Thanks! That's what I wanted to know. Just about my specific issue. I don't see overrides as being a reliable system, because I'd consider myself an advanced user. I use SVN for while for several other projects and you can also always roll back to old versions with no issues. You can create tags, branches and such if necessary as well.

    I was afraid of something breaking somewhere if I don't use the overrides for example. I just wanted to hear other people's experience of doing it this way.

  8. #8
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Using version control (SVN or CVS) vs. Override System?

    Do as you like. Just remember that you'll not have the ability to switch between templates at will if you don't actually create any ... and to create them requires using the override infrastructure to some degree.
    .

    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.

 

 

Similar Threads

  1. Using Custom Templates and Override system
    By PlexusDesign in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 17 Jul 2009, 06:25 AM
  2. Trouble using override system
    By solepixel in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 23 Jan 2009, 12:01 AM
  3. Is it bad: not using the override system
    By Hyena in forum General Questions
    Replies: 5
    Last Post: 18 Aug 2007, 07:40 PM
  4. Download latest CVS/SVN?
    By rued in forum General Questions
    Replies: 10
    Last Post: 4 Sep 2006, 07:32 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