Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-cmf

Package Overview
Dependencies
Maintainers
1
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-cmf

A framework built on top of best react libraries

  • 0.3.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
147
increased by258.54%
Maintainers
1
Weekly downloads
 
Created
Source

Content Management Framework (aka CMF)

This is a library to help you to build configurable React App.

It provides a set of base components and patterns.

NPM

Travis CI Quality dependencies devdependencies semantic-release

Definition

CMF definition from wikipedia:

A content management framework (CMF) is a system that facilitates the use of reusable components or customized software for managing Web content. It shares aspects of a Web application framework and a content management system

It feets with our goal, this is why this addon has been named that way.

Paradigm

A user interact with a view using mouse and/or keyboard which send events from a content and that interaction dispatch an action. That action may change the current view or the content displayed.

Definitions

We have the following objects to build a user interface:

  • views
  • actions
  • content types

Let's talk about each of them.

Views

Views are special React component. They are high level component which has the following responsability: They must dispatch props to configurable components.

They are called by UI abstraction library from the router and connected to the store throw the settings.

So a view is can be a pure component.

Then view will be composed of react components that can get their props.

Actions

Actions are redux actions.

Content Types

A content type define metadata over content. For example when you display a list of article you said each item in this list are an article which is a content type.

We are adding metadata over content type:

  • title
  • icon id
  • actions (by category)

Internals: The registry

You will find the the registry as the central piece of ui abstraction. It's just a key/object registry and it's used with prefix to store the following:

  • action creators (function)
  • views (React Component)

Keywords

FAQs

Package last updated on 06 Sep 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc