I've been thinking of a new method of presenting dynamic content,
specifically the list archives. At the moment you get to a single post by
passing an ID on the url. Even if this is 'hidden' using SES Urls or the
like, your still passing something.
My idea is to use the application.cfc to 'catch'
Laboratories, Inc. | Web Developer
-Original Message-
From: Michael Dinowitz [mailto:[EMAIL PROTECTED]
Sent: Monday, March 14, 2005 12:17 PM
To: CF-Talk
Subject: URL masking and application.cfc
I've been thinking of a new method of presenting dynamic content,
specifically the list archives
Are you sure Application.cfc will fire for that? Because
Application.cfm doesn't.
cheers,
barneyb
On Mon, 14 Mar 2005 12:17:27 -0500, Michael Dinowitz
[EMAIL PROTECTED] wrote:
I've been thinking of a new method of presenting dynamic content,
specifically the list archives. At the moment you
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, 15 March 2005 3:17 AM
To: CF-Talk
Subject: URL masking and application.cfc
I've been thinking of a new method of presenting dynamic content,
specifically the list archives. At the moment you get to a single post by
passing an ID on the url. Even
I think I'm not making myself clear here. I'm speaking about a CF based url
rewriter, not a generic 404 catcher. If an url is written in a specific
manner (messages_4_33432) then it'll translate into a valid and expected
page. This is designed as a way to format specific pages that normally would
This is pretty much exactly what I designed the FriendlyURLServlet to do.
I'm in the middle of adding some functionality to that to allow you to
specify a redirectHandler in web.xml that will cause all requests that
match the servlet mapping to be passed directly to the handler.
so if you had
servlet
servlet-nameFUServlet/servlet-name
display-nameFriendlyUrlServlet/display-name
When I saw FUServlet, something else entirely came to mind.
But anyway, there are lots of tools that will rewrite URLs, of course, and
I'd strongly recommend that anyone interested in doing so use
Dave Watts wrote:
servlet
servlet-nameFUServlet/servlet-name
display-nameFriendlyUrlServlet/display-name
When I saw FUServlet, something else entirely came to mind.
Really?
I'm sure a good psychologist would have a thing or two to say about
that, but that's kinda OT ;-)
But
And when has that stopped me from reinventing the wheel? :)
The point is to see if it is possible and viable for its own sake and for
usage. With FUServlet and other technologies I may not have full control
over logging as to where someone came from, what they thought they went to
and what the
FWIW, You should be able to get all of the information you mention below
if you are using the FUServlet, but as you say, it's worthwhile to see
if what you want to do is viable because it would not require the user
to have control of the server and it's fun to play with ideas :-)
Spike
- Original Message -
From: Michael Dinowitz [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Monday, March 14, 2005 10:17 AM
Subject: URL masking and application.cfc
I've been thinking of a new method of presenting dynamic content,
specifically the list archives
Will application.cfc be executed whenever CF fails to find the
messages_4_38946.cfm page?
Theoretically it should.
Unless you're using a shared server you can accomplish this by specifying
a missing template handler in CF Administrator and doing the work in that
CF page. I've done this
On Mon, 14 Mar 2005 23:42:38 -0500, Michael Dinowitz
[EMAIL PROTECTED] wrote:
Will application.cfc be executed whenever CF fails to find the
messages_4_38946.cfm page?
Theoretically it should.
I think you'll find it is not. Application.cfc gets instantiated and
executed at the beginning of
Just like Application.cfm
On Mon, 14 Mar 2005 22:44:17 -0800, Sean Corfield
[EMAIL PROTECTED] wrote:
On Mon, 14 Mar 2005 23:42:38 -0500, Michael Dinowitz
[EMAIL PROTECTED] wrote:
Will application.cfc be executed whenever CF fails to find the
messages_4_38946.cfm page?
Theoretically it
Arr. Another piece of fun code down the drain. :(
Thanks Sean.
On Mon, 14 Mar 2005 23:42:38 -0500, Michael Dinowitz
[EMAIL PROTECTED] wrote:
Will application.cfc be executed whenever CF fails to find the
messages_4_38946.cfm page?
Theoretically it should.
I think you'll find it is not.
15 matches
Mail list logo