Doric is a cross-platform development framework for Android & iOS & Web & Qt
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2021-11-09 17:01:45 +08:00
.github/workflows Update publish.yml 2021-01-28 14:34:20 +08:00
.vscode add .vscode setting 2020-10-23 16:04:34 +08:00
doric-android android: add web shell 2021-11-09 17:01:45 +08:00
doric-cli Refact dependencies of doric 2021-10-29 14:41:30 +08:00
doric-demo Refact dependencies of doric 2021-10-29 14:41:30 +08:00
doric-iOS iOS:when use YYImage,startAnimation donot work 2021-11-04 18:54:33 +08:00
doric-js android: add web shell 2021-11-09 17:01:45 +08:00
doric-Qt Qt: add hook after call from native 2021-09-16 13:28:16 +08:00
doric-web Refact dependencies of doric 2021-10-29 14:41:30 +08:00
.gitattributes treat zip as large files 2021-05-20 18:27:45 +08:00
.gitignore Remove nativeEmpty, check call change to native side 2021-09-16 13:01:47 +08:00
.gitmodules add submodule 2021-05-20 18:27:45 +08:00
bundle.sh Update bundle.sh 2021-02-26 19:02:47 +08:00
DoricCore.podspec iOS:Remove dependency of YYCache,add support for YYCache,TMCache,or PINCache 2021-02-01 17:48:45 +08:00
DoricDevkit.podspec add RATreeView as source 2021-07-21 19:32:31 +08:00
LICENSE add apache-2.0 licence 2019-10-21 09:59:22 +08:00
publish-android-legacy.sh apply script change 2020-03-25 16:16:35 +08:00
publish.sh feat:update doric-cli default version 2021-02-26 18:54:13 +08:00
README-zh_CN.md Update README-zh_CN.md 2021-09-07 16:53:31 +08:00
README.md Update README.md 2021-09-07 16:53:04 +08:00
setup.sh feat:update script 2021-03-02 18:30:28 +08:00

Doric

Doric is a high-performance framework for cross-platform development. With TSX or TypeScript, a set of code can perform consistently across different platforms.

Feature

Cross-platform consistency

Doric supports Android, iOS, Qt & Web, implements 'write once, run anywhere, perform consistently' across different platforms.

High-performance rendering

Doric adopts native components or widgets on rendering views, provides a set of APIs under native standard. Doric architecture has multiple inner mechanism for efficient communication between 'Native' & 'JS', such as dirty-value detection、local-update on views, thus Doric pages will rival native pages on performance when rendering.

Light-weight & Easy-extensible

Doric SDK follows fundamental principles, its core provides universal views, components and native modules, which can properly satisfy most scenarios. Moreover, Doric provides an integral mechanism for plugin development, you can register your libraries or plugins with Doric API to provide view components or other native abilities.

Easy to get started with sufficient toolchains

Doric includes a scaffolding tool doric-cli and a debug tool Devkit, offering multiple tools, such as hot-reload、breakpoint debugging、waterfall-like performance profile、tree nodes viewer and so on, aiming at assisting developers building user interfaces, analyzing and debugging efficiently.

Get started

Documentation: https://doric.pub

Example code

With the following different ways to experience code style in Doric

Declarative UI

Use TypeScript or TSX to write layout ui according to your preferences.

TypeScript TSX

Cross-platform consistency

Snapshots on Android & iOS applications written in Doric

Android iOS
!

Plugin library in common use

DoricFs

Ability provided with file system read-write on different platforms. (Android+iOS)

DoricWebSocket

Ability provided with web socket support. (Android+iOS)

DoricImagePicker

Ability provided with image picker and photograph. (Android+iOS)

DoricBarcodeScanner

Support for scanning bar code. (Android+iOS)

DoricSQLite

Provided with SQLite database manipulation. (Android+iOS)

License

Apache License 2.0