KVision framework has now its own new website at <...
# javascript
r
KVision framework has now its own new website at https://kvision.io It gives you all important information about the project and contains links to all necessary resources. The site is created with ... KVision, which makes KVision the first Kotlin/JS framework capable of building its own website πŸ˜‰
πŸ‘ 4
🧌 1
K 4
πŸŽ‰ 5
j
Wow this is so k00000l, I love it. Can't wait to take it for a spin.
Is there anything like Angular/React Admin (component library) as yet?
e
I wonder why the tagline "object oriented web framework", since kotlin is an oo lang, seems redundant
j
JavaScript and especially TypeScript are too, and yet the current trend in react seems to be to forego a lot of OO concepts.
Look at react hooks, for example.
I mean . . the former between those two is a total mess, but anyway πŸ˜›
Perhaps it makes sense to drill the point home.
r
"object oriented" because it gives you real hierarchy of components, which you can extend by inheritance (and yes, I know composition over inheritance principle πŸ˜‰)
πŸ‘ 1
KVision allows both imperative and reactive programming models. Imperative, when you use stateful components to build UI, you can keep references to the UI elements of your choice and can change their state directly anyway you want. And reactive, when you use functional DSL builders to declare how UI is generated and bound to the application state.
You can even easily mix those models, e.g. use global reactive paradigm but also process small, and often not so important state changes (e.g. form validation messages) with direct imperative code, without polluting your global model.
In my humble opinion, UI components hierarchy is really the place where inheritance is still the right way to go. And that's why KVision is here and is object oriented in the most classical way πŸ™‚
πŸ†’ 1
j
Reminds me of a Bruce Lee quote:
The three stages of learning: 1. A punch is just a punch 2. A punch is no longer a punch 3. A punch is just a punch
^-- Inheritance is just a punch.
πŸ‘ 1