Doric is a high-performance framework for cross-platform development. With TSX or TypeScript, a set of code can perform consistently across different platforms.
Doric supports Android, iOS, Qt & Web, implements 'write once, run anywhere, perform consistently' across different platforms.
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.
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.
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.
Documentation: https://doric.pub
- Open the web page directly: Doric Playgroud and experience coding style rapidly
- With
doric-cli
command line interfaces, you can create Doric applications, reference here by Installation & Usage - Use Doric in your existing Android project, reference here by Use Doric in Android
- Use Doric in your existing iOS project, reference here by Use Doric in iOS
With the following different ways to experience code style in Doric
Use TypeScript or TSX to write layout ui according to your preferences.
TypeScript | TSX |
---|---|
![]() |
![]() |
Snapshots on Android & iOS applications written in Doric
Android | iOS |
---|---|
!![]() |
![]() |
Ability provided with file system read-write on different platforms. (Android+iOS)
Ability provided with web socket support. (Android+iOS)
Ability provided with image picker and photograph. (Android+iOS)
Support for scanning bar code. (Android+iOS)
Provided with SQLite database manipulation. (Android+iOS)