Hi,

Am 03.03.2011 um 15:09 schrieb Jonathan Swartz:

> I want Mason 2 to have default file extensions that it facilitates and 
> enforces (though they can be changed via parameters). Here's what I'm 
> thinking of going with:
> 
>   .mc - top-level component
> 
>   A top-level component can serve as the page component in a request.
> 
>   .mi - internal component
> 
>   An internal component can only be accessed from other components.
> 
>   .mp - pure-perl component
> 
>   A pure-perl component contains only code; it is parsed as if its entire 
> content
>   was within a <%class> block. You do not need to (and are not allowed to) 
> include
>   Mason tags in this component, and it will not produce any output if called.
> 
> Originally I used ".m" for top-level component, but someone was kind enough 
> to point out that this is used for Objective-C class files, which will become 
> ever more widely used if Apple has its way. :)

unfortunately my Mac also associates .mi files with Objective-C source files.  
.mc and .mp are fine.

Thanks for going into this, this was bothering me, too :-).

Matthias

-- 
rainboxx Software Engineering
Matthias Dietrich

rainboxx Matthias Dietrich   |  Phone: +49 7141 / 2 39 14 71
Königsallee 43               |  Fax  : +49 3222 / 1 47 63 00 
71638 Ludwigsburg            |  Mobil: +49  151 / 50 60 78 64
                             |  WWW  :  http://www.rainboxx.de

CPAN: http://search.cpan.org/~mdietrich/
XING: https://www.xing.com/profile/Matthias_Dietrich18
GULP: http://www.gulp.de/profil/rainboxx.html





------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to