在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):MarcinMoskala/KtAcademyPortal开源软件地址(OpenSource Url):https://github.com/MarcinMoskala/KtAcademyPortal开源编程语言(OpenSource Language):CSS 53.3%开源软件介绍(OpenSource Introduction):KotAcademy applicationThis is an example how multiplatform development can be used to effectively extract and reuse logic.
It contains multiple clients that implement the same logic and single backend.
The only common part for all this project is Data Model, so it is placed in Application is composing Kotlin Kotlin Academy and presenting them together. It also allows giving the feedback this article or to Kotlin Academy. Here is the status of planned clients:
We will really appreciate help in any of this areas. BackendTo run desktop application, just excecute in the root folder of the project:
AndroidAndroid client is used to display list of article. It uses common-client logic to display loading, refreshing and obtaining list of elements. Here are some screens: If you open project in Android Studio, it will find both Android mobile and Android watch projects. This way you can easily run the projects. Backend URL depend on build type. Application run in debug mode will use If you don't have Android SDK and you don't want to work on Android module then you can change WebWeb client with the same logic like Android app. It is implemented in React. Demo is here on Heroku. To run web, you should use following command:
DesktopDesktop TornadoFX client. Designed by Edvin Syse, creator of TornadoFX. Still during designing process. To run desktop application, just excecute in the root folder of the project:
Warning: It is not working with OpenJDK because it doesn't include JavaFX by default. You need to use Oracle JDK. TestsBusiness logic, especially while it is shared among all the platforms, is unit-tested. Tests can be found on common-client module. Run them using following commands:
HerokuTo push on Heroku, you need to specify following GRADLE_TASK:
ContributionA lot needs to be done in this project. The mission is to to build solid massive-multiplatform project. See board to check out how you can help us. If you want to chellange yourself and face one of this tasks then join project, assing it to yourself, move to "In progress" and start doing. Don't bother to ask if you are not sude about something. We are here to learn and help learn. Images sharingAll images are located in
To clean all the previous images (needed when you are deleting some images) use following task:
CreditsSpecial credits to below repositiries which inspired some solutions: https://github.com/Albert-Gao/kotlin-native-mobile-multiplatform-example/tree/master/platforms/ios https://bitbucket.org/ivan_vazhnov/mobius_multiplatform/src/9ec77bf4d274?at=master LicenseCopyright 2017 Marcin Moskała Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论