Coder Social home page Coder Social logo

liushengxu / doric Goto Github PK

View Code? Open in Web Editor NEW

This project forked from doric-pub/doric

0.0 0.0 0.0 41.76 MB

Doric is a cross-platform development framework for Android & iOS & Web & Qt

Home Page: https://doric.pub

License: Apache License 2.0

Shell 0.06% JavaScript 26.77% Ruby 0.09% C++ 13.20% Python 0.08% C 0.06% Objective-C 17.46% Java 21.63% TypeScript 18.97% Objective-C++ 0.11% Swift 0.03% HTML 0.19% QML 1.18% QMake 0.16%

doric's Introduction

Doric

Doric是一套高性能的跨平台开发框架,使用TSX/TypeScript开发,一套代码可在不同平台展示出同样的页面.

OSCS

OSCS Status

Murphysec

Security Status

特色

跨平台统一

Doric目前已支持Android、iOS、Qt、Web,可通过一套代码在各平台展示一致的前端页面.

高性能渲染

Doric渲染视图时使用原生组件,在API上遵循原生接口,在架构上采用脏值检测、局部更新等多种机制实现JS与原生间的高效通信,Doric页面的渲染及运行性能可真正达到与原生媲美.

轻量化,易扩展

Doric中遵循轻量化的原则,SDK提供核心能力及通用的视图组件和平台的原生能力模块,可以满足常用的需求. 同时,Doric中也提供了完备的插件机制,您可以通过注册插件来向Doric中提供视图组件或原生能力.

易上手,丰富的工具链

Doric提供脚手架工具doric-cli及开发调试工具Devkit,提供热重载、断点调试、性能瀑布图、节点查看器等多种工具,帮助开发者更方便快捷地开发页面,并进行分析调试.

快速使用

项目文档: https://doric.pub

示例代码

您可以通过下方代码体验Doric中的编写风格

声明式UI

您可以根据喜好,使用TypeScript或TSX语法书写布局.

TypeScript TSX

跨平台统一

下图为代码在Android及iOS应用上的运行截图

Android iOS
!

常用插件库

提供平台中读写文件系统的能力(Android+iOS)

提供WebSocket能力支持(Android+iOS)

提供图片选择及拍照功能(Android+iOS)

提供扫码支持(Android+iOS)

提供SQLite数据库支持(Android+iOS)

License

Apache License 2.0

欢迎扫码加入Doric社区讨论交流

QQ 钉钉 微信

doric's People

Contributors

penfeizhou avatar jingpeng avatar xcoder1011 avatar awxy avatar insofan avatar jiangteng avatar arkoosayao avatar shawn-wangdapeng avatar shukaka avatar f-hang avatar xuegao-tzx avatar csgsky avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.