Git Product home page Git Product logo

simplicity's Introduction

This is a UI Framework like AngularJS, ReactJS or Vue. It is kept simple and easy to use. It has no virtual Dom or Compiler, everything is done almost natively. The burden of build management is not needed because ES6 Modules are used together with Web Components. It has great performance and readability.

index.html

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Simplicity</title>
    <link rel="stylesheet" href="styles.css">
    <script type="module" src="documentation/app.js"></script>
</head>
<body>
    <app-documentation></app-documentation>
</body>
</html>

app.html

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>App</title>
</head>
<body>
    <template>
        <div>{{text}}</div>
    </template>
</body>
</html>

app.js

import {customComponents} from "../library/simplicity/simplicity.js";
import {loader} from "../library/simplicity/processors/loader-processor.js";

class DocumentationApp extends HTMLElement {

    text = "Hello World!"

    static get template() {
        return loader("documentation/app.html");
    }
}

export default customComponents.define("app-documentation", DocumentationApp);

simplicity's People

Contributors

anjunar avatar

Watchers

 avatar

simplicity's Issues

Empty Page

Ich habe ein Problem mit den mat-extendable component was die gesammte Java Script Anwendung zum Abstürtzen bringt. Ich habe eine GitHub Page (prolltrash0mb.herbrich.org) erstellt. Der Code der in deiner Entwicklungsumgebung lief, läuft nicht auf GitHub Pages.

Slot Default Template

Render an given default element between the slot open and close tag if no elements are given.

debug mode

implement a debug mode. as example implement an uncalled function like debug that developer can execute fom the web devolpers console. This function place an cookie.

if debug cookie is places, the framework givs an error page with stacktrace and exakt error details.

IMPORTANT: It needs to mouch of brain power for people like Mark Brede and Christoper Strunk

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.