(views)
REST
(Representational State Transfer)
Web apps + HTTP
Like Laravel, for instance
Now we have "action methods" to go with our "routes" and "views"
Text
Blog example:
Routing
Routes don't have to go to a controller method, they can just return a view (or even just return a string)
Controllers typically return a "view" with some data that's been passed to it but they can also just return some data (JSON for instance)
A route that returns a view
What if we just return some data
create a controller
"resource" routes