Live data from Hacker News

Skit: A pure JavaScript front end for building better web clients

skitjs.com

11–19 of 19 posts

Re: Skit: A pure JavaScript front end for building better web clients

#11

Two years ago I would've been excited but now I've developed a filter for anything with javascript and front end or framework in the same sentence if they are not backed by a major corporation, simply based on the reason that there have been so much abandonware in this landscape, I think even for Google it's been tough sell. I think that React is the way to do it but slow to adopt it especially because I'm so comfort…

But jQuery is not backed by a major corporation. And GWT was backed by a major corporation, but it doesn't seem to be doing too well.

I don't think being backed by a major corporation means much.

Re: Skit: A pure JavaScript front end for building better web clients

#13
post #2

> > You seriously made another module loader? > Yeah. There are several reasons why: > To create a new-feeling environment that is clearly not node, > because you’re writing code that runs in node and IE9 and Chrome > etc. It shouldn’t feel like any old node.js module. Why shouldn't it feel like any old node.js module? Nearly all the work in JS packaging of late has been to abstract the differences so that we can use…

[skit author here] -- skit handles CSS and multi-file module definitions (with submodules) in a novel way, that's probably more important to me than the reason you pasted.

Re: Skit: A pure JavaScript front end for building better web clients

#14

Two years ago I would've been excited but now I've developed a filter for anything with javascript and front end or framework in the same sentence if they are not backed by a major corporation, simply based on the reason that there have been so much abandonware in this landscape, I think even for Google it's been tough sell. I think that React is the way to do it but slow to adopt it especially because I'm so comfort…

I wrote a post about how ridiculous it was to write another javascript library (about skit): https://news.ycombinator.com/item?id=9342133

Re: Skit: A pure JavaScript front end for building better web clients

#17

this might be cool until you have to debug some weird bug and do not know if it has to do with client or server code...

so far in building LaunchKit with skit (https://launchkit.io/) that hasn't happened. (I was worried about that, too.) it's surprisingly natural. I find the server-side parsing/running actually catches a ton of stupid typos (with nice error messages) quickly before I have to find them in the Chrome developer tools...

Re: Skit: A pure JavaScript front end for building better web clients

#18
post #9

> Featuring nearly 100% shared server and client-side code If the code can run on the client as well as on the server, does this mean the client has direct database access? How well does that work out for the number of required round-trips?

the skit frontend abstracts only a few things for server- and client-side code: http requests, cookies and redirects. so you write a REST API client in JS and populate the initial page state with it, and when you wake up in the browser you don't have to make any more requests (until the user does something).
Post reply on HN