Coder Social home page Coder Social logo

remotedatacli's People

Contributors

yangchuanosaurus avatar

remotedatacli's Issues

Instance of json to mapping

A.json

{
	"results": {
		"a": 1, 
		"b": "b", 
		"c": "c"
	}, 
	"success": true
}

B.model
root: {results: results, success: boolean}
results: {a: Integer, b: string, c: string}

Question
How to transfer A.json to B.model

create Model from "a json" {
	naming: {
		Array => {Parent}Array, 
		InArray => {Parent}Item, 
		Hash => {Parent}
	}
}

Template center

Need a template center, which could be consume and publish.

Difference with library, it should be used compose abstraction and business/data logic.

Traditional, when we use a library, which always provide a abstraction functions, but in consumer side, it should provide business data base on the library usage. The progress is not interesting and duplicated.

So, we like to develop a abstract library, and group sample business data with the library usage into a template, and publish to the template center. Then consumer only need to configure the actual business data in consumer side.

  1. Consider how to bind the sample data with library in a template.
  2. Consider how to expose the sample data to consumer.
  3. Consider how to configure the actual business data in consumer side.

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.