Skip to content

Minimalistic JavaScript MV framework for building user interfaces.

License

Notifications You must be signed in to change notification settings

anagytherealone/rasti

 
 

Repository files navigation

Rasti

Rasti is a minimalistic JavaScript MV framework for building user interfaces.
It gives structure to applications by providing models that emit events on properties changes, and views with declarative event handling to define UI components.
Rasti is inspired in Backbone. You can consider it as an ES6 version of Backbone with no underscore or jQuery dependencies. It's ideal for building simple applications without the need of a module bundler, config or boilerplate.
The project is hosted on GitHub, and it's available for use under the MIT software license.
You can report bugs and discuss features on the GitHub issues page.

build status npm version npm downloads

Getting started

Using npm

$ npm install --save rasti
import { View } from 'rasti';

class TodoView extends View {
    
}

Using <script> tag

<script src="https://unpkg.com/rasti/dist/rasti.min.js"></script>
class TodoView extends Rasti.View {
    
}

The rasti npm package includes precompiled production and development UMD builds in the dist folder. They can be used directly without a bundler and are thus compatible with many popular JavaScript module loaders and environments.
For example, you can drop a UMD build as a <script> tag on the page, or tell Bower to install it. The UMD builds make Rasti available as a window.Rasti global variable.

Example

The rasti GitHub repository includes, in the example folder, a vanila js and a webpack versions of a Todo app that can be used as starter project.

API

Complete API documentation.

License

MIT

About

Minimalistic JavaScript MV framework for building user interfaces.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 76.6%
  • CSS 18.3%
  • HTML 4.9%
  • Shell 0.2%