GithubHelp home page GithubHelp logo

meteor-execution-cache's Introduction

Meteor-Plugin: fschaeffler:execution-cache

Purpose

This plugin helps with caching per one single execution, where different threads should not have access to the same content. Imagine an export-functionality within an application. You first want to retrieve all data in one bulk and then do the actual data transformation. If your data in your database is normalized, you have references within your data. In order to retrieve such references only once, this cache can get used.

Data-Example:

Table: Users

ID First Name Last Name
1 Charlie Root
2 Foo Bar

Table: Content

ID Content UserID
1 This is some content 2
2 Another content 1
3 Some more content 1

Export: User Content

ID Content User First Name User Last Name
1 This is some content Foo Bar
2 Another content Charlie Root
3 Some more content Charlie Root

For the export of User Content, we not only need the user's ID, but acutal values from the users-table.

Installation

In order to use this plugin with a Meteor-application, just install it as a package via meteor add fschaeffler:execution-cache.

Tests

  • code style: npm run prettier
  • JavaScript best practices: npm run eslint
  • unit tests: npm run tests

package.js vs package.json

This package is a Meteor-package, which means the file package.js is getting used as entry point. However, for development-purposes, also NPM-dependencies and scripts are needed. Therefore, also a package.json is available.

meteor-execution-cache's People

Contributors

dependabot[bot] avatar fschaeffler avatar

Watchers

 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.