Gossamer Forum
Home : Gossamer Threads Inc. : Discussion :

Re: [webmaster33] Gossamer Links 3.0 - Template system changes

Quote Reply
Re: [webmaster33] Gossamer Links 3.0 - Template system changes In reply to
Quote:
Directories: You should add the vertical thinking into GT template system.
Creating directories inside the template directories can help group the templates, but only when you have enough templates to require splitting them up like that. We think that splitting up templates as you have outlined below may make things easier for the more advanced users, but makes things a lot harder for the average user. The thought of having to edit 300 smaller files seems like more work than editing 100 larger files. Note that for the base template set, we have to keep things simple and easy to understand, so we can't do anything too complicated for the templates that get released with our products.

Quote:
Inheritance
GT::Template has supported inheritance for years. The next version will also support multiple inheritance (one template set that inherits from multiple template sets).

Quote:
Template set config
Quote:
Since the globals.txt, language.txt, config.txt are perl evaluated (globals.txt especially), therefore this can be a potential security hole, IF we allow our cooperative partners to access these files. Therefore content of _config directories should be NOT editable by the partners. Need more thinking on risks of this.
This does not have anything to do with GT::Template and does not belong in GT::Template. This should be controlled by whatever's allowing these 'partners' to edit the files, not GT::Template. This 'feature' sounds like something customised to your installation.

Quote:
Quote:
It would at least triple the template count (from 57 to 150+) - it's already pretty confusing as is. With other programs like Gossamer Mail, we're talking about going from 88 templates to over 250!
The directory grouping feature will solve this problem. The result template set is, grouped by directories is easily understandable. Result template set is not confusing, IMO, no matter how many templates is used (if grouped correctly into dirs).
I believe, even thousands of files could be clearly grouped this way, without being confusing for the template editor.
We don't think so. Creating more files overwhelms people, especially when we're talking about 150+ templates. Creating sub directories may help a bit, but in our opinion wouldn't do much for the too-many-templates issue. Users already have a bit of a problem understanding the inheritance and local/compiled concepts, so making things even more complex is not an option.

The whole problem is what things can we do to make working with the templates easier for everyone. We believe this means keeping things simple. There are some downsides to keeping things simple, such as duplicate html, but it allows anyone to just jump in and easily edit the templates. For the more advanced users, GT::Template does support things like inheritance and dynamic includes, so you can split things up if you want.

GT::Template doesn't do all the things you outlined, but adding them would mean adding a lot more complexity to GT::Template and due to the complexity of those features, we don't see many people using them.

Gossamer Threads Development Team
Subject Author Views Date
Thread Gossamer Links 3.0 mockup GT Dev Team 17701 Dec 7, 2004, 1:24 PM
Thread Re: [GT Dev Team] Gossamer Links 3.0 mockup
DeadMan 17175 Jan 22, 2005, 5:07 PM
Post Re: [deadroot] Gossamer Links 3.0 mockup
archer 17068 Jan 25, 2005, 4:52 PM
Thread Re: [deadroot] Gossamer Links 3.0 mockup
GT Dev Team 17058 Jan 26, 2005, 4:25 PM
Thread Re: [GT Dev Team] Gossamer Links 3.0 mockup
DeadMan 17029 Jan 26, 2005, 4:34 PM
Post Re: [deadroot] Gossamer Links 3.0 mockup
GT Dev Team 17027 Jan 26, 2005, 4:35 PM
Post Re: [GT Dev Team] Gossamer Links 3.0 mockup
ManuGermany 16558 Mar 3, 2005, 2:40 AM
Thread Re: [GT Dev Team] Gossamer Links 3.0 mockup
DeadMan 17122 Jan 26, 2005, 3:19 PM
Post Re: [deadroot] Gossamer Links 3.0 mockup
GT Dev Team 17020 Jan 26, 2005, 4:29 PM
Thread Re: [GT Dev Team] Gossamer Links 3.0 - Template system changes
webmaster33 17135 Feb 4, 2005, 6:14 AM
Thread Re: [webmaster33] Gossamer Links 3.0 - Template system changes
GT Dev Team 16971 Feb 4, 2005, 12:40 PM
Thread Re: [GT Dev Team] Gossamer Links 3.0 - Template system changes
webmaster33 16928 Feb 6, 2005, 12:10 PM
Thread Re: [webmaster33] Gossamer Links 3.0 - Template system changes
GT Dev Team 16953 Feb 7, 2005, 1:45 PM
Thread Re: [GT Dev Team] Gossamer Links 3.0 - Template system changes
webmaster33 16827 Feb 7, 2005, 10:07 PM
Thread Re: [webmaster33] Gossamer Links 3.0 - Template system changes
Gmail 16820 Feb 8, 2005, 2:38 AM
Thread Re: [Gmail] Gossamer Links 3.0 - Template system changes
webmaster33 16822 Feb 8, 2005, 7:51 AM
Thread Re: [webmaster33] Gossamer Links 3.0 - Template system changes
Gmail 16837 Feb 8, 2005, 9:47 AM
Post Re: [Gmail] Gossamer Links 3.0 - Template system changes
webmaster33 16756 Feb 8, 2005, 11:06 AM
Post Re: [GT Dev Team] Gossamer Links 3.0 - Template system changes
webmaster33 16813 Feb 8, 2005, 11:21 AM
Post Re: [GT Dev Team] Gossamer Links 3.0 - Template system changes
webmaster33 16736 Feb 26, 2005, 4:43 PM
Post Re: [GT Dev Team] Gossamer Links 3.0 - Template system changes, part 2
webmaster33 16947 Feb 6, 2005, 5:48 PM
Post Re: [GT Dev Team] Gossamer Links 3.0 mockup
ericho 16708 Feb 14, 2005, 7:30 AM
Post Re: [GT Dev Team] Gossamer Links 3.0 - Admin suggestion
webmaster33 16716 Feb 17, 2005, 4:56 AM