I like .html but the problem I've faced with using this extension is that
serving static html file with the .html file extension (like documentation,
Dojo templates or FckEditor files) becomes very hard to map to not go to the
applications MVC controller. I've spent countless number of hours messing
with the url-pattern in web.xml without much success.

So I usually use .htm for the application extension.

Sanjiv

On 9/20/06, Matt Raible <[EMAIL PROTECTED]> wrote:

Dear AppFuse users,

As many of you likely know, there are a couple of issues with using
the *.html extension with some frameworks in AppFuse.  For example,
with WebWork - it loads Dojo template files from a *.html extension.
If you want to use Dojo with WebWork, you have to modify your default
extension.

http://issues.appfuse.org/browse/APF-431

Because of this, we're starting to look at other extensions.  I'd
rather use one for all frameworks, rather than the recommended ones
for each framework b/c it allows us to have one security.xml files,
rather than one for each framework.  Another option is to use
path-based mapping, for example:

http://localhost:8080/yourapp/go/users

Where "/go/*" is the path that front-controller servlet/filters are
mapped to.  The only problem with this is stat trackers typically like
to track extensions, and so we'd be unfriendly to those companies who
like to watch their stats.

Here's a couple thoughts - feel free to add your own suggestions and
thoughts:

1. *.htm
2. *.aspx
3. *.php
4. *.app
5. *.a
6. *.o
7. *.apf (would help us track AppFuse-based applications, but it's a
pretty ugly extension)
8. *.em
9. *.fun
10. *.page

I still like *.html the best b/c it doesn't give away the underlying
technology, so *.htm seems like the best option after that.  But of
course, I'm open to suggestions. ;-)

Matt

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to