slicky

Light JS framework combining features of angular 2 and spine.js together.

Usage no npm install needed!

<script type="module">
  import slicky from 'https://cdn.skypack.dev/slicky';
</script>

README

NPM version Dependency Status Build Status

Donate

Slicky

Light JS framework combining features of angular 2 and spine.js together.

The problem of mine...

I have some really large application written in PHP and we definitely don't plan changing whole application into SPA. But the thing is that we need some JS, because 21st century right? And yes, it's also good for our users.

Currently we are using angular 1, but the problem is that it's really overcomplicated. If you don't know what I mean, please watch this video from ng-conf 2015 where Misko Hevery and Rado Kirov explained syntax and differences between angular 1 and angular 2.

So after trying angular 2 on one test project for a month, I really wanted to try it on our website also. Problem is that I can't... Angular 2 basically works just with SPA websites. Hmm... What now? I can stick with angular 1, but I can't really say that I'm 100% sure about the code I write. Or use something like backbone (too old) or eg. spine.js which we used before angular 1 (I don't like CoffeScript anymore).

That's why I created yet another JS framework.

When to use it

  • When you have large server side application
  • When you think angular 2 is really awesome
  • When you want something really simple
  • When you want to use typescript
  • When you want add some JS behavior to existing site
  • When you don't need jquery

When not use it

  • When you want single page application (just go with angular 2)
  • When you want just some jquery

Installation

$ npm install slicky
$ npm install es7-reflect-metadata

Next steps

  1. bootstrap
  2. directives
  3. components
  4. templating
  5. communication between components
  6. filters
  7. dependency injection
  8. translations
  9. life cycle events
  10. ElementRef
  11. Extensions