Git Product home page Git Product logo

uiengine's Introduction

UI Engine

Start the Example

cd examples/adc
npm install
npm start

Devloper Manual

Directories

| doc
Architecture UML and docs
| examples
| lib
distination folder
| src
UIEngine framework source code
| typings
UIEngine type define
| test
all UIEngine test code

Schema

To separate the data & UI design, the architecture used 2 kinds of schema, UI Schema and Data Schema

UI Schema

UI Schema we can treat it as an JSX, all HTML tags & 3rd part libraries are compatiable, the schema keeps some preserved keys, like component, children, props, also we allow users define them by requirements.

Preserved Keys

  1. component
  • Buildin HTML tags No need install anything
{
  "component": "div"
}
  • 3rd Components

Notice:

a. Make sure you need add them into package.json at "dependencies" section

b. Need registered at a certain place, see examples/adc/src/components

import * as antd from "antd";
import { BrowserRouter, Route } from "react-router-dom";

export default {
a10,
demo,
antd,
rr: {
 BrowserRouter,
 Route
}
};

c. At the bootstrap script, register the components, see examples/adc/src/App.tsx

   UIEngineRegister.registerComponents(components);

Usage: add library

  {
    "component": "antd:Button"
  }

Data Schema

Definiation

TODO:

extension for core nodes

TO FIX

setState always slow one step

working mode can control on each separate node [Fixed]

uiengine's People

Contributors

golden-mountain avatar xjian-a10 avatar mountain1984 avatar lhuo-a10 avatar

Stargazers

Fabio Franzini avatar

Watchers

James Cloos avatar  avatar  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.