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.

Skit – I built another JavaScript framework

143 pointsby mefabout 10 years ago

14 comments

taylorhughesabout 10 years ago
Skit author here. We&#x27;ve been using skit internally to build LaunchKit (<a href="https:&#x2F;&#x2F;launchkit.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;launchkit.io&#x2F;</a>) for the past 4-6 months.<p>We have skit sitting on launchkit.io, with a REST API in Django sitting behind it (serving prelaunch native mobile clients from api.launchkit.io).<p>Logged-in requests that load data hit the API first from node, using the same JS API client that runs in the browser. The logged-in user cookie is actually an encrypted OAuth token from the backend API, so our website is actually a first-class API client just like our mobile apps. No separate session logic, etc.<p>I prerender the first results in the &quot;reviews&quot; list using a template on the server, then when you scroll down the list the additional items are loaded and rendered with the same template in the browser. It seems weird&#x2F;foreign but in practice it&#x27;s not that weird.<p>So far it&#x27;s been fun, and honestly it&#x27;s worked far better than I expected it to when I started tinkering.<p>Would love any feedback &#x2F; etc., here or on twitter @taylorhughes
评论 #9343996 未加载
评论 #9344748 未加载
评论 #9345375 未加载
评论 #9342461 未加载
评论 #9343340 未加载
评论 #9345037 未加载
评论 #9342733 未加载
评论 #9345376 未加载
aerovistaeabout 10 years ago
First impression is this is way more straightforward than other frameworks.<p>First criticism, this:<p>events.listen(dom.get(&#x27;.thing&#x27;), &#x27;click&#x27;, function() {<p>That is a longer way of saying<p>$(&#x27;.thing&#x27;).on(&#x27;click&#x27;, function(){<p>Which could really just be:<p>on.click(&#x27;.thing&#x27;, function(){<p>As in, make the most common things more concise. Your current way isn&#x27;t bad at all; it&#x27;s just longer than it needs to be. Could be reorganized, I think.
评论 #9342594 未加载
stormpatabout 10 years ago
Skit literally means &quot;Shit&quot; in swedish.
评论 #9344254 未加载
评论 #9342843 未加载
评论 #9342825 未加载
评论 #9344698 未加载
评论 #9342527 未加载
qrohlfabout 10 years ago
I definitely get where this is coming from - I&#x27;ve been using gulp+browserify+watchify+react+express+mongoose lately, and even though I really do like all of the tools individually just wiring all of the different bits and pieces together feels like a chore and is very error-prone.<p>I think there&#x27;s a lot of space in the frontend arena for a convention-over-configuration frontend framework that ties in ES6 &amp; jsx transforms, jshint, css bundling, sourcemap generation, and production bundling &amp; minification in a nice way with sane defaults and strong conventions.<p>That way I don&#x27;t end up using <a href="http:&#x2F;&#x2F;octo-labs.github.io&#x2F;snowflake&#x2F;" rel="nofollow">http:&#x2F;&#x2F;octo-labs.github.io&#x2F;snowflake&#x2F;</a> for every JS project.
评论 #9345852 未加载
评论 #9346699 未加载
dvccabout 10 years ago
Seems like an interesting medium between Meteor&#x2F;Derby.js and just a front-end framework; however it doesn&#x27;t provide the same tracking of models. So it&#x27;s more of a hand-off, but at least it prevents having to duplicate logic.<p>At the same time, I feel like this could have been done with just a plugin to some existing framework instead of creating just another. But that&#x27;s just because I am losing track of everything that is out there.
评论 #9342683 未加载
评论 #9342415 未加载
ksenzeeabout 10 years ago
I was hoping for an actual skit, parodying the Yet Another JavaScript Framework phenomenon.
davedxabout 10 years ago
Just want to chime in as another dev who&#x27;s tinkered in the isomorphic area: great work, and I completely agree this area is still way too complicated. A modern framework should support this out-of-the-box IMHO.<p>FWIW your framework makes me think of a modern backbone.js. I&#x27;ll try and find some time to take it for a spin sometime soon. Good luck with it!
spectrum1234about 10 years ago
Great simple concept. This + react is how all frameworks need to think.
serve_yayabout 10 years ago
I wonder what the first two letters of YACC stand for.
Entalpiabout 10 years ago
I am so sorry to not to be the last one to say this; Skit == &quot;Poop&quot; in Swedish.<p>I bet it&#x27;s awesome though.
beeskneecapsabout 10 years ago
&quot;Eventually, this webpage got so complicated and unwieldy that I started avoiding making changes to it.&quot;<p>Skipped unit testing didn&#x27;t you? Uncle Bob Martin would be upset with you.<p>Without tests, someday you&#x27;ll be afraid to change Skit as well.
__lucaabout 10 years ago
Hi, are there any tests for Skit? How have you been testing it?
评论 #9344502 未加载
bmullabout 10 years ago
I&#x27;m skit developer #1. And it&#x27;s awesome.
snypabout 10 years ago
this framework just looks like so much fun!