cmigrating to mvc with cold box 3.8

Post on 30-Jun-2015

70 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

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

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.

top related