Skip to content

Vorrichtung is a lightweight framework for decorating server-side generated HTML.

License

Notifications You must be signed in to change notification settings

LukasRychtecky/vorrichtung

 
 

Repository files navigation

Vorrichtung

Vorrichtung is a lightweight framework for decorating server-side generated HTML. It's based on Re-frame and Reagent.

Build Status Dependencies Status

Why should you care?

Because:

  1. You have a server-side generated HTML and I want to decorated it. And
  2. You think that write front-end with Re-frame is a great idea.

Description

Vorrichtung helps you decorating server-side generated HTML. Typically you have an administration generated with rich MVC framework (like Django or Ruby on Rails) and it's needed to enrich the UI. The administration is full of auto-completes, modal windows, AJAX/client-side validations etc. With Vorrichtung you creates a component (Reagent component) and register it via a CSS selector. When Vorrichtung starts iterates over all registered components and try to find matching element. When the element is present it renders the component. That's all. Anything after that is a normal Re-frame flow.

Because Vorrichtung only delegates rendering to Reagent you can easily reuse your components from SPA. Sure, you can use Vorrichtung with yours old UI components written in Javascript (Google Closure Library etc.).

Installation

Development

  • Call lein dev to start demo app.

Other commands

  • lein ancient - shows outdated dependencies and plugins

Testing

  • lein test

About

Vorrichtung is a lightweight framework for decorating server-side generated HTML.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Clojure 97.5%
  • HTML 2.5%