All Projects → lpreterite → datagent

lpreterite / datagent

Licence: MIT License
一个用于模块化管理前端请求的工具

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to datagent

mantle-udm
Mantle Universal Data Model
Stars: ✭ 38 (-7.32%)
Mutual labels:  data-model, datamodel
ducker-model
🚗 数据转换器,解耦前后端开发,提升开发效率 https://mp.weixin.qq.com/s/q6xybux0fhrUz5HE5TY0aA
Stars: ✭ 75 (+82.93%)
Mutual labels:  model, data-model
httpz
Inspect HTTP requests
Stars: ✭ 20 (-51.22%)
Mutual labels:  restful
think-model
Default model for ThinkJS 3.x
Stars: ✭ 16 (-60.98%)
Mutual labels:  model
dotobj
.obj/.mtl loader, written in native GML, for GameMaker Studio 2.3
Stars: ✭ 27 (-34.15%)
Mutual labels:  model
whc-json-to-class
javascript版本json自动转换生成对应语言模型类The whc-json-to-class is the javascript plug-in that automatically converts the json string to the corresponding language model class
Stars: ✭ 24 (-41.46%)
Mutual labels:  model
sdkgen
sdkgen is a tool to help design, implement and maintain good APIs with minimal effort
Stars: ✭ 61 (+48.78%)
Mutual labels:  restful
lurch
A simple Ruby JSON API client.
Stars: ✭ 15 (-63.41%)
Mutual labels:  restful
vania
A module which fairly distributes a list of arbitrary objects among a set of targets, considering weights.
Stars: ✭ 75 (+82.93%)
Mutual labels:  model
gd-obj
Obj file parser for Godot
Stars: ✭ 32 (-21.95%)
Mutual labels:  model
tuya-connector
tuya-connector helps you efficiently create cloud development projects regarding the OpenAPI or message subscription capabilities. You can put all the focus on business logic without taking care of server-side programming nor relational databases.
Stars: ✭ 28 (-31.71%)
Mutual labels:  restful
tyshemo
A javascript runtime data type checking system and morden reactive state management model.
Stars: ✭ 70 (+70.73%)
Mutual labels:  model
recycler-adapter
RecyclerView-driven declarative UIs
Stars: ✭ 124 (+202.44%)
Mutual labels:  model
laravel-boolean-dates
Automatically convert Eloquent model boolean attributes to dates (and back).
Stars: ✭ 31 (-24.39%)
Mutual labels:  model
dm
Working with relational data models in R
Stars: ✭ 358 (+773.17%)
Mutual labels:  data-model
typecho-plugin-Restful
Yet another awesome Typecho plugin to make your blog RESTful.
Stars: ✭ 41 (+0%)
Mutual labels:  restful
BBMOD
Advanced 3D in GameMaker
Stars: ✭ 31 (-24.39%)
Mutual labels:  model
vue-php-admin
RBAC通用角色权限管理系统, 前后端分离架构, 基于 vue-element-admin 和 PHP CodeIgniter RESTful 实现
Stars: ✭ 4 (-90.24%)
Mutual labels:  restful
graphql-example
Intuitive GraphQL Resolver Example - Application example using RawModel.js as GraphQL rootValue on steroids.
Stars: ✭ 25 (-39.02%)
Mutual labels:  model
Kvpbase
Scalable, simple RESTful object storage platform, written in C#
Stars: ✭ 43 (+4.88%)
Mutual labels:  restful

Datagent

npm version NPM downloads build status FOSSA Status

Datagent是一个用于模块化管理前端请求的工具,提供数据格式化、多服务源切换、语义化数据定义等功能。在 React,Vue,Angular 等现代 JavaScript 框架下,UI 显示均以数据驱动为中心,服务端提供的数据不是所有场合都能符合 UI 所需的结构。格式化数据、转义数据的代码往往不可避免的写在UI组件、业务逻辑代码或是页面等各个地方,导致冗余代码、逻辑复杂又难以维护等问题。面对这类情况可使用Datagent解决这类问题,不单单能统一调取后端服务和格式化从服务端获得的数据,定义一些处理后还能用于所有场景,让你更方便同步UI状态。

datagent-run

你可以马上尝试在codepen上的例子

安装

npm install -S datagent
//or
yarn add datagent

目前正式版本为1.x,下面是安装2.0版本尝尝鲜。

npm install -S datagent@next
// or
yarn add datagent@next

文档

License

Datagent是根据MIT协议的开源软件

FOSSA Status

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].