[ColdBox 4.3.0] URL Parameters vs routing

Hi,

I have read the documentation https://coldbox.ortusbooks.com/content/full/routing/, but it’s unclear what is the preferred way to build URLs like this:

`

http://10.107.5.63:34375/index.cfm/helloWorld.add?installationID=102&siteid=35&contactid=538

`

How should the first URL above be crafted as pr best practice? And if there are sub/handlers as well. If I understand handlers correctly, we can add them in sub-folders as well, or do the all go in as subfolder of wwwroot? Thanks.

Brgds,
Ken

Ken,

By convention, you have the ability to do packages/handlers/actions.

However, please note that you have a full carte blanche to create as many and as clearer as you like the URLs to be. So you can do by convention like this:

/helloWorld/add/installationID/102/siteID/35/contactID/538

Or you can build something like

/hello/add/102/35/538

It really is up to you to structure them as you see fit.