Comments (5)
If you look at the git history, there actually was multi-platform support in here before the repo was publicly released. I suspect it was removed so that this can be a clean reference example without depending on experimental/unsupported features.
from kotlin-fullstack-sample.
Fair enough. I think it's good to capture this architectural limitation explicitly, until a better solution for sharing code between client and server is in place.
I was hoping I could use the techniques here to convert a Java+GWT project to Kotlin, but it's not practical to duplicate that much shared code. I'll have to see what happens with https://youtrack.jetbrains.com/issue/KT-6359
from kotlin-fullstack-sample.
This feature is crucial, at work we have around 350 model classes...
Once this is solved:
And any opinions on how to reuse JSR303 annotations on the client side?
I don't want to rewrite all the validation logic...
from kotlin-fullstack-sample.
@biberesser
I hadn't considered that aspect. I wonder if https://github.com/ManfredTremmel/gwt-bean-validators could be converted to Kotlin - although I suspect it may be a lot of work to make it independent of GWT, eg ManfredTremmel/gwt-bean-validators#3.
from kotlin-fullstack-sample.
This feature is crucial, at work we have around 350 model classes...
Agreed. The big point of Kotlin seems to be "stronger typing", and carrying types between FE and BE is crucial.
And any opinions on how to reuse JSR303 annotations on the client side?
I don't want to rewrite all the validation logic...
JSR303 annotations; is there not a way to deal with this in a more "in code" way than using annos.
I feels Kotlin might have a terse enough syntax to allow for a sweet API in this domain.
from kotlin-fullstack-sample.
Related Issues (20)
- Commit ab03c835d1fcb2e13b896f54797e9007ed3de838 broke frontend compilation (previous commit works fine) HOT 8
- How would we use 3rd party ReactJS components? HOT 2
- This repositiory needs documentation
- how to reference a div inside ReactDOMBuilder.render() HOT 1
- ReactExtensions.kt needs more work for componentDidUpdate
- custom header fields not coming thru via fetch when NO_CORS set HOT 1
- how to upgrade to EAP 1.1.4 HOT 1
- XSS vulnerability HOT 2
- kotlin 1.1.4 crap HOT 1
- Plz help non-Intellj experts open, run, and investigate this project
- How to use local styles? HOT 1
- ktor 0.9.0 HOT 2
- Outdated Kotlin Runtime
- Add example of sharing code between both frontend and backend HOT 1
- Build stuck at npm-install HOT 2
- Need update and a guide to run this project on idea HOT 1
- Cannot run sample HOT 12
- webpack-bundle runs infinitely long HOT 2
- Please remove or update this repository
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kotlin-fullstack-sample.