Formiko
08/21/2022, 1:59 AMseancorfield
seancorfield
index.cfm
is empty and serves purely to satisfy CF's need for a .cfm
file to act as the basic route for requests -- but the Application.cfc
(or code that extends it) contains the request lifecycle methods and those route each request to a Controller (a handler function), which uses the parameters from the request to pass to objects/methods in the Model (CFCs that embody the business logic of the app), and then the Controller gathers that data and specifies which View to render, and the framework takes care of rendering that (.cfm
page) with the supplied data.seancorfield
event
specified in the URL (or the /section/item
in the route).seancorfield
seancorfield
seancorfield
login
and the item is form
so you'll go to a login.cfc
Controller and look at the form
method within it -- unless there's an explicit mapping of the /login/form
route to some other CFC/method in Application.cfc
. And then the View would be views/login/form.cfm
Formiko
08/22/2022, 12:37 AMFormiko
08/22/2022, 12:43 AM