Coder Social home page Coder Social logo

configurationmanager's People

Contributors

francois-normandin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

configurationmanager's Issues

"All Found" and "Any Found" is always true

The Read and Read (Variant) methods always return Found All = true, which is wrong.
The inner method for KVP incorrectly assumes that the list of inputs have all been found even when populated with default values.

CfgManager.Text Process

  • Process will terminate if caller goes idle.
  • Process will be message-based to ensure atomic operations are not prone to race conditions.
  • Process will manage Write-to-disk operations based on configured "write delay"

Add Public Events to CfgManager.Text

Public Events for:

  • error (return error cluster)
  • values modified (return list of modified keys)
  • modifications made persistent (return list of keys persistent)
  • process stopped (return boolean)

Read and Write from Variant

Extend the public API to write from Variant which automatically generate Key Value Pairs, or read from Variant which automatically format Key Value Pairs into the input datatype

Create UI Utility Class to visualize the CfgManager data.

  • Simplest implementation is to display the list of Key Value Pairs.
  • More intelligent implementation is to investigate the file or database on-demand when a "section" is requested for display (do not make calls without user needing to see the actual data.)

CfgManager.Text to support Read-Only option

  • If RO = true, disallow modification of values.
  • During object creation, validate the file permissions.
  • If file is Read-Only and Write Access is requested, should throw warning and set the object to Read-Only.
  • If Read permission is denied, throw an error.

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.