Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/doric-pub/doric
Doric is a cross-platform development framework for Android & iOS & Web & Qt
https://github.com/doric-pub/doric
android cross-platform ios mvvm qt typescript webcomponent
Last synced: about 1 month ago
JSON representation
Doric is a cross-platform development framework for Android & iOS & Web & Qt
- Host: GitHub
- URL: https://github.com/doric-pub/doric
- Owner: doric-pub
- License: apache-2.0
- Created: 2019-10-19T06:28:35.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-08T04:12:52.000Z (about 1 month ago)
- Last Synced: 2024-10-14T02:02:37.218Z (about 1 month ago)
- Topics: android, cross-platform, ios, mvvm, qt, typescript, webcomponent
- Language: JavaScript
- Homepage: https://doric.pub
- Size: 40.8 MB
- Stars: 213
- Watchers: 11
- Forks: 27
- Open Issues: 1
-
Metadata Files:
- Readme: README-en.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.## OSCS
[![OSCS Status](https://www.oscs1024.com/platform/badge/doric-pub/Doric.svg?size=large)](https://www.oscs1024.com/project/doric-pub/Doric?ref=badge_large)## 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](https://doric.pub)
* Open the web page directly: [Doric Playgroud](https://p.doric.pub/play/?e=167#example/HelloDoric.ts) and experience coding style rapidly
* With `doric-cli` command line interfaces, you can create Doric applications, reference here by [Installation & Usage](https://doric.pub/docs/index.html#%E5%AE%89%E8%A3%85Doric)
* Use Doric in your existing Android project, reference here by [Use Doric in Android](https://doric.pub/docs/android.html)
* Use Doric in your existing iOS project, reference here by [Use Doric in iOS](https://doric.pub/docs/ios.html)## 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](https://github.com/doric-pub/DoricFs)
Ability provided with file system read-write on different platforms. (Android+iOS)
### [DoricWebSocket](https://github.com/doric-pub/DoricWebSocket)
Ability provided with web socket support. (Android+iOS)
### [DoricImagePicker](https://github.com/doric-pub/DoricImagePicker)
Ability provided with image picker and photograph. (Android+iOS)
### [DoricBarcodeScanner](https://github.com/doric-pub/DoricBarcodeScanner)
Support for scanning bar code. (Android+iOS)
### [DoricSQLite](https://github.com/doric-pub/DoricSQLite)
Provided with SQLite database manipulation. (Android+iOS)## License
[Apache License 2.0](LICENSE)## Welcome to join the Doric community
| DingTalk | WeChat |
| ---- | ---- |
| | |