Skip to content

vladimirkosmala/FrontEndKit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Front-End Kit

Web applications made maintainable. Served hot with a CSS Bootstrap and a React-like template engine.

Compared to other frameworks:

  • small API to learn
  • small code base to audit
  • future proof as much as possible

This comes from the main usage of this framework at CERN to build applications that must be running for 10 years with little or no maintenance. So the tools can't change like the rest of the web industry. No JSX, no webpack or any preprocessor but only the minimal packages completed by the large toolbox which is the web standards.

Example

import {Observable, h, mount} from 'FrontEndKit/js/index.js'

// The model
class Model extends Observable {
  constructor() {
    super();
    this.count = 0;
  }

  increment() {
    this.count++;
    this.notify();
  }
}

// The view
function view(model) {
  return h('.fill-parent.flex-column.items-center.justify-center', [
    h('h1', 'Hello World'),
    h('p', `counter value: ${model.count}`),
    h('div', [
      h('button.btn', {onclick: e => model.increment()}, '++'),
    ])
  ]);
}

// The controller
mount(document.body, view, new Model());

Reference

The reference is split in half: CSS and JS.

Tutorials

Create mini applications with explanations.

Guides

Compatibility

  • Chrome 62 (end 2017)
  • Firefox 54 (end 2017 - must activate modules)
  • EDGE 16 (end 2017)
  • Safari 10.1 (2017)
  • iOS Safari (2017)
  • Chrome Android 62

About

CSS and JS framework for desktop usage

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published