[Catalyst] Directory layout

Gerda Shank gs364 at cornell.edu
Thu Nov 8 14:47:07 GMT 2007


Thanks for the responses to my question about the View Directory. I'm 
still trying to figure out the reasons for the rest of the directory layout.

The templates are not in the View directory, because the "lib" hierarchy 
is just for Perl code. Is that right?

Is "root" kind of the equivalent of "htdocs"?  What else would go in the 
"static" subdirectory besides images? Would you put css files in here? 
Does javascript go in static, or does it get a directory underneath root?

Are any parts of the layout created by "catalyst.pl" changeable, or 
would it break Catalyst to rename them? If, for example, "root" was 
changed to "htdocs", or you didn't use the "static" directory?

Sorry for all the questions. I've been studying the documentation, but 
haven't had much like finding explanations for these things, and I'm not 
sure where to look in the code.

Thanks,
Gerda Shank








More information about the Catalyst mailing list