Giter VIP home page Giter VIP logo

auto-render's Introduction

移动端APP开发策略 🚩

适用所有终端,包括小程序,android, ios

策略与规范 说明
自定义标准接口 自定义api接口,脱离api依赖独立测试与开发, 有较减少前后前沟通成本
组件产品化 基于自定义标准接口,移动端组件功能以产品化形式进行复用,由后端响应前端定义的组件标准
组件属性标准化 组件常用属性进行标准化定义,不依赖具体业务变更
支持动态表单 表单动态渲染DSL定义, 复用已实现的动态表单代码
列表项复合组件模板 需要维护列表项复合组件,目录结构为 templates/listItem, 尽可能复用组件
保留测试数据 开发中用于测试的自定义接口数据需要作为代码提交到 git 仓库, 目录路径 assets/mockData.json

规范定义

规范 说明
动态表单开发规范 JSON 表单参数对照表
动态列表开发规范 JSON 列表参数对照表
动态路由开发规范 JSON 列表参数对照表
动态页面开发规范 JSON 页面参数对照表
组件字段命名规范 标准字段定义

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.