capuchino
v0.0.0
Published
Webapp framework on modern technologies
Downloads
1
Readme
Capuchino
Web app framework on Modern features.
Capuchino provides simple MV* Framework with edge features (Object.observe
, Virtual DOM
, and more...)
Respect Backbone.js
, Marionette.js
.
Feature
Everything Work in progress
Model
A Plain-Object
like model.
Capuchino.Model
works with Object.observe
much. (Of course, works even without Object.observe.)
Capuchino.Model has a Observer mechanism(EventEmitter) on itself.
See Capuchino.Model Document for more details.
class UserModel extends Capuchino.Model
_properties :
id : {initial : -1}
name : {initial : ""}
# Create
user = new UserModel
# Plain-Object like
Object.keys(user) # => ['id', 'name']
# Support toJSON
user.toJSON() # {"id": -1, "name": "capuchino"}
And supports Backbone-like extending.
var UserModel = Capuchino.Model.extend({
_properties : {
name : { initial : "" }
}
});
View
WIP
Disposers & DisposableObject
WIP