The Buffalo Series #4 - Templates
Go in 5 Minutes, episode 25.
We've been looking at the Buffalo framework lately, and
we're gonna keep on going today with templating.
If you're building a webapp, templating is crucial for you to be able to serve dynamic content to your users. For example, if you need to fetch the user's name and information from your database, you'll need to somehow put that data into HTML that you can serve to their browser.
Templates are how you do it, and Buffalo has a great, easy to understand template engine to help you out!
Here's what we'll learn today:
- Introduction to templating
- The plush template engine
- How to use plush from your Buffalo app
And like always I'll be showing live code.
Check out the screencast for more!
Show Notes