About Slice - 3.2

About

Slice is an open-source framework that makes Sling/CQ development much easier and more efficient. It was initially developed by Cognifide and then evolved to an open-source project. It combines Sling and Guice to create a solid foundation for building high quality projects efficiently.

Since version 3.1.0, CQ related modules have been extracted as seperated Slice CQ Addons.

Benefits

  1. No more scriptlets – writing business logic of your app in JSPs is generally not a good idea, there are plenty of reasons, and plenty of post/articles that discuss this topic (like http://stackoverflow.com/a/1832327). With Slice you write your business logic in Java; JSP is a presentation layer only.
  2. Avoid re-inventing the wheel – think of how many times you have had to re-write your code, especially when starting a new project? The Slice framework makes it easier because it provides a lot of features you can reuse. You can also reuse your own modules and libraries.
  3. Improve the testability of your code – you just write simple Java classes. Thanks to dependency injection (DI) they can be easily unit-tested.
  4. Low cost of introduction of new developers into projects – Slice is easy to learn and if you use it in all your projects, your developers know exactly how to start.
  5. Faster development – code reuse, dependency injection and simplicity make you more efficient than ever.
  6. Reduce maintenance costs.

Source repository

The source code is hosted on Github: http://github.com/Cognifide/Slice

Issue tracking

https://cognifide.atlassian.net/browse/SLICE

How to get it?

You can get Slice either by:

  1. Downloading and building source code:

    git clone git://github.com/Cognifide/Slice.git
    cd Slice
    mvn clean package