Adrian Lanning
adrian@share911.com
https://github.com/alanning/
Oct. 22, 2015
Credit: Jacob Surland http://caughtinpixels.com/
IronRouter | FlowRouter | |
---|---|---|
Yes | No | |
Can | Must | |
✓ | ||
More |
Allows Reactivity |
Performance |
Easy to get started |
Package support |
Who are you?
Packages: Accounts (core)
Template-based, or
Directly in route
Must use template-based
* But Before Triggers, right? No!
"In FR, triggers based auth does not wait. Template based is the only way." - Arunoda
Manage Users Layout
Component 3
Component 4
(authenticated & authorized)
Header
Public Layout
Marketing Copy
Login Form
(not logged in)
Header
Main Layout
Component 1
Component 2
(authenticated & authorized)
Header
View Secrets Layout
Component 5
Component 6
(authenticated & authorized)
Header
Component 1
Main Layout (authenticated)
Component 2
Component 3
Admin Auth Controller (authorized)
* Modular directory structure
* Hierarchy of Templates
* Auth Controllers
* Compose in route
adrian@share911.com