Languages Features Creators Calendar CSV Resources Blog About Pricing Add Language
GitHub icon


Latte - Template language

< >

Latte is a template language created in 2008 by David Grudl.

#373on PLDB 15Years Old 1.3kUsers
3Books 0Papers 270Repos

☕ Latte: the safest & truly intuitive templates for PHP. Engine for those who want the most secure PHP sites.

Example from Linguist:
{** * @param string $basePath web base path * @param string $robots tell robots how to index the content of a page (optional) * @param array $flashes flash messages *} <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="description" content=""> <meta name="author" content=""> <meta name="robots" content="{$robots}" n:ifset="$robots"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>{ifset $title}{$title} › {/ifset}Translation report</title> <link rel="stylesheet" media="screen,projection,tv" href="{$cdnUrl}/css/style.css?v={$cssHash}"> <link rel="shortcut icon" href="{$cdnUrl}/favicon.png"> <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <script src=""></script> <script src=""></script> <![endif]--> <script n:syntax="off"> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//','ga'); ga('create', 'UA-33892654-4', ''); ga('send', 'pageview'); </script> {block #head}{/block} </head> <body class="amara-guest history-empty"> <script> document.documentElement.className+=' js' </script> {block #navbar} {include _navbar.latte} {/block} <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2" n:inner-foreach="$flashes as $flash"> {include _flash.latte, flash => $flash} </div> </div> {include #content} </div> <footer> </footer> <script src="{$cdnUrl}/js/compiled.js?v={$jsHash}"></script> {block #scripts}{/block} </body> </html>

Books about Latte from ISBNdb

title authors year publisher
Latte Programming Explorer: The Best Way To Master Java Programming With Latte Jeff Duntemann and Don Taylor 1997 Coriolis Group,u.s.
Latte Programming Frontrunner: Hands-on Guide To Mastering Java Development With Latte Jeff Duntemann 1997 Coriolis Group,u.s.
Kickass Latte Programming: Cutting-edge Java Techniques With An Attituded Tonny Espeset 1997
pl-0.html · latte.html · malbolge.html

View source

- Build the next great programming language · Search · v2023 · Day 208 · Docs · Acknowledgements · Traffic · Traffic Today · Mirrors · GitHub ·