With this addition, now almost the entire app can be expressed in JSON. Here's an example JSFiddle: jsfiddle.net/57ww6u70/22/ It's still using some JavaScript variables but it would be cool if we could eventually figure out a way to express everything as PURE DATA, in flat JSON
It lets you override Cell to behave in ways you always wanted, such as making the $update get triggered in a waterfall manner, and many more. You're only bound by imagination. Check out the discussion: github.com/intercellular/cel…
Now you can write plugins for Cell. It's called VIRUS! You define functions that "infect" cells to behave in ways you desire. Here's how it works: github.com/intercellular/cel…
Experimenting with some virus idioms for @_celljs , reducing nesting and attribute count when generating markup. See what it did to this bootstrap textarea form-group !
Getting back to this, check out this PR: github.com/intercellular/cel… it's a plugin system and one of the examples is a small library that helps with generating markup. The other example is makes $update propagate recursively into child components.
Many people wonder if celljs can be used for complex apps. I built this entire app with a simple #rubyonrails API server + cell frontend. Here's the main cell: github.com/Jasonette/Jasonet…
Just wrote this up this morning. It's pretty cool how the JSON-based nature makes it possible to pass around views, models, and controllers as JSON objects.