help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple Major Modes


From: Lennart Borgman
Subject: Re: Multiple Major Modes
Date: Sat, 12 Dec 2009 03:18:44 +0100

On Sat, Dec 12, 2009 at 3:16 AM, Joe Brenner <address@hidden> wrote:
>
> Lennart Borgman <address@hidden> wrote:
>
>> >> >> to test it. (BTW, what file extensions do Mason files normally have?)
>> >> >
>> >> > The currently recommended Mason file extensions are *.mhtml for internal
>> >> > components, and *.html for external ones:
>> >> >
>> >> >  
>> >> > http://www.masonhq.com/?FAQ:ServerConfiguration#h-what_filename_extensions_should_i_use_for_mason_components_
>> >> >
>> >> > That means, of course that the file extension alone gives you no way to
>> >> > distinguish between a plain html file and a top-level Mason file.
>> >>
>> >> Thanks. I am a bit surprised by the second convention.
>> >
>> > The reasoning seems to be that the client is asking for html, and that's
>> > what you're going to deliver to them... the fact that Mason is used to
>> > generate the html is an internal detail there's no point in bothering
>> > them with.
>>
>> Hm, I see. It is maybe a pretty good reason on that side. But do
>> clients really care about the URL "file extension"?
>
> Well, I do.  If the URL ends in ".asp", I think "oh, no...".


Oh, you are not the type of client I was thinking of... I am glad to
hear you care though ;-)

I was more thinking about web browsers.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]