Depends on your specific definition of url params.  I typically run
sites with URLs like this http://domain.com/go/action, optionally with
trailing information, and then use mod_rewrite to convert that into a
'normal' URL for passing off to CF.  With MG, that URL would become
/index.cfm?event=action.  So you can avoid URL variables from the
perspective of the end user.

And yes, it all runs from a single CFM, though there's no real
compelling reason you have to do it that way.  You could have
index.cfm as normal, and then XXX.cfm that hard codes an event value
in it, but otherwise is the same as index.cfm.  Avoid URL params, and
lets you have multiple entrance templates, but it can get very
unweildly if you ever need to refactor.

Overall, I'd recommend the former over the latter.  CF is designed as
an application server, while web servers are designed to do URL-space
management.  So let the web server deal with the conversion from
whatever you want your public URLs are to whatever you application
URLs are.

cheers,
barneyb

On 11/7/05, John C. Bland II <[EMAIL PROTECTED]> wrote:
> Ok. I dl'd MG today and looked through the code. It seems pretty sweet but
> looking at the docs on the .com brought up a question for me. (may be
> terribly easy to answer)
>
> Do you have to use url params to run your site? A sidebar from that is: does
> it all run from 1 single .cfm?
>
> --
> John C. Bland II
>

--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 100 invites.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:223535
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to