Skip to content

Commit 9049e41

Browse files
committed
DATAMONGO-1032 - Polished Asciidoctor documentation.
1 parent f622b29 commit 9049e41

File tree

6 files changed

+72
-71
lines changed

6 files changed

+72
-71
lines changed

src/main/asciidoc/index.adoc

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
= Spring Data MongoDB - Reference Documentation
2-
Mark Pollack, Thomas Risberg, Oliver Gierke, Costin Leau, Jon Brisbin, Thomas Darimont, Christoph Strobl
2+
Mark Pollack; Thomas Risberg; Oliver Gierke; Costin Leau; Jon Brisbin; Thomas Darimont; Christoph Strobl
3+
:revnumber: {version}
4+
:revdate: {localdate}
35
:toc:
4-
:spring-data-commons-docs: https://raw.githubusercontent.com/spring-projects/spring-data-commons/master/src/main/asciidoc
6+
:toc-placement!:
7+
:spring-data-commons-docs: https://raw.githubusercontent.com/spring-projects/spring-data-commons/issue/DATACMNS-567/src/main/asciidoc
58

6-
{version}
7-
8-
© 2008-2014 The original authors.
9+
(C) 2008-2014 The original authors.
910

1011
NOTE: _Copies of this document may be made for your own use and for distribution to others, provided that you do not charge any fee for such copies and further provided that each copy contains this Copyright Notice, whether distributed in print or electronically._
1112

13+
toc::[]
14+
1215
include::preface.adoc[]
13-
include::introduction/introduction.adoc[]
1416

15-
:leveloffset: 1
16-
include::introduction/requirements.adoc[]
17-
include::introduction/getting-started.adoc[]
17+
:leveloffset: +1
1818
include::{spring-data-commons-docs}/repositories.adoc[]
19+
:leveloffset: -1
1920

20-
:leveloffset: 0
2121
[[reference]]
2222
= Reference Documentation
2323

24-
:leveloffset: 1
24+
:leveloffset: +1
2525
include::reference/introduction.adoc[]
2626
include::reference/mongodb.adoc[]
2727
include::reference/mongo-repositories.adoc[]
@@ -30,12 +30,14 @@ include::reference/mapping.adoc[]
3030
include::reference/cross-store.adoc[]
3131
include::reference/logging.adoc[]
3232
include::reference/jmx.adoc[]
33+
:leveloffset: -1
3334

34-
:leveloffset: 0
35+
[[appendix]]
3536
= Appendix
3637

3738
:numbered!:
38-
:leveloffset: 1
39-
include::{spring-data-commons-docs}/repository-namespace-reference.adoc[]
39+
:leveloffset: +1
4040
include::{spring-data-commons-docs}/repository-namespace-reference.adoc[]
41+
include::{spring-data-commons-docs}/repository-populator-namespace-reference.adoc[]
4142
include::{spring-data-commons-docs}/repository-query-keywords-reference.adoc[]
43+
:leveloffset: -1

src/main/asciidoc/introduction/getting-started.adoc

Lines changed: 0 additions & 24 deletions
This file was deleted.

src/main/asciidoc/introduction/introduction.adoc

Lines changed: 0 additions & 26 deletions
This file was deleted.

src/main/asciidoc/introduction/requirements.adoc

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/main/asciidoc/preface.adoc

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,59 @@
11
[[preface]]
2-
[preface]
32
= Preface
43

54
The Spring Data MongoDB project applies core Spring concepts to the development of solutions using the MongoDB document style data store. We provide a "template" as a high-level abstraction for storing and querying documents. You will notice similarities to the JDBC support in the Spring Framework.
5+
6+
This document is the reference guide for Spring Data - Document Support. It explains Document module concepts and semantics and the syntax for various stores namespaces.
7+
8+
This section provides some basic introduction to Spring and Document database. The rest of the document refers only to Spring Data Document features and assumes the user is familiar with document databases such as MongoDB and CouchDB as well as Spring concepts.
9+
10+
[[get-started:first-steps:spring]]
11+
== Knowing Spring
12+
Spring Data uses Spring framework's http://docs.spring.io/spring/docs/3.2.x/spring-framework-reference/html/spring-core.html[core] functionality, such as the http://docs.spring.io/spring/docs/3.2.x/spring-framework-reference/html/beans.html[IoC] container, http://docs.spring.io/spring/docs/3.2.x/spring-framework-reference/html/validation.html#core-convert[type conversion system], http://docs.spring.io/spring/docs/3.2.x/spring-framework-reference/html/expressions.html[expression language], http://docs.spring.io/spring/docs/3.2.x/spring-framework-reference/html/jmx.html[JMX integration], and portable http://docs.spring.io/spring/docs/3.2.x/spring-framework-reference/html/dao.html#dao-exceptions[DAO exception hierarchy]. While it is not important to know the Spring APIs, understanding the concepts behind them is. At a minimum, the idea behind IoC should be familiar for whatever IoC container you choose to use.
13+
14+
The core functionality of the MongoDB and CouchDB support can be used directly, with no need to invoke the IoC services of the Spring Container. This is much like `JdbcTemplate` which can be used 'standalone' without any other services of the Spring container. To leverage all the features of Spring Data document, such as the repository support, you will need to configure some parts of the library using Spring.
15+
16+
To learn more about Spring, you can refer to the comprehensive (and sometimes disarming) documentation that explains in detail the Spring Framework. There are a lot of articles, blog entries and books on the matter - take a look at the Spring framework http://spring.io/docs[home page ] for more information.
17+
18+
[[get-started:first-steps:nosql]]
19+
== Knowing NoSQL and Document databases
20+
NoSQL stores have taken the storage world by storm. It is a vast domain with a plethora of solutions, terms and patterns (to make things worth even the term itself has multiple http://www.google.com/search?q=nosoql+acronym[meanings]). While some of the principles are common, it is crucial that the user is familiar to some degree with the stores supported by DATADOC. The best way to get acquainted to this solutions is to read their documentation and follow their examples - it usually doesn't take more then 5-10 minutes to go through them and if you are coming from an RDMBS-only background many times these exercises can be an eye opener.
21+
22+
The jumping off ground for learning about MongoDB is http://www.mongodb.org/[www.mongodb.org]. Here is a list of other useful resources:
23+
24+
* The http://docs.mongodb.org/manual/[manual] introduces MongoDB and contains links to getting started guides, reference documentation and tutorials.
25+
* The http://try.mongodb.org/[online shell] provides a convenient way to interact with a MongoDB instance in combination with the online http://docs.mongodb.org/manual/tutorial/getting-started/[tutorial.]
26+
* MongoDB http://docs.mongodb.org/ecosystem/drivers/java/[Java Language Center]
27+
* Several http://www.mongodb.org/books[books] available for purchase
28+
* Karl Seguin's online book: http://openmymind.net/mongodb.pdf[The Little MongoDB Book]
29+
30+
[[requirements]]
31+
== Requirements
32+
33+
Spring Data MongoDB 1.x binaries requires JDK level 6.0 and above, and http://spring.io/docs[Spring Framework] 3.2.x and above.
34+
35+
In terms of document stores, http://www.mongodb.org/[MongoDB] preferably version 2.4.
36+
37+
== Additional Help Resources
38+
39+
Learning a new framework is not always straight forward. In this section, we try to provide what we think is an easy to follow guide for starting with Spring Data Document module. However, if you encounter issues or you are just looking for an advice, feel free to use one of the links below:
40+
41+
[[get-started:help]]
42+
=== Support
43+
44+
There are a few support options available:
45+
46+
[[get-started:help:community]]
47+
==== Community Forum
48+
49+
Spring Data on Stackoverflow http://stackoverflow.com/questions/tagged/spring-data[Stackoverflow ] is a tag for all Spring Data (not just Document) users to share information and help each other. Note that registration is needed *only* for posting.
50+
51+
[[get-started:help:professional]]
52+
==== Professional Support
53+
54+
Professional, from-the-source support, with guaranteed response time, is available from http://gopivotal.com/[Pivotal Sofware, Inc.], the company behind Spring Data and Spring.
55+
56+
[[get-started:up-to-date]]
57+
=== Following Development
58+
59+
For information on the Spring Data Mongo source code repository, nightly builds and snapshot artifacts please see the http://projects.spring.io/spring-data-mongodb/[Spring Data Mongo homepage]. You can help make Spring Data best serve the needs of the Spring community by interacting with developers through the Community on http://stackoverflow.com/questions/tagged/spring-data[Stackoverflow]. To follow developer activity look for the mailing list information on the Spring Data Mongo homepage. If you encounter a bug or want to suggest an improvement, please create a ticket on the Spring Data issue https://jira.spring.io/browse/DATAMONGO[tracker]. To stay up to date with the latest news and announcements in the Spring eco system, subscribe to the Spring Community http://spring.io[Portal]. Lastly, you can follow the SpringSource Data http://spring.io/blog[blog ]or the project team on Twitter (http://twitter.com/SpringData[SpringData]).

src/main/asciidoc/reference/introduction.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ This part of the reference documentation explains the core functionality offered
88
<<mongo.core>> introduces the MongoDB module feature set.
99

1010
<<mongo.repositories>> introduces the repository support for MongoDB.
11+

0 commit comments

Comments
 (0)