owljs
TypeScript icon, indicating that this package has built-in type declarations

0.9.1 • Public • Published

owl.js

Backbone-like frontend library

Build Status Coverage Status Stories in Ready

Ask a question in gitter.

Install

Bower

bower install owl.js

npm

npm install owl.js

Features

Languages: ES5, ES6, TypeScript.

Modules: CommonJS, amd.

Libraries: React.

Examples

To start examples server

cd examples
npm start

Concept

owl.js is simple library similar to backbone.js, without dependency on underscore.js and jQuery. If you know backbone.js you mostly know owl.js.

The library uses MVC as main pattern. owl.Model is responsible for representing data from server based on REST architecture.

owl.View is responsible for rendering view it can use any template engine to do it or generate DOM manually. You can use React or any other UI library insted of owl.View.

owl.Controller is responsible for business logic.

Also there is few classes out of the main pattern.

owl.Router is created to manage pages based on URL. It contains records named routes. Each route contains path and a controller that will be called for specified path.

owl.Collection is an array of owl.Models it is created to represent model sets.

Development

Run unit tests

karma start

or

npm test

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.9.12latest

Version History

VersionDownloads (Last 7 Days)Published
0.9.12
0.9.00
0.8.340
0.8.330
0.8.320
0.8.310
0.8.300
0.8.290
0.8.280
0.8.270
0.8.260
0.8.250
0.8.240
0.8.230
0.8.220
0.8.210
0.8.200
0.8.190
0.8.180
0.8.170
0.8.160
0.8.150
0.8.140
0.8.130
0.8.120
0.8.110
0.8.100
0.8.90
0.8.80
0.8.70
0.8.60
0.8.50
0.8.40
0.8.30
0.8.21
0.8.10
0.8.00
0.7.50
0.7.40
0.7.30
0.7.20
0.7.10
0.7.00
0.6.10
0.6.00
0.5.30
0.5.20
0.5.10
0.5.00
0.4.10

Package Sidebar

Install

npm i owljs

Weekly Downloads

3

Version

0.9.1

License

MIT

Unpacked Size

130 kB

Total Files

27

Last publish

Collaborators

  • omegascorp