npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

izi-js

v1.7.3

Published

izi (as in 'easy') is a client side microframework based on several concepts from MVC, MVP and MVVM patterns.

Downloads

13

Readme

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...