Reusing JavaScript Template Literals

Posted by: K. Scott Allen, on 21 Mar 2016 | View original | Bookmarked: 0 time(s)

The word template in web programming makes one think of a reusable document or string you can combine with model data to produce output. Famous examples include Razor, Jade, and Handlebars. Template literals in JavaScript are not templates in this same sense, which is perhaps why they were originally referred to as quasi-literals in early specification work. I've seen a number of developers become angry when thinking they can declare a template literal and then reuse the template with different...

Category: JavaScript | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 216 | Hits: 5

Similar Posts

  • ReadResponse() failed: The server did not return a response for this request. more
  • $.fadeTo/fadeOut() operations on Table Rows in IE fail more
  • Using Telerik Grid for ASP.NET MVC without any server-side code more
  • Telerik Extensions for ASP.NET MVC Troubleshooting more
  • Introducing RadScrollablePanel for Windows Forms more
  • Oredev Wrap-Up more
  • Commitments more
  • Interviewing Javier Lozano 7 Nov 2009 (tonight) at 8pm PST more
  • Introducing SharePoint 2010 Training at U2U more
  • Welcome the WebUI Test Studio v2.0! more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD