Giter Site home page Giter Site logo

record's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

record's Issues

consider making record even more generic?

hey @tkellen, I'd like to propose that we "pivot" record so that it is a non-file-oriented, completely generic standard library (meaning more generic than it already is) that can be used as a basis for creating more specific record formats (like you've done with the *-io libs).

Why?

Especially in light of vinyl's success as a virtual file format, going this extra step (to be more generic) will re-focus record on being a general-usage virtual record format, step out of vinyl's way, and offer node.js users a starting point for virtual records that have zero association with the file system.

What good is a virtual record without any "file" at all?

Validation, normalization, standardization. Virtual records are tactfully decorated with sensible convenience methods that allow developers to focus more on innovation and writing solid code, and less on "how to structure the object".

What would I change?

just thinking out loud, here are a couple of things that come to mind:

  1. The record specification includes path, perhaps we can change path to something non-file related, like key or id
  2. It would be nice to give implementors ways to customize the class and/or methods. Like customizing the inspect method

If you're open to any of this, I'd be happy to take a stab at updating the lib.

thoughts?

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.