Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding screencast for using plush templates inside buffalo apps #169

Merged
merged 20 commits into from Jul 2, 2019
Prev

adding webpage for episode 25

  • Loading branch information...
arschles committed Jul 2, 2019
commit 70ad8c282bb7e198aada8c00e0633fec7cb65fcc
@@ -0,0 +1,26 @@
+++
type = "screencast"
title = "Templating with the Buffalo Plush Engine"
teaser = "Templating with Plush is a really powerful and easy way to build more advanced webapps"
author = "Aaron Schlesinger"
date = "2019-07-02T12:50:04-07:00"
+++

_Episode 25_

We learned about resources and more advanced routing last time in episode 24, so let's switch gears and focus on how to actually render something to the browser.

<!--more-->

To write frontend code, you need to learn its templating language, called plush (https://github.com/gobuffalo/plush). Plush offers a more intuitive syntax and access to more powerful functionality than the standard library's [`html/template`](https://godoc.org/html/template) package, and it gets out of your way more so you can focus on your webapp, not learning another language or syntax.

Plush is really important to learn about, because you'll need it for any web application you build.

All code is open source at https://github.com/arschles/go-in-5-minutes

Keep on rockin, Gophers!

<iframe width="560" height="315" src="https://www.youtube.com/embed/VMi0mDtLCq4" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>

Check out the example code [on Github](https://github.com/arschles/go-in-5-minutes/tree/master/episode25).

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.