Artwork

Inhoud geleverd door Changelog Media. Alle podcastinhoud, inclusief afleveringen, afbeeldingen en podcastbeschrijvingen, wordt rechtstreeks geüpload en geleverd door Changelog Media of hun podcastplatformpartner. Als u denkt dat iemand uw auteursrechtelijk beschermde werk zonder uw toestemming gebruikt, kunt u het hier beschreven proces https://nl.player.fm/legal volgen.
Player FM - Podcast-app
Ga offline met de app Player FM !

Go templating using Templ

1:05:37
 
Delen
 

Manage episode 376840524 series 1024148
Inhoud geleverd door Changelog Media. Alle podcastinhoud, inclusief afleveringen, afbeeldingen en podcastbeschrijvingen, wordt rechtstreeks geüpload en geleverd door Changelog Media of hun podcastplatformpartner. Als u denkt dat iemand uw auteursrechtelijk beschermde werk zonder uw toestemming gebruikt, kunt u het hier beschreven proces https://nl.player.fm/legal volgen.

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

Hoofdstukken

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)

325 afleveringen

Artwork
iconDelen
 
Manage episode 376840524 series 1024148
Inhoud geleverd door Changelog Media. Alle podcastinhoud, inclusief afleveringen, afbeeldingen en podcastbeschrijvingen, wordt rechtstreeks geüpload en geleverd door Changelog Media of hun podcastplatformpartner. Als u denkt dat iemand uw auteursrechtelijk beschermde werk zonder uw toestemming gebruikt, kunt u het hier beschreven proces https://nl.player.fm/legal volgen.

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

Hoofdstukken

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)

325 afleveringen

Alle afleveringen

×
 
Loading …

Welkom op Player FM!

Player FM scant het web op podcasts van hoge kwaliteit waarvan u nu kunt genieten. Het is de beste podcast-app en werkt op Android, iPhone en internet. Aanmelden om abonnementen op verschillende apparaten te synchroniseren.

 

Korte handleiding