List Info

Thread: ISSUE: New - Smarty templating




ISSUE: New - Smarty templating
user name
2006-12-17 09:57:24
h
ttp://websvn.tigris.org/issues/show_bug.cgi?id=117
                 Issue #|117
                 Summary|Smarty templating
               Component|websvn
                 Version|2.0
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|ENHANCEMENT
                Priority|P3
            Subcomponent|Templates
             Assigned to|issueswebsvn
             Reported by|pete_mash






------- Additional comments from pete_mashtigris.org Sun Dec 17 01:57:23 -0800 2006 -------
I just checked out websvn and have started to modify some of
the templates,
mainly to gain more screen real estate. Its a lovely
application and thanks all.

Looking through the templates however and hacking through
the code has led me to
the conclusion that this project would benefit from Smarty
templating.

I am a bit biased as I maintain the Smarty docs and use
Smarty daily (and
nightly) as a day job. Implementing it would be relitevaly
easy as most of the
abstraction is already there.

The issues and benefits would be:
* being able to move blocks of code into included templates
- eg the title block
* Total separation of logic vs presentation
* Possible Code highlighting with plugins - eg Geshi
* Overriding templates - makes customization easy
* Moving all the styling to a CSS
* No tables used for layouts at all

Its would also bring it more compliant with xHtml.

I'm prepared to code it. Should be a nice days work 

pete
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )