Tags:
create new tag
view all tags

Refactoring Proposal: Skin files must be duped in their entirety

Motivation

Duplicating code that may change is a VeryBadIdea

Description

Standard skins need to be factored a lot

-- MeredithLesly - 14 Feb 2006

Impact and Available Solutions

Documentation

If necessary, developer documentation of new features and changed APIs introduced by this proposal.

Examples

topicactionbutton.pattern.tmpl, to be included in view.patternskin.tmpl. This simplifies changing just the topicactionbutton area.

Implementation

Any comments on how the refactoring is implemented or could be improved


Discussion

Any idea?

-- RafaelAlvarez - 14 Feb 2006

I'm not quite understanding this - I'v ejust made a skin based on PatternSkin - my skin has only 2 files view.sven.tmpl and twiki.sven.tmpl, and these 2 files ony contain definitions for those UI elements I changed from PatternSkin. seems to work fine... (SKIN=sven,pattern)

-- SvenDowideit - 15 Feb 2006

The idea is that if you want to change the toolbar only, and that code is in a smaller subtemplate, you will have less code to update when PatternSkin is updated.

-- ArthurClemens - 15 Feb 2006

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2006-02-15 - ArthurClemens
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.