CMigrating to mvc with cold box 3.8
28
-
Upload
ortus-solutions-corp -
Category
Technology
-
view
70 -
download
0
description
Learn how to "think MVC" while bringing your code into the present day. Taking a step-by-step approach, we'll cover the basics of handlers, views, plugins, interceptors and models. We’ll also cover a handful of security issues that have come to light since your legacy code was first created and how to address them with ColdFusion and ColdBox.
Transcript of CMigrating to mvc with cold box 3.8
Show ColdBox.cfc.
Show template. Show
Layout,Main.cfm.
Show implicit views: index, about,
contact.
Show Main.index,
main.navigationMenu; Update
/views/main/index, show
Main.carousel.
Show /main/legacy/carousel.cfm,
converted to Main.carousel with
model.Artwork.
Show carousel view code.
Show /views/artowrk/index.cfm
(implicit view), with setupInterceptor
for prc.artwork.
Layout.Main.cfm: uncomment
message box. Show /security/form
> Security.processform >
/security/success.
ColdBox.cfc, uncomment
csrfInterceptor. Show /security/form
(w/o token) > Security.processform
> /security/error. Add token.