About Slice - 3.1
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.
In 3.1.0 version CQ related modules has been extracted as seperated Slice CQ Addons.
Benefits
- 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.
- 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.
- Improve the testability of your code – you just write simple Java classes. Thanks to dependency injection (DI) they can be easily unit-tested.
- 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.
- Faster development – code reuse, dependency injection and simplicity make you more efficient than ever.
- 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:
Downloading and building source code:
git clone git://github.com/Cognifide/Slice.git cd Slice mvn clean package