286 points · by uptown · 9y ago · 90 comments
https://github.com/Kotlin/kotlin-fullstack-sample
Combined with the fact that you can use Quasar for Erlang style processes, I think that I found my next web language.
I guess you could achieve this with Scala too but I could never get over the compilation times. Also the Kotlin integration seems somewhat more straightforward.
I also like that the company that makes my IDE also makes the ORM (https://github.com/JetBrains/Exposed) and web framework (https://github.com/Kotlin/ktor). Idk how good these are but I imagine pretty decent.
Also since their new licence scheme it seems releases quality can be hit or miss.
It's obvious that things that shouldn't do a lot of work, do in fact do work. Like if I press Ctrl+C on some selected text. I simply expect it to put the text into the clipboard. But sometimes it will stall, put a dialog on the screen telling me it's doing some formatting and I need to wait! What the hell is it formatting?
Every member of my team is sick of it and it's negatively affecting our productivity, so if Rider is good then bye bye Visual Studio.
For example here is a single page app written with kotlin: https://github.com/rnentjes/simple-password-manager
I haven't measured runtime performance, but I haven't noticed anything being slower than plain javascript yet. A clean compile in this example takes ~8 second, incremental compiles takes 3-4 seconds.
The jvm doesn't play a role when targeting javascript so I am not sure what you mean with JVM variables and I don't know much about GWT. But you can debug the resulting javascript from intellij and step through the kotlin sources if you want.
I don't know how easy it is to integrate with react.
I don't think I can go back from DataGrip, though. Too many nice things I've gotten used to (query tabs, multi-format result exports, etc).
I particularly like the Date Picker: http://www.jetbrains.org/ring-ui/date-picker.html
I'd like to hear someone explaining why it isn't awful to use with a mouse.
Sun Mon Tue Wed Thu Fri Sat
This is very important for say when you are
picking next Wednesdayhttp://www.jetbrains.org/ring-ui/examples/date-picker/date-p...
Yes, the released components do not cover a use case that they were not designed or intended to cover.
Yes, if your use case is exactly that, you will find these components less useful as you'll have to modify them.
Yet all of that is trite, and completely unfair criticism to wager against someone on the very first day of their components release.
The commenter is merely trying to push this into the cultural norm. I concur with such sentiments.
It's only linked in the comments; also - they're dogfooding issues in their own YouTrack thing. It looks like JetBrains does this for all their open source projects. Can anyone with some experience compare against GitHub's issues?
It's not perfect, but it hits more of the marks I'd want than anything else I've tried.
The problem with making a WYSIWYG designer for the web is that it's a Turing tarpit. There are three whole programming languages in there, interacting in weird ways, and programmers use all of them. So your UI designer has to either create something horrible that no human is expected to edit, which doesn't work for dynamic apps (see: Dreamweaver), or you have to constrain what the programmer can do. This means inventing a sensible API that's amenable to WYSIWYG.
We took the latter approach with Anvil - we've cut the Gordian knot of HTML/JS/CSS by implementing a (VB6-like) component model, with a pure Python API. While I am, of course, biased, I think that's probably the closest we can get to what you're wishing for.
If they used Javascript, you might be confused because they'd process your Javascript into other Javascript before it's used on the site, and you can edit it. That's a bit confusing isn't it?
Knowing to begin with that the input language is a whole separate thing, is less confusing.
(The reason for this is that our client and server are deeply integrated. This is what lets us, eg, return a live database view from server code into client code with a simple function call, with full autocomplete. But it does mean we can't do a one-click "export as a Flask app".)
It looks like the example data isn't correctly set up.
Here are a couple of sample pages based on CxJS widgets:
- https://worldoscope.cxjs.io/4v5b3k2
- https://starter.cxjs.io/dashboards/sales
Full disclosure: It's a commercial framework, I'm the author.
Also, I hadn't heard of their Upsource product before, it looks really nice.
Enterprise cares predominantly about hireability, and Javascript has been the only language for the web for decades. Everyone who even tangentially has a brush with web technologies knows it, and if your company has a frontend team you already have people at your company who know Javascript well.
I predict Javascript will continue to see growing use serverside, at least until the point ten years from now when WebAssembly is mature enough that people can develop for the frontend as well as the backend in any language.