From ded0451e9582df33cae6099a2fb72b4ea25076cf Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 15 Jul 2003 13:30:43 +0000 Subject: reverting to vendor branch rt 3.0.4, hopefully --- rt/docs/design_docs/local_hacking | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 rt/docs/design_docs/local_hacking (limited to 'rt/docs/design_docs/local_hacking') diff --git a/rt/docs/design_docs/local_hacking b/rt/docs/design_docs/local_hacking deleted file mode 100644 index c06d1126d..000000000 --- a/rt/docs/design_docs/local_hacking +++ /dev/null @@ -1,32 +0,0 @@ -To facilitate local hacking, RT needs a mechanism to allow site administrators -to easily add HTML templates for the web ui and to replace sections -of code in RT's core modules _without_ having to modify those modules - -We'll use several methods to achieve this goal. - - Webui - HTML::Mason allows users to create multiple -component hierarchies. RT should ship with a local component root -defined and available. This root should be configured as the "primary" -component root. - - - Core modules - - This gets a bit trickier. we want to allow people to trivially -subclass core modules and to use those subclasses throughout the code. - -The way we're going to handle this is by setting up a number of subroutines -in config.pm that look something like this: - -sub NewTicketObj { - eval "require $TicketClass"; - my $object = new $TicketClass; - return ($object); -} - -# This variable is used for ref type checking -$TicketClass = "RT::Ticket"; - -we could use an eval around the require and thus completely avoid specifying -the object in two places. which feels like a win. but i'm worried about perf. -- cgit v1.2.1