Git Product home page Git Product logo

Comments (6)

sekur avatar sekur commented on June 22, 2024

Yes absolutely - but likely not in open-source... except for maybe one such data provider as a way to demonstrate how such custom data provider can be created/used inside a yang-js enabled application.

We see this problem domain as an implementation-specific (platform) requirement and outside the scope of our community-supported open source library and tools.

Also, the hooks for this will be provided at the runtime/engine layer, such as yang-express, instead of being a facility at the yang-js layer.

The general philosophy/approach is to keep things highly modular with minimal dependencies so that during the application composition time, the necessary dependencies can be discovered and utilized on-demand as needed, based on availability.

from yang-js.

ramukima avatar ramukima commented on June 22, 2024

@saintkepha Certainly makes sense to have such customization at the yang-express layer. It also makes sense to provide examples to plug in different data providers (just a howto will work with a sample).

from yang-js.

sekur avatar sekur commented on June 22, 2024

@ramukima - we're currently discussing such data provider integration for the yang-cord project - discussing different integration strategy for hooking into Postgres/Django/Synchronizer subsystem. Hopefully we'll have such an example available in the coming days.

from yang-js.

ramukima avatar ramukima commented on June 22, 2024

@saintkepha Sure. Since we are talking about YANG model driven application, it makes sense to pick a datastore that is most suitable for such a data structure. Have a look at sysrepo (https://github.com/sysrepo/sysrepo) which is a YANG model based configuration datastore. Though the API they have is completely C, but looking at the Google Protocol Buffer spec they have (though proto2), implementing a Javascript client API using protobuff.js (or creating a swig and generating code) should not be very very difficult.

from yang-js.

sekur avatar sekur commented on June 22, 2024

@ramukima - that is a fantastic reference! Yes, proto2 support is on the
roadmap and it should integrate nicely. I'm also intimately familiar with C
(since most of my earlier work has been dealing with network protocol
analysis) and we also have a C data transformation library that we will be
integrating (also in our roadmap). We can discuss further on our upcoming
call. :-)
On Tue, Aug 16, 2016 at 10:31 AM ramukima [email protected] wrote:

@saintkepha https://github.com/saintkepha Sure. Since we are talking
about YANG model driven application, it makes sense to pick a datastore
that is most suitable for such a data structure. Have a look at sysrepo (
https://github.com/sysrepo/sysrepo) which is a YANG model based
configuration datastorage. Though the API they have is completely C, but
looking at the Google Protocol Buffer spec they have (though proto2),
implementing a Javascript client API using protobuff.js should not be very
very difficult.


You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub
#24 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA6KbOvIbSmVQPOHoLtEzlJZ5z7OM6Klks5qgfP3gaJpZM4Jj0D5
.

Peter Lee
Corenova Technologies
+1 310 400 6450
[email protected]

from yang-js.

sekur avatar sekur commented on June 22, 2024

Will work on data persistence layer adapters by extending the new Store construct provided by #32 in the upcoming 0.16 milestone.

from yang-js.

Related Issues (20)

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.