spine / spine

Lightweight MVC library for building JavaScript applications

Home Page:http://spine.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Data binding, nested views, simple routing system and more ...

smalluban opened this issue · comments

I would like to share with you my last 6 months work of free time. I created something that i named Neck - Extension Pack for Spine. It includes:

  • Simple routing system for controllers and views (Ruby on Rails convection, requires 'CommonJS require definition')
  • Nested views (Android SDK activities inspirated)
  • Full data bindings with scope object, inheritance and more (Angular.js [90%] and Batman.js [10%] ideas)
  • Two way access to scope - from templating engine and runners (angular.js directives) giving more control for developer

In more or less 500 lines of CoffeeScript I was able to create JavaScript interpreter, complex system of scope model, automatic events on change in models and others.

For my work, these options were needed to fight with modern frameworks.

You are very welcome to give any feedback, what you think about it and share ideas about what can be done in future.

It's on very early state. No tests and properly docs created. Few days ago I decided that code will not change dramatically (it had that changes...) so I shared this code with you.

For more info see project homepage.

Cool, looks very interesting on a glance! I am pretty busy for the next couple weeks, but will take a closer look when I get a chance.

Clever name. :)

Great stuff!

@adambiggs: Thanks, work in progress :) I closed testing core, now I try to test runners, then I release 0.2 version and write some docs. Feel free to comment, any ideas are very welcome.

looks like he moved over to backbone for this project.