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.

JavaScript SEO

9 pointsby bceagleabout 11 years ago

1 comment

btownabout 11 years ago
&gt; The controllers are very similar but do deviate from each other from time to time. Still, I tried to keep the code looking the same line-for-line whenever possible.<p>&gt; In order to do a like for like, we created our own JavaScript-based template engine. The client tempaltes are compiled into HTML using a Grunt plugin and then packaged into the main JS file. I had to create some server side functions to mimc the Angular syntax, but I got close with my like for like comparison.<p>If this is the number of hoops needed to jump through to get Angular working for server-side rendering, I&#x27;m frightened. Please tell me there&#x27;s a better way.