Hi there.
Flushed with success after my first CF website went live; I'm going to have a crack at another one.
Now I'm looking at adopting a MVC approach (which, until I read Ben Forta's book, I didn't realise was possible).
I'm going to have a controller page (like documentController.cfm) and a view which I will CFINCLUDE another page (documentview.cfm)which is the form which I will submit back to the controller.
Is this a good approach? I reckon so, but one problem I see, is that I will need some way to prevent folk from accessing documentview.cfm directly from the browser command line. Is there a way to do that?
Thanks in advance.
Flushed with success after my first CF website went live; I'm going to have a crack at another one.
Now I'm looking at adopting a MVC approach (which, until I read Ben Forta's book, I didn't realise was possible).
I'm going to have a controller page (like documentController.cfm) and a view which I will CFINCLUDE another page (documentview.cfm)which is the form which I will submit back to the controller.
Is this a good approach? I reckon so, but one problem I see, is that I will need some way to prevent folk from accessing documentview.cfm directly from the browser command line. Is there a way to do that?
Thanks in advance.