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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Declarative assembly of web applications from pre-defined concepts

58 点作者 im_dario超过 5 年前

6 条评论

zshift超过 5 年前
&gt; If the thing you’re trying to build doesn’t fit with our framework, you probably have a design flaw!<p>Yes and no. Whenever we move to a higher level of abstraction, we (almost?) always lose control. Even in C, there are some behaviors that require coding in assembly to squeeze out every last bit of performance, or using `unsafe` in various languages to break out of a managed environment. In both of these cases, they are code smells. Is it possible you have a valid reason for writing assembly by hand? Absolutely. But you better have a good reason for doing so, because it sacrifices readability.<p>The same applies to these “drag-and-drop” feature builders. The key is adding in hooks to create custom behavior easily. For Deja Vu, this is by creating your own concepts.<p>I think the biggest issue here is the target audience. We haven’t found a large enough group of people that enjoys working at this level of abstraction to help grow the community. Anecdotally, developers I know tend stick to their level of abstraction. C devs hate JS and vice-versa, arguing over control vs simplicity.
评论 #21720505 未加载
LeftHandPath超过 5 年前
Interesting. I see a lot of promising projects moving more and more in this direction, where the database and logical objects are closely coupled and the end goal is to allow Microservices (but <i>more granular</i> Microservices, like this article describes) to be tied together to form a whole.<p>Actually, I recently started my own project to do the same, but I didn’t get nearly as far as a few of the recent posts I’ve seen on HN &#x2F; reddit. At this point I might just find a similar OSS that I can contribute to.<p>I like the trend.
评论 #21731449 未加载
im_dario超过 5 年前
References:<p>- Paper: <a href="https:&#x2F;&#x2F;spderosso.github.io&#x2F;onward19.pdf" rel="nofollow">https:&#x2F;&#x2F;spderosso.github.io&#x2F;onward19.pdf</a><p>- Dejà Vu Platform: <a href="https:&#x2F;&#x2F;deja-vu-platform.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;deja-vu-platform.com&#x2F;</a>
tlarkworthy超过 5 年前
I&#x27;s say kubernetes and helm&#x2F;terraform is pretty close to this declarative assembly being realised. You still need a ton of technical ability to do the assembly, so I conclude we don&#x27;t yet have a way of getting rid of that.
wwright超过 5 年前
This sounds a lot like what FP nerds would just call “defining an algebra.” It’s the same sort of thing that leads to regular expressions, TypeScript’s type system, BPF, and so on.
est31超过 5 年前
How is this different from handlebars, php short tags, jsp expression tags, ... ?