TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

"Hello World" for authentication in a Backbone.js app

17 pointsby jenkinsjalmost 12 years ago

1 comment

jdavidalmost 12 years ago
@jenkinsj Great work. This is clean, readable and well commented. Many of the patterns are great for a `hello world` backbone/node app.<p>I noticed you are using the underscore.js templating engine, and that you are embedding the templates in script tags within a 'shadow' dom poly-fill.<p>you might want to use &#60;template&#62; tags instead, and use display:none to poly-fill. I found that it works pretty well, and it's more semantically correct. Browsers should expect template tags in the future to be templates. I have tested this in number of browsers and it seems pretty well supported even in IE.<p>&#60;template&#62; tags reference <a href="http://www.html5rocks.com/en/tutorials/webcomponents/template/" rel="nofollow">http://www.html5rocks.com/en/tutorials/webcomponents/templat...</a>