TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Synth – A Node.js web framework designed for AngularJS

51 点作者 jchesters将近 11 年前

6 条评论

nawitus将近 11 年前
&gt;Easily create new RESTful API resources by just creating folders and naming functions a certain way.<p>I don&#x27;t like that. Memorizing new naming conventions that affect functionality makes things harder instead of easier in my experience. Sure, you can create a cool demo effect by showing how &quot;easy&quot; and &quot;quick&quot; it&#x27;s to create certain stuff. Once your application scales, things become more chaotic though, and maybe the convention starts to hit limitations. In addition, it becomes more difficult to learn the code base when you have these naming conventions that create functionality all over the place.<p>&gt;A command-line tool for installing third party packages, using npm + bower<p>Why wouldn&#x27;t I just use npm and bower? They have enough problems as it is, an additional wrapper just creates problems..
rubiquity将近 11 年前
Whenever I read a project with a marketing pitch of &quot;Some server specifically for some client side framework!&quot; I can&#x27;t help but feel the author has lost their mind.<p>The browser is just a client, people. All of the frameworks for the browser are just (supposed to be) abstractions for creating dynamic browser applications. If you need to create <i>server</i> frameworks specifically for working with a <i>client</i> framework that should be a sign to stop and think that something might be wrong.
评论 #7885275 未加载
评论 #7885697 未加载
评论 #7884021 未加载
bryanlarsen将近 11 年前
- Preload html view on page load (saving another extra roundtrip!)<p>does this mean it serves fully formed html like rendr[1] or highbrow[2]? I&#x27;m not sure what angular does, but all client-side apps I&#x27;ve seen, templates are compiled into javascript and concatenated onto the app code, so they&#x27;re never an extra roundtrip.<p>1: <a href="https://github.com/rendrjs/rendr" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rendrjs&#x2F;rendr</a> 2: <a href="https://github.com/wvl/highbrow" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;wvl&#x2F;highbrow</a>
评论 #7884029 未加载
评论 #7885568 未加载
jmstout将近 11 年前
Doesn&#x27;t this method of including dynamic data in the index.html page prevent it being served from a CDN?<p>When serving a web application, I&#x27;m generally more worried about the time it takes before the user sees a response, even if the page isn&#x27;t fully hydrated yet, than the total load time.<p>Requiring a hit to the database before the index.html is served seems like a bad idea to me, even if it is &#x27;saving&#x27; a request to the API.
评论 #7884061 未加载
评论 #7884407 未加载
justif将近 11 年前
I&#x27;m pretty sure this was discussed at ng-conf and it wasn&#x27;t implemented by the core team after another team in Google asked them for the same functionality.<p>I see service workers and web sockets (the client) dealing with the additional overhead of SPA in future. Merging the backend and frontend would just kill it for many companies as you&#x27;re dictating backend for a frontend framework.<p>Too opinionated IMO.
评论 #7884539 未加载
woah将近 11 年前
How did Angular become synonymous with frontend JS apps? It&#x27;s one of the clumsier frameworks out there.
评论 #7884416 未加载