Scaffold
Now let us relish in the power of the orm-crud command:
1
coldbox create orm-crud entity=models.Contacts pluralName=Contacts
Copied!
That's it.
1
Generated Handler: /Users/lmajano/tmp/restapp/handlers/Contacts.cfc
2
Generated View: /Users/lmajano/tmp/restapp/views/Contacts/edit.cfm
3
Generated View: /Users/lmajano/tmp/restapp/views/Contacts/editor.cfm
4
Generated View: /Users/lmajano/tmp/restapp/views/Contacts/new.cfm
5
Generated View: /Users/lmajano/tmp/restapp/views/Contacts/index.cfm
Copied!
The command will create the handler with RESTFul capabilities, the views and all the necessary machinery for you to manage Contacts! Now go get a nice latte in celebration!
Copy link