Show HN: DubJS: A New Way to Build Web Apps
1–10 of 24 posts
Re: Show HN: DubJS: A New Way to Build Web Apps
#2This is my side-project that I've been working on for a while. It would mean a great deal if you'd give me some feedback.
Re: Show HN: DubJS: A New Way to Build Web Apps
#3Writing everything in JS isn't gonna make it better all of a sudden, even if it's sanitized JS. HTML and CSS are fine for the jobs they do which is data description and layout.
The problem is JS itself. Specifically, the lack of opinionated language design infers on code. Then we end up having to reinvent the wheel all over again, and again. And we all know how productive that can be.
We have two options here. Writing in yet another language and compiling to JS or writing a JS framework that works around its flaws. I vote for the latter.
Re: Show HN: DubJS: A New Way to Build Web Apps
#4Kudos for the effort, but it won't fly. Writing everything in JS isn't gonna make it better all of a sudden, even if it's sanitized JS. HTML and CSS are fine for the jobs they do which is data description and layout. The problem is JS itself. Specifically, the lack of opinionated language design infers on code. Then we end up having to reinvent the wheel all over again, and again. And we all know how productive that…
Clojure has this sort of thing and any other homoiconic language gets it for free.
Re: Show HN: DubJS: A New Way to Build Web Apps
#5Kudos for the effort, but it won't fly. Writing everything in JS isn't gonna make it better all of a sudden, even if it's sanitized JS. HTML and CSS are fine for the jobs they do which is data description and layout. The problem is JS itself. Specifically, the lack of opinionated language design infers on code. Then we end up having to reinvent the wheel all over again, and again. And we all know how productive that…
Would you mind explaining what you mean by "the lack of opinionated language design infers on code"? Are you referring to the fact that it's not specialised for either layout or presentation?
Re: Show HN: DubJS: A New Way to Build Web Apps
#6?!? Why would anyone, ever, serve APP as static pages to those having JS disabled. Web site, thousand times yes, but APP?
Re: Show HN: DubJS: A New Way to Build Web Apps
#7Hi HN, This is my side-project that I've been working on for a while. It would mean a great deal if you'd give me some feedback.
Re: Show HN: DubJS: A New Way to Build Web Apps
#8Kudos for the effort, but it won't fly. Writing everything in JS isn't gonna make it better all of a sudden, even if it's sanitized JS. HTML and CSS are fine for the jobs they do which is data description and layout. The problem is JS itself. Specifically, the lack of opinionated language design infers on code. Then we end up having to reinvent the wheel all over again, and again. And we all know how productive that…
I think it could totally fly with a language with good declarative support. Why learn separate syntax (html, css) when all you need is some declarative semantics? Clojure has this sort of thing and any other homoiconic language gets it for free.
Re: Show HN: DubJS: A New Way to Build Web Apps
#9Hi HN, This is my side-project that I've been working on for a while. It would mean a great deal if you'd give me some feedback.
If it's possible to change the title, please prepend with Show HN. Some people (including me) like to vote just for the sake of it. There was a discussion here to vote up Show HNs to support those who ship (can't remember the link though).
Re: Show HN: DubJS: A New Way to Build Web Apps
#10"In many cases you might want part (or all) of your app to be served as static markup. Reasons can include rendering speed, supporting environments where JavaScript is missing (or disabled), or search engine optimization." ?!? Why would anyone, ever, serve APP as static pages to those having JS disabled. Web site, thousand times yes, but APP?