ColdBox From Zero to Hero - CFSummit East 2019 POST-Conference Training
Date and time
Refund policy
Refunds up to 30 days before event
Description
ColdBox from Zero To Hero
In this workshop you will be introduced to the latest version of the most popular CFML MVC framework; ColdBox 5. We will go over the basics of installation, templating and configuration to the most advanced features like HMVC development with modules, RESTFul APIs, integration/unit testing, database migrations, interception points and much more.
Prerequisites
● Latest CommandBox CLI
● A local database server - MySql 5.7 is recommended
Schedule / Outline
Introductions/checking prerequisites
● Meet others in the class
● Gather each student’s expectations for the class
● Ensure everyone has CommandBox installed and is ready to go
Project Overview
Discuss this project, and how we will learn and use several different concepts and tools are we work through building a real twitter clone, SoapBox. We will use ColdBox conventions, including BDD / TDD testing and leveraging several ForgeBox modules.
Setup Base App
What we will do:
● Scaffold with the Coldbox template
● Test Harness
● Migrations Harness
Concepts & Tools:
● CommandBox scaffolding
● ForgeBox ● TestBox
● Integrated
● commandbox-migrations
A user can sign up for an account 2 hours
What we will do:
● A user can register for an account
○ Password resets?
○ Authentication and Security - cbauth, cbsecurity
● A user can login to their account - cbstorages
● A user receives a welcome email when signing up for a soapbox
Concepts & Tools:
● Handlers
● Views
● Models
● Qb
● Interceptors
● Cbmailservices
● CBAuth
● Unit tests
A User Rants
What we will do:
● A user can post rants
○ A user can see all their posted rants
● A user can bump a rant
● A user can poop a rant
● A user can edit their own rants
Concepts & Tools:
● HMVC - Module Hierachy
● CBGuard ● RenderData
● Ajax requests
● VueJS
A user can search and follow ranters
What we will do:
● A user can search for other ranters
○ SoapBoxer Profile
○ A user can see a users rants.
● A user can follow other ranters
○ Followed user’s rants should appear in a user’s timeline.
○ A user can unfollow other ranters
● Unfollowed user’s rants should not appear in a user’s timeline.
Concepts & Tools:
● Service and DAO separation
● Testbox Runners
● Integration Testing