<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=082253020-07062006><FONT face=Arial 
color=#0000ff size=2>RE; default template src dir</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=082253020-07062006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=082253020-07062006><FONT face=Arial 
color=#0000ff size=2>&gt;&gt; <FONT face="Times New Roman" color=#000000 
size=3>if we wanted to so something like app/masterview in the meantime we could 
</FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=082253020-07062006><FONT face=Arial 
color=#0000ff size=2><FONT face="Times New Roman" color=#000000 size=3>&gt;&gt; 
since that has the advantage of being the same subdirectory depth as 
app/views.</FONT></FONT></SPAN><BR></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=082253020-07062006>I think I like do like that better than lurking down in 
app/views/masterview, so I'll go ahead and make that change to the default 
config.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=082253020-07062006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=082253020-07062006>&gt;&gt; <FONT face="Times New Roman" color=#000000 
size=3>think about ways where they could reuse the custom directives across 
apps...</FONT></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=082253020-07062006>&gt;&gt; <FONT face="Times New Roman" color=#000000 
size=3>want to make sure to have a way for directives to be loaded in other 
directories </FONT></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=082253020-07062006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=082253020-07062006>Yep, and in fact I'll probably do exactly that.&nbsp; 
Just append any ol' path name you want to config.directive_paths in your 
settings.rb or env config.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=082253020-07062006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=082253020-07062006>But it would be nice to have a convenient "if you have 
the conventional directives dir in your rails app we'll load it 
automagically".&nbsp; I'll put in app/masterview/directives for now and 
test-drive it with something to make sure it "feels good" in the overall 
organization of my app.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=082253020-07062006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=082253020-07062006>still contemplating your caps plan B fallback for 
import/gen directives - it's a bit grating, I do prefer "{template_path}" over 
"TEMPLATE_PATH".&nbsp; Making the notation itself configurable seems like a bad 
idea - the basic notation should be simple and standard.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=082253020-07062006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=082253020-07062006>Maybe TEMPLATE_SHORT_PATH or 
TEMPLATE_BASE_PATH&nbsp;rather than SHORTNAME?&nbsp; Trying to find the right 
name to fit with "standard" file system terminology and the existing File 
protocol in ruby.&nbsp; File::basename get you just the base file name w/out 
path or extension, so maybe "base path" captures the no-ext 
intent?</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=082253020-07062006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=082253020-07062006>Don't like CONTROLLER and ACTION - that may happen to 
be what those elements of a path represent, but it's not necessarily so.&nbsp; 
And there's potentially diffs in url path fragments vs. controller impl 
structures.&nbsp; So I think the notions we allow to be expressed in the 
keywords we support should be restricted just to the concepts of the template 
file living in some relative scope of the file system structure - thus just 
name, extension, full/relative paths.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=082253020-07062006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=082253020-07062006>&gt;&gt; <FONT face="Times New Roman" color=#000000 
size=3>Typically keyword expansion is only needed on generate, gen_* and import* 
commands </FONT></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=082253020-07062006></SPAN></FONT><FONT face=Arial color=#0000ff 
size=2><SPAN class=082253020-07062006>&gt;&gt; <FONT face="Times New Roman" 
color=#000000 size=3>so by having it default to on only for those it doesn't 
affect most other directives.</FONT></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=082253020-07062006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=082253020-07062006>Take a stronger point of view: these *are* the only 
directives that this applies to.&nbsp; Let's don't open it to other directives 
until there's a clear need and an understanding of what might be 
appropriate.&nbsp; [don't invent overly general mechanism until we need it - 
YAGNI]</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=082253020-07062006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=082253020-07062006>~ Deb</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=082253020-07062006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=082253020-07062006>YAGNI:</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=082253020-07062006><A 
href="http://xp.c2.com/YouArentGonnaNeedIt.html">http://xp.c2.com/YouArentGonnaNeedIt.html</A></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=082253020-07062006></SPAN></FONT>&nbsp;</DIV>
<DIV><SPAN class=082253020-07062006><FONT face=Arial color=#0000ff 
size=2>&nbsp;</FONT></SPAN></DIV></BODY></HTML>