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.

SQLPage – Building a full web application with nothing but SQL queries [video]

41 pointsby refsetabout 1 year ago

4 comments

pvgabout 1 year ago
Had a recent Show HN at <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=36194473">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=36194473</a>
pil0uabout 1 year ago
Saving a few clicks for readers:<p>Project page: <a href="https:&#x2F;&#x2F;sql.ophir.dev&#x2F;" rel="nofollow">https:&#x2F;&#x2F;sql.ophir.dev&#x2F;</a><p>GitHub project: <a href="https:&#x2F;&#x2F;github.com&#x2F;lovasoa&#x2F;SQLpage">https:&#x2F;&#x2F;github.com&#x2F;lovasoa&#x2F;SQLpage</a><p>It is built in Rust, and the project website is built in SQLPage: <a href="https:&#x2F;&#x2F;github.com&#x2F;lovasoa&#x2F;SQLpage&#x2F;tree&#x2F;main&#x2F;examples&#x2F;official-site">https:&#x2F;&#x2F;github.com&#x2F;lovasoa&#x2F;SQLpage&#x2F;tree&#x2F;main&#x2F;examples&#x2F;offici...</a><p>As a data analyst and witnessing the enthusiasm of the presenter makes me want to test this!
评论 #39668175 未加载
评论 #39667442 未加载
archiewoodabout 1 year ago
It’s interesting to me how far you have pushed the SQL language in this framework, such that it truly is “SQL only”.<p>The challenge as I see it with enabling analysts to build websites is that you need to build abstractions to get from familiar (SQL, yaml) - the language of analytics, to new (HTML, CSS, JS) - the language of the web browser<p>As one of the maintainers of Evidence (<a href="https:&#x2F;&#x2F;evidence.dev">https:&#x2F;&#x2F;evidence.dev</a>), one of the things I’ve often considered is how accessible our syntax is to analysts. Our syntax combines SQL and Markdown, with MDX style components e.g. &lt;Component&#x2F;&gt;<p>The &lt;&#x2F;&gt; are inherently webdev-ey, and I do think they put off potential users.<p>On the flip-side, by adhering to web standards, you get extensibility out of the box, and working out what to do is just a Google search away.<p>Anyway, thanks for the thought provoking piece.
评论 #39669000 未加载
lakomenabout 1 year ago
Well, I&#x27;ve watched most of the video. IMHO it&#x27;s a step back. You know separation of concerns, clean templates, don&#x27;t mix presentation and data. Well, this is the extreme in the opposite direction.<p>Instead of using proper &lt;component&gt;s you&#x27;re using &quot;select &#x27;Label&#x27; as text&quot;.<p>No. Even if the guy is sympathetic, keep presentation separate. If it had markup mixed with SQL queries, ok, sure.<p>But this is going too much in the other extreme direction.<p>I not just would like but need to have control over my presentation. And with doing pseudo SQL queries this is too complicated vs regular markup or something like vue etc.<p>Only upside of this is performance and&#x2F;because it&#x27;s SSR
评论 #39671789 未加载
评论 #39670439 未加载