Artwork

Innehåll tillhandahållet av Changelog Media. Allt poddinnehåll inklusive avsnitt, grafik och podcastbeskrivningar laddas upp och tillhandahålls direkt av Changelog Media eller deras podcastplattformspartner. Om du tror att någon använder ditt upphovsrättsskyddade verk utan din tillåtelse kan du följa processen som beskrivs här https://sv.player.fm/legal.
Player FM - Podcast-app
Gå offline med appen Player FM !

Go templating using Templ

1:05:37
 
Dela
 

Manage episode 376841556 series 3341962
Innehåll tillhandahållet av Changelog Media. Allt poddinnehåll inklusive avsnitt, grafik och podcastbeskrivningar laddas upp och tillhandahålls direkt av Changelog Media eller deras podcastplattformspartner. Om du tror att någon använder ditt upphovsrättsskyddade verk utan din tillåtelse kan du följa processen som beskrivs här https://sv.player.fm/legal.

Go’s known for it’s fantastic standard library, but there are some places where the libraries can be challenging to use. The html/template package is one of those places. So what alternatives do we have? On today’s episode we’re talking about Templ, an HTML templating language for Go that has great developer tooling. Co-hosts Kris Brandow and Jon Calhoun are joined by Adrian Hesketh, the creator of Templ, and Joe Davidson, one of the maintainers on the project.

Leave us a comment

Changelog++ members save 2 minutes on this episode because they made the ads disappear. Join today!

Sponsors:

  • FastlyOur bandwidth partner. Fastly powers fast, secure, and scalable digital experiences. Move beyond your content delivery network to their powerful edge cloud platform. Learn more at fastly.com
  • Fly.ioThe home of Changelog.com — Deploy your apps and databases close to your users. In minutes you can run your Ruby, Go, Node, Deno, Python, or Elixir app (and databases!) all over the world. No ops required. Learn more at fly.io/changelog and check out the speedrun in their docs.
  • Typesense – Lightning fast, globally distributed Search-as-a-Service that runs in memory. You literally can’t get any faster!
  • Changelog News – A podcast+newsletter combo that’s brief, entertaining & always on-point. Subscribe today.

Featuring:

Show Notes:

Something missing or broken? PRs welcome!

  continue reading

Kapitel

1. It's Go Time! (00:00:00)

2. Joe and Adrian (00:00:44)

3. Celsius vs Fahrenheit (00:02:35)

4. HTML templating with Go (00:04:51)

5. How old is this? (00:08:24)

6. Bringing this into existance (00:09:52)

7. Generating Go code (00:16:40)

8. The 2nd generate step (00:19:27)

9. Serverside rendering (00:25:31)

10. Sponsor: Changelog News (00:36:03)

11. Back to Templ (00:37:42)

12. LSP (00:41:58)

13. What is Templ good for? (00:42:50)

14. Surprisingly good docs (00:49:01)

15. Making the docs approachable (00:52:03)

16. Unpopular opinions! (00:55:42)

17. Adrian's unpop (00:56:07)

18. Joe's unpop (00:59:23)

19. Jon's unpop (01:03:04)

20. Outro (01:04:00)

322 episoder

Artwork
iconDela
 
Manage episode 376841556 series 3341962
Innehåll tillhandahållet av Changelog Media. Allt poddinnehåll inklusive avsnitt, grafik och podcastbeskrivningar laddas upp och tillhandahålls direkt av Changelog Media eller deras podcastplattformspartner. Om du tror att någon använder ditt upphovsrättsskyddade verk utan din tillåtelse kan du följa processen som beskrivs här https://sv.player.fm/legal.

Go’s known for it’s fantastic standard library, but there are some places where the libraries can be challenging to use. The html/template package is one of those places. So what alternatives do we have? On today’s episode we’re talking about Templ, an HTML templating language for Go that has great developer tooling. Co-hosts Kris Brandow and Jon Calhoun are joined by Adrian Hesketh, the creator of Templ, and Joe Davidson, one of the maintainers on the project.

Leave us a comment

Changelog++ members save 2 minutes on this episode because they made the ads disappear. Join today!

Sponsors:

  • FastlyOur bandwidth partner. Fastly powers fast, secure, and scalable digital experiences. Move beyond your content delivery network to their powerful edge cloud platform. Learn more at fastly.com
  • Fly.ioThe home of Changelog.com — Deploy your apps and databases close to your users. In minutes you can run your Ruby, Go, Node, Deno, Python, or Elixir app (and databases!) all over the world. No ops required. Learn more at fly.io/changelog and check out the speedrun in their docs.
  • Typesense – Lightning fast, globally distributed Search-as-a-Service that runs in memory. You literally can’t get any faster!
  • Changelog News – A podcast+newsletter combo that’s brief, entertaining & always on-point. Subscribe today.

Featuring:

Show Notes:

Something missing or broken? PRs welcome!

  continue reading

Kapitel

1. It's Go Time! (00:00:00)

2. Joe and Adrian (00:00:44)

3. Celsius vs Fahrenheit (00:02:35)

4. HTML templating with Go (00:04:51)

5. How old is this? (00:08:24)

6. Bringing this into existance (00:09:52)

7. Generating Go code (00:16:40)

8. The 2nd generate step (00:19:27)

9. Serverside rendering (00:25:31)

10. Sponsor: Changelog News (00:36:03)

11. Back to Templ (00:37:42)

12. LSP (00:41:58)

13. What is Templ good for? (00:42:50)

14. Surprisingly good docs (00:49:01)

15. Making the docs approachable (00:52:03)

16. Unpopular opinions! (00:55:42)

17. Adrian's unpop (00:56:07)

18. Joe's unpop (00:59:23)

19. Jon's unpop (01:03:04)

20. Outro (01:04:00)

322 episoder

Alla avsnitt

×
 
Loading …

Välkommen till Player FM

Player FM scannar webben för högkvalitativa podcasts för dig att njuta av nu direkt. Den är den bästa podcast-appen och den fungerar med Android, Iphone och webben. Bli medlem för att synka prenumerationer mellan enheter.

 

Snabbguide