Code Monkey home page Code Monkey logo

enzinak.js's Introduction

enzinak.js

View-stack based micro-framework with built-in utility library in JavaScript that can reduce the development time of the project.

Usage

You can define the various screens as section tags in the index.html file

<div id="sections">
    <section id="home"><b>home</b></section>
    <section id="about"><b>about</b></section>
    <section id="contact"><b>contact</b></section>
</div>

While in your main.js file, you can define a logic to load particular screens

oViewStack.initialize();
oViewStack.activate('contact');
oViewStack.activate('home');

To learn more about it, dive into main.js which describes the way to make your webapp using view-controller design pattern.

The view-stack concept is inspired from jQuery Mobile. So with this libary, you can make multiple display areas each with their separate views & controllers which can easily handle the screen transitions.

This framework has potential to create very basic to extremely large application without cultering your code base. We ourself have used this framework in more than dozens of projects that evolved it to the current level and is still going strong. The philosophy followed in this, is divide & rule. So you need to think about the display areas of your application, then divide those areas into various portions and apply the view-controller logic over it. That's it!

Since the project begin in 2014, so all the classes have been made in JS5. So for ES6 or ESnext upgrade keep a watch.

enzinak.js's People

Contributors

isurfer21 avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

enzinak.js's Issues

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.