bambis-basemvc
A basic mvc package to arrange a project by the mvc/mpc architectural pattern
Last updated 2 years ago by bambi .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install bambis-basemvc 
SYNC missed versions from official npm registry.

BaseMVC

Motive

I always belived that MVC is a good pattern for web development, or handeling of data, then found myself writing web apps with Backbone.js and being heavily inspired by it, advancing to hybrid applications with Qt and QWebEngine, and later on Electron.

Having ES6 with module imports and several build tools at hand I believe we can have a very stable JS application environments that would not be a hit and miss, or a "trendy FW" like a totally transpiled language, or a component only closed based framework, just by having a library and some "aids" that would make us keep a correct design pattern while writing.

This is a very first attempt at this.

Lets see if it goes..

Documents about to come. but basically

npm install

the package, and

npm run build

, then

npm run browserDemo

hope everything works.. ;)

Changelog

  • 1.0.0 - First version, contains a Base Model, View, and Collection. Controller is the future opinionated way of wiring things together. theres a first step in assembling an inheritance for an eventbus library as all entities would be "eventable".

          Main goal would be to create an engine of some sort which can parse controller files to actual working bundled units.
    

haber.bambi@gmail.com

Current Tags

  • 1.0.0                                ...           latest (2 years ago)

1 Versions

  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 1
Last Day 1
Last Week 0
Last Month 4
Dependencies (2)
  • events git+https://github.com/Gozala/events.git
  • opn ^5.3.0
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |