diff --git a/_config.yml b/_config.yml index ddc41fb5d..151eda2b7 100644 --- a/_config.yml +++ b/_config.yml @@ -10,20 +10,20 @@ redcarpet: ### The following properties will change on a project-by-project basis # Context path in the remote website (usually /), will be prepended to absolute URLs for static resources -baseurl: /gh-pages +baseurl: /spring-data-redis # Name of the project for display in places like page titles -name: Spring Framework +name: Spring Data Redis # ID of the project in the metadata API at spring.io (if this is not a # valid project ID the javascript widgets in the home page will not work) -project: spring-framework +project: spring-data-redis # Project github URL -github_repo_url: http://github.com/spring-projects/spring-framework +github_repo_url: http://github.com/spring-projects/spring-data-redis # Project forum URL -forum: http://forum.spring.io/forum/spring-projects/container +forum: http://forum.spring.io/forum/spring-projects/data/nosql # If you want to include a custom pom.xml or gradle template set these value to true and add _include files custom_pom_template: false diff --git a/img/project-icon-large.png b/img/project-icon-large.png new file mode 100644 index 000000000..f9b4fec16 Binary files /dev/null and b/img/project-icon-large.png differ diff --git a/index.html b/index.html new file mode 100644 index 000000000..c0229ea48 --- /dev/null +++ b/index.html @@ -0,0 +1,124 @@ +--- +# The name of your project +title: Spring Data Redis + +badges: + + # Specify your project's twitter handle, if any. Delete if none. + twitter: SpringData + + # Customize your project's badges. Delete any entries that do not apply. + custom: + - name: Source (GitHub) + url: https://github.com/spring-projects/spring-data-redis + icon: github + + - name: Issues (JIRA) + url: http://jira.springsource.org/browse/DATAREDIS + icon: tracking + + - name: CI (Bamboo) + url: https://build.springsource.org/browse/SPRINGDATA + icon: ci + + - name: Forum + url: http://forum.spring.io/forum/spring-projects/data/nosql + icon: forum + + - name: StackOverflow + url: http://stackoverflow.com/questions/tagged/spring-data-redis + icon: stackoverflow + + +--- + + + + +{% capture parent_link %} +[Spring Data]({{ site.projects_site_url }}/spring-data) +{% endcapture %} + + +{% capture billboard_description %} + +Spring Data Redis, part of the larger [Spring Data]({{ site.projects_site_url }}/spring-data) family, +provides easy configuration and access to Redis from Spring applications. It offers both low-level and +high-level abstractions for interacting with the store, freeing the user from infrastructural concerns. + +{% endcapture %} + +{% capture main_content %} + +## Features + +* Connection package as low-level abstraction across multiple Redis drivers/connectors ([Jedis](http://github.com/xetorthio/jedis), [JRedis](https://github.com/alphazero/jredis), [Lettuce](http://github.com/wg/lettuce), and [SRP](http://github.com/spullara/redis-protocol)) +* [Exception translation](http://docs.spring.io/spring-data/data-redis/docs/current/reference/html/redis.html#redis:connectors) to Spring's portable Data Access exception hierarchy for Redis driver exceptions +* [RedisTemplate](http://docs.spring.io/spring-data/data-redis/docs/current/reference/html/redis.html#redis:template) that provides a high level abstraction for performing various Redis operations, exception translation and serialization support +* [Pubsub](http://docs.spring.io/spring-data/data-redis/docs/current/reference/html/redis.html#pubsub) support (such as a MessageListenerContainer for message-driven POJOs) +* JDK, String, JSON and Spring Object/XML mapping [serializers](http://docs.spring.io/spring-data/data-redis/docs/current/reference/html/redis.html#redis:serializer) +* JDK [Collection](http://docs.spring.io/spring-data/data-redis/docs/current/reference/html/redis.html#redis:support) implementations on top of Redis +* Atomic [counter](http://docs.spring.io/spring-data/data-redis/docs/current/reference/html/redis.html#redis:support) support classes +* Sorting and Pipelining functionality +* Dedicated support for SORT, SORT/GET pattern and returned bulk values +* Redis [implementation](http://docs.spring.io/spring-data/data-redis/docs/current/reference/html/redis.html#redis:support:cache-abstraction) for Spring 3.1 cache abstraction + + +## Quick Start + +{% include download_widget.md %} + +####Configure RedisTemplate.... + +````xml + + + + +```` + + +####Inject and use RedisTemplate or any of its opsForX() instances.... + +````java +public class Example { + + // inject the actual template + @Autowired + private RedisTemplate template; + + // inject the template as ListOperations + // can also inject as Value, Set, ZSet, and HashOperations + @Resource(name="redisTemplate") + private ListOperations listOps; + + public void addLink(String userId, URL url) { + listOps.leftPush(userId, url.toExternalForm()); + // or use template directly + redisTemplate.boundListOps(userId).leftPush(url.toExternalForm()); + } +} +```` + +{% endcapture %} + +{% capture related_resources %} + +### Sample Projects + +* [RetwisJ](https://github.com/SpringSource/spring-data-keyvalue-examples/tree/master/retwisj) - A Java implementation of the [Redis twitter clone](http://redis.io/topics/twitter-clone) + +### Getting Started Guides + +* [Messaging with Redis]({{site.main_site_url}}/guides/gs/messaging-redis) + + +{% endcapture %} + + +{% include project_page.html %} +