I've got some questions of general nature about KV...
# kvision
m
I've got some questions of general nature about KVision. I'm sorry if these have already been answered and please point me to the source is this is the case. I plan to use KVision for a SPA. 1. Is KVision used in enterprise environment somewhere? 2. What is planned in the future for KVision like features, support, development etc? 3. Is anyone offering consultant services like development for KVision? 4. I would like to make a "Gitlab style layout" with a menu on the left side that can be collapsed on small screens. Is this possible in KVision? 5. Are "applications" created in KVision responsive in terms of UI? 6. Is it possible to do deep linking in KVision (example: having a link in an e-mail open a specific page in the app)? 7. What is browsers is KVision compatible with? 8. What is KVision performance compared to a SPA written directly in JS? I guess this can be hard to say but is there any overhead from writing the code in 9. Kotlin and then have it converted to JS? 10. Are there any collapsible/accordion menus available in KVision?
r
1. I don't have any direct knowledge if it's already used in any enterprise environment. But I've created this framework to be able to create such apps. I can tell I've created a small commercial application in KVision, which is used in production (but it's internal). At the moment I'm working on a much bigger commercial project with KVision. If it succeeds, it should be available in public early next year (I will certainly boast about it 😉
2. Here you can find a TODO list I've written a few months ago. Some of these things are already done. https://github.com/rjaros/kvision/issues/36. In the future I have plans to integrate with #kotless and Vert.x. I need also to prepare an example, full-stack app with mobile client in Cordova. I would also like to have an alternative to bootstrap (perhaps something like material). I've refactored components and modules in KVision 2 to be able to to this (core module doesn't depend on bootstrap anymore). But these are rather distant plans.
3. No one has ever asked for commercial support so far. I'm still doing most of the work for free in my spare time. But of course I could do more work if anyone would like to pay me for this 🙂
4 & 5. Yes. KVision layout is based on bootstrap. You can use bootstrap's responsive classes and responsive grid to create any layout you like. 6. Yes. KVision has support for JS routing, so you can do this. You can even treat URL's as you main "command center". The app I'm building now is fully controlled by JS routes (the specific links dispatch specific redux actions).
✅ 1
7. I assume it's compatible with modern browsers - latest Chrome, Firefox, Opera, Edge and Safari.
8. From my own tests it's not as fast as React, when it comes to UI rendering. In my opinion the main issue is the speed of Kotlin/JS code itself. Take a look at the discussion here: https://youtrack.jetbrains.com/issue/KT-24784
10. No. But it would be very easy to create such component.
m
(sorry I forgot to hit send) Thank you very much for your reply and your work with KVision! I'll look into the links. All sounds very promising! Looking fwd to hear when the big app goes public. Hopefully there will be some progress on slow type checking. Looks like the case haven't been updated in a while but there be be worked done else where.