Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2004
    Posts
    1,774
    Plugin Contributions
    14

    Default Override System Limitations

    One thing I've noticed about the way the override system is implemented using the "template" subdirectory system is its limited to the file level.

    Meaning that if there are 2 contrib that modify different sections of the same file, then manual merging must be done. Are there any plans for Zen-Cart to bring it down to a lower level?

    Something like the Kohana project where features are more modular and merged at the end?
    upload.wikimedia.org/wikipedia/en/1/1c/Kohana-modules.png

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

    Default Re: Override System Limitations

    There are pros and cons to splitting things into even more modules.
    The fewer files, the easier for newcomers to understand because self-contained files are easy to visualize.
    For coders, of course it's great to modularize the heck out of everything because it means less merging.

    There are ongoing improvements all the time. The 1.4 release has a number of templating improvements. Some related to modularizing, some just making the templates easier to follow, meaning less challenges when merging mods etc.
    .

    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. Override system
    By Resqjock in forum General Questions
    Replies: 5
    Last Post: 1 Sep 2008, 04:28 AM
  2. Override system
    By ctpro in forum Templates, Stylesheets, Page Layout
    Replies: 15
    Last Post: 5 Jun 2007, 04:41 AM

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