JoernT / Fore

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Moved to https://github.com/Jinntec/Fore effective after 12.03.2021

Fore

'situated in front of something else' - Merriam Webster

An xformish forms framework in Web Components

Fore is a model-driven forms framework that follows the ideas of the XForms Standard.

Warning

This project is still in its early stages.

Development and Contributions

Contributions are always welcome. Default branch of development is 'dev'. PRs feature additions or bugfixes will always go into 'dev'.

The master branch is only used for releases.

Dependencies

  • see package.json

must be build with npm run build - outputs fontoxpath in 'output' dir.

ATTENTION: due to my humble knowledge with rollup you still have to change the last line of fontoxpath.js to export default fontoxpath; to make it work.

To check if installation was correct run npm run test. Tests should run green.

Preparing assets

To allow browser-compatible module loading there is a npm script called 'empathy'. This must be called whenever new node modules are introduced into the project.

npm run empathy

This will create a directory 'assets' with all dependencies converted to use local pathes instead of node_module pathes.

This approach will eventually change.

Running

npm run start

starts the testserver with 'doc/index.html' as entry page. Under 'examples' on the left you find

Ideas

make model editable in dev mode

introduce a mode which allows to edit the model itself within the page.

  • serialization?
  • the model as an instance?

About

License:MIT License


Languages

Language:JavaScript 86.2%Language:HTML 7.4%Language:TypeScript 5.1%Language:CSS 1.2%Language:Roff 0.1%Language:Makefile 0.0%