ufp-core
UFP Core - Build frontend applications at ease
Last updated 6 months ago by froso-ci .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ufp-core 
SYNC missed versions from official npm registry.

UFP Logo Anim UFP Logo Anim

Ufp Core Frontend

Alpha Version (use at own risk)

Ufp-Core-Frontend is a Webpack build manager and a redux-runtime.

The setup makes uses ReduxThunk and ReduxObservable.

Ufp-Runfest concept defines the runtime configuration in a easy to use manner, a Runfest.js is registered against the ufp-core and provides registering to the redux stor

build in modules:

ufp-startup providers handling of application initialisation

ufp-menu provides application menu handling

ufp-epic provides RxJs ReduxObservable Epic registration

ufp-intl provides managing of ReactIntl redux internationalisation handling, handling redux-intl provider

ufp-config key/value store for application settings (see example)

ufp-react react15.x react handling providing a global redux-provider

ufp-redux-form ReduxForm Runfest registering Reducer and provides ReduxForms - as is

DOCS

CHANGELOG

Quick Start

Project Setup

  1. Set up empty npm project

     > npm init
    
  2. Install ufp-core using npm

     > npm install ufp-core --save
    

Execute ufp specific package.json project update for putting everything in place (see above)

    > node node_modules/ufp-core/ext/Install
  1. Development folder setup

     src/main.js
     src/index.html
     ...
    
  2. Run development server using ufp- prepared npm script

     > npm run ufp-start
    
  3. Run production build into /dist folder using ufp- prepared npm script

     > npm run ufp-compile
    

UFP Cli

when installed using -g ufp-core provides the following cli commands:

$ ufp --help
ufp-core.js

default ufp command

Commands:
  ufp-core.js           default ufp command                            [default]
  ufp-core.js i         initialise ufp-application               [aliases: init]
  ufp-core.js s [dist]  start ufp application dev server        [aliases: start]
  ufp-core.js b         build ufp application                   [aliases: build]
  ufp-core.js st        some informations about ufp-application[aliases: status]
  ufp-core.js ct        create predefined test cases e.g. existance
														  [aliases: createTests]
  ufp-core.js t         execute the unit tests                   [aliases: test]
  ufp-core.js sp        show npm package description of used packages
														 [aliases: showpackages]

Options:
  --version  Show version number                                       [boolean]
  --help     Show help                                                 [boolean]

Empty Application:

        // main.js
        // import main ufp-core 
        import UfpCore from 'ufp-core'
        
        // startup which creates redux stores and bound Manifests
        UfpCore.startupUfpCore()

Config Reducer enabled

the following example uses the config reducer to store default values upon registration, sets them inside the redux store using a redux action and prints out its current value using the ufpAutoConfigured selector to retrieve a value from it

    // main.js
    import UfpCore from 'ufp-core'
    import {ConfigRunfest, registerConfigDefault} from 'ufp-core/lib/modules/config'

    registerConfigDefault({foo: 'bar'})
    registerConfigDefault({bar: 'foo'})

    UfpCore.registerManifest(ConfigRunfest)

    UfpCore.startupUfpCore()
    
    ConfigRunfest.setConfigValue({
      key: 'bar',
      value: 'willi'
    })
    
    ConfigRunfest.setConfigValue({
      key: 'hoschi',
      value: 'willi'
    })
    
    console.log('DEMO Retrieve Config', ConfigRunfest.getConfigValue({key: 'bar'}))

Hints

  • for binary execution of installed npm modules enter ./node_modules/.bin into your $PATH env config

Philosophy

@startuml

  • comp4props
  • group
  • propTypes @enduml

Current Tags

  • 0.8.0-rc17                                ...           beta (3 months ago)
  • 0.7.0                                ...           latest (6 months ago)

58 Versions

  • 0.8.0-rc17                                ...           3 months ago
  • 0.8.0-rc16                                ...           3 months ago
  • 0.8.0-rc15                                ...           3 months ago
  • 0.8.0-rc-14                                ...           3 months ago
  • 0.8.0-rc12                                ...           3 months ago
  • 0.8.0-rc11                                ...           3 months ago
  • 0.8.0-rc10-fromdevelop                                ...           3 months ago
  • 0.8.0-rc8                                ...           3 months ago
  • 0.8.0-rc7                                ...           3 months ago
  • 0.8.0-rc4                                ...           3 months ago
  • 0.8.0-rc3                                ...           3 months ago
  • 0.8.0-rc2                                ...           3 months ago
  • 0.8.0-rc1                                ...           3 months ago
  • 0.7.0                                ...           6 months ago
  • 0.7.0-rc7                                ...           a year ago
  • 0.7.0-rc2                                ...           a year ago
  • 0.7.0-rc1                                ...           a year ago
  • 0.6.7                                ...           a year ago
  • 0.6.6                                ...           a year ago
  • 0.6.5                                ...           a year ago
  • 0.6.2                                ...           a year ago
  • 0.6.2-rc5                                ...           a year ago
  • 0.6.2-rc2                                ...           a year ago
  • 0.6.1-rc2                                ...           a year ago
  • 0.5.1                                ...           a year ago
  • 0.5.1-rc5                                ...           a year ago
  • 0.5.1-rc3                                ...           a year ago
  • 0.5.1-rc1                                ...           a year ago
  • 0.5.0                                ...           a year ago
  • 0.5.0-rc11                                ...           a year ago
  • 0.5.0-rc10                                ...           a year ago
  • 0.5.0-rc8                                ...           a year ago
  • 0.5.0-rc7                                ...           a year ago
  • 0.5.0-rc5                                ...           2 years ago
  • 0.5.0-rc4                                ...           2 years ago
  • 0.5.0-rc3                                ...           2 years ago
  • 0.5.0-rc2                                ...           2 years ago
  • 0.4.7                                ...           2 years ago
  • 0.4.6                                ...           2 years ago
  • 0.4.6-rc3                                ...           2 years ago
  • 0.4.6-rc2                                ...           2 years ago
  • 0.4.6-rc1                                ...           2 years ago
  • 0.4.5                                ...           2 years ago
  • 0.4.4                                ...           2 years ago
  • 0.4.3                                ...           2 years ago
  • 0.4.2                                ...           2 years ago
  • 0.4.1                                ...           2 years ago
  • 0.4.0                                ...           2 years ago
  • 0.3.5                                ...           2 years ago
  • 0.3.4                                ...           2 years ago
  • 0.3.3                                ...           2 years ago
  • 0.3.2                                ...           2 years ago
  • 0.3.1                                ...           2 years ago
  • 0.3.0                                ...           2 years ago
  • 0.2.3                                ...           2 years ago
  • 0.2.2                                ...           2 years ago
  • 0.2.1                                ...           2 years ago
  • 0.2.0                                ...           2 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 60
Last Day 0
Last Week 58
Last Month 58
Dependencies (133)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |