izi-js

WebJar for izi-js

License

License

MIT
Categories

Categories

JavaScript Languages
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

izi-js
Last Version

Last Version

1.7.3
Release Date

Release Date

Type

Type

jar
Description

Description

izi-js
WebJar for izi-js
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/gejgalis/izi-js

Download izi-js

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/izi-js/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>izi-js</artifactId>
    <version>1.7.3</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/izi-js/
implementation 'org.webjars.npm:izi-js:1.7.3'
// https://jarcasting.com/artifacts/org.webjars.npm/izi-js/
implementation ("org.webjars.npm:izi-js:1.7.3")
'org.webjars.npm:izi-js:jar:1.7.3'
<dependency org="org.webjars.npm" name="izi-js" rev="1.7.3">
  <artifact name="izi-js" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='izi-js', version='1.7.3')
)
libraryDependencies += "org.webjars.npm" % "izi-js" % "1.7.3"
[org.webjars.npm/izi-js "1.7.3"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Build Status

What is izi-js?

  • A JavaScript port of izi for Flex
  • izi (as in '//easy//') is an MVVM-framework (Model View - View Model).
  • izi promotes expressive and event driven programming.
  • izi allows easy code navigation and refactoring.

It has been created to eliminate need for any - so called - MVC framework in JavaScript applications. Instead izi provides classes that help you implementing some of the best practices, concepts and conventions.

What is inside?

In the heart of izi there is a dependency injection. Without it the source is cluttered with a boilerplate code. izi has a very simple but powerful bean container implementation that allows building container hierarchies.

The spirit of izi is comes from events architecture and composition. The observer pattern is a base of all the behaviors you should have in your application. Instead of extending components and adding behavior to them izi promotes non intrusive extension with use of events and composition of different behaviors to shape the final result.

izi offers also very easy way to define data bindings between UI widgets and view model.

JavaScript frameworks support

izi relies on event-dispatcher paradigm, but in JavaScript there isn't one common implementation. Each framework (like jQuery UI, ExtJS, Dojo UI, Mootools) has own interface to manage events. That's why izi is easily extendable for new implementations.

Documentation

izi-js 1.7.2 API

Installation

<!-- izi core-->
<script type="text/javascript" src="izi-js.js"></script>
<!-- izi framework implementation-->
<script type="text/javascript" src="izi-js-jquery.js"></script>

IoC & DI

izi.bakeBeans({
    model: new Demo.model.SearchModel(),
    search: new Demo.behavior.Search(),
    service: new Demo.service.SearchService(),
    view: izi.instantiate(Demo.view.SearchView).withArgs(izi.inject("model"),
                                                         izi.inject(Demo.behavior.Search))

more about IoC & DI...

Behaviors

izi.perform(search).when('click').on(searchButton);

more about Behaviors...

Data Binding

izi.bind().valueOf(textField).to(model, "query");

more about Data Binding...

Queue

izi.queue().execute(task1,task2);

more about Queue...

Versions

Version
1.7.3
1.7.1