Git Product home page Git Product logo

owl.js's Introduction

owl.js

Backbone-like frontend library

Build Status Coverage Status

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 very simple library is very similar to of 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. But there is no special class for controller. You can create any object and use it as controller. Main goal of the controller to prepare data for the view, call the view and pass the data.

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 name of controller and action (action is just a method in the controller) that will be called for specified path.

Development

Run unit tests

karma start

or

npm test

owl.js's People

Contributors

omegascorp avatar hayksfl avatar

Watchers

The Gitter Badger avatar

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.