Reverted subtitles to old texts
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.docbook.org/xml/4.4/docbookx.dtd">
|
||||
<chapter id="tutorial_about-tutorial">
|
||||
<title>Introducing Cineasts.net</title>
|
||||
<subtitle>"- In a galaxy, far, far away..."</subtitle>
|
||||
<title>Introducing our project</title>
|
||||
<subtitle>Allow me to introduce Cineasts.net</subtitle>
|
||||
<para>
|
||||
Once upon a time we wanted to build a social movie database. At first there was only the name: Cineasts,
|
||||
the cinema enthusiasts who have a burning passion for movies. So we went ahead and bought the domain
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.docbook.org/xml/4.4/docbookx.dtd">
|
||||
<chapter id="tutorial_annotations">
|
||||
<title>Annotating the domain</title>
|
||||
<subtitle>"- Suitable quote"</subtitle>
|
||||
<subtitle>Decorations</subtitle>
|
||||
<para>
|
||||
Looking at the Spring Data Graph documentation, we found a simple
|
||||
<ulink url="http://github.com/SpringSource/spring-data-graph-examples/tree/master/hello-worlds">Hello World example</ulink>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.docbook.org/xml/4.4/docbookx.dtd">
|
||||
<chapter id="tutorial_domain">
|
||||
<title>The domain model</title>
|
||||
<subtitle>"- Suitable quote"</subtitle>
|
||||
<subtitle>Setting the stage</subtitle>
|
||||
<para>
|
||||
We wanted to outline the domain model before diving into library details. We also looked at the
|
||||
data model of the TheMoviedb.org data to confirm that it matched our expectations.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.docbook.org/xml/4.4/docbookx.dtd">
|
||||
<chapter id="tutorial_import">
|
||||
<title>Importing Data</title>
|
||||
<subtitle>"- Suitable quote"</subtitle>
|
||||
<subtitle>The dusty archives</subtitle>
|
||||
<para>
|
||||
It was now time to pull the data from <ulink url="http://themoviedb.org">themoviedb.org</ulink>.
|
||||
Registering there and getting an API key was simple, as was using the API on the command-line with
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.docbook.org/xml/4.4/docbookx.dtd">
|
||||
<chapter id="tutorial_indexing">
|
||||
<title>Indexing</title>
|
||||
<subtitle>"- Find them and destroy them."</subtitle>
|
||||
<subtitle>Do I know you?</subtitle>
|
||||
<para>
|
||||
There is an @Indexed annotation for fields. We wanted to try this out, and use it to guide the
|
||||
next test. We added @Indexed to the ID field of the Movie class. This field is intended to represent
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.docbook.org/xml/4.4/docbookx.dtd">
|
||||
<chapter id="tutorial_neo4j">
|
||||
<title>Learning Neo4j</title>
|
||||
<subtitle>"- Welcome, to the real world."</subtitle>
|
||||
<subtitle>Graphs ahead</subtitle>
|
||||
<para>
|
||||
Now we needed to figure out how to store our chosen domain model in the chosen database.
|
||||
First we read up about graph databases, in particular our chosen one,
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.docbook.org/xml/4.4/docbookx.dtd">
|
||||
<chapter id="tutorial_recommendations">
|
||||
<title>Recommendations</title>
|
||||
<subtitle>"- Suitable quote"</subtitle>
|
||||
<subtitle>Movies! Friends! Bargains!</subtitle>
|
||||
<para>
|
||||
In the last part of this exercise we wanted to add recommendations to the app. One
|
||||
obvious recommendation was movies that our friends liked (and their friends too, but
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.docbook.org/xml/4.4/docbookx.dtd">
|
||||
<chapter id="tutorial_relationships">
|
||||
<title>Relationships</title>
|
||||
<subtitle>"- Suitable quote"</subtitle>
|
||||
<subtitle>A convincing act</subtitle>
|
||||
<para>
|
||||
Our application was not yet very much fun, just storing movies and actors. After all,
|
||||
the power is in the relationships between them.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.docbook.org/xml/4.4/docbookx.dtd">
|
||||
<chapter id="tutorial_repository">
|
||||
<title>Repositories</title>
|
||||
<subtitle>"- Suitable quote"</subtitle>
|
||||
<subtitle>Serving a good cause</subtitle>
|
||||
<para>
|
||||
We wanted to add repositories with domain-specific operations. We started by creating a
|
||||
movie-specific repository, simply by creating an empty interface. It is more convenient to
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.docbook.org/xml/4.4/docbookx.dtd">
|
||||
<chapter id="tutorial_running">
|
||||
<title>Get it running</title>
|
||||
<subtitle>"- Suitable quote"</subtitle>
|
||||
<subtitle>Curtains up!</subtitle>
|
||||
<para>
|
||||
Now we had a pretty complete application. It was time to put it to the test.
|
||||
</para>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.docbook.org/xml/4.4/docbookx.dtd">
|
||||
<chapter id="tutorial_security">
|
||||
<title>Adding Security</title>
|
||||
<subtitle>"- I love the smell of napalm in the morning."</subtitle>
|
||||
<subtitle>Protecting assets</subtitle>
|
||||
<para>
|
||||
To have a user in the webapp we had to put it in the session and add login and registration
|
||||
pages. Of course the pages that were only meant for logged-in users had to be secured as well.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.docbook.org/xml/4.4/docbookx.dtd">
|
||||
<chapter id="tutorial_setup">
|
||||
<title>The Spring stack</title>
|
||||
<subtitle>"- a light from the shadows shall spring"</subtitle> <!-- lord of the rings -->
|
||||
<!--<subtitle></subtitle>-->
|
||||
<para>
|
||||
Being Spring developers, we naturally choose components from the Spring stack to do all the
|
||||
heavy lifting. After all, we have the concept etched out, so we're already halfway there.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.docbook.org/xml/4.4/docbookx.dtd">
|
||||
<chapter id="tutorial_social">
|
||||
<title>Adding social</title>
|
||||
<subtitle>"- Suitable quote"</subtitle>
|
||||
<subtitle>Movies 2.0</subtitle>
|
||||
<para>
|
||||
So far, the website had only been a plain old movie database (POMD?). We now wanted to add
|
||||
a touch of social to it.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.docbook.org/xml/4.4/docbookx.dtd">
|
||||
<chapter id="tutorial_about-spring-data">
|
||||
<title>Spring Data Graph</title>
|
||||
<subtitle>"- Do you think that's air you're breathing now?"</subtitle>
|
||||
<subtitle>Conjuring magic</subtitle>
|
||||
<para>
|
||||
So far it had all been pure Spring Framework and Neo4j. However, using the Neo4j code in our domain
|
||||
classes polluted them with graph database details. For this application, we wanted to keep the domain
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.docbook.org/xml/4.4/docbookx.dtd">
|
||||
<chapter id="tutorial_user-experience">
|
||||
<title>More UI</title>
|
||||
<subtitle>"- Suitable quote"</subtitle>
|
||||
<subtitle>Oh the glamour</subtitle>
|
||||
<para>
|
||||
To create a nice user experience, we wanted to have a nice looking app. Not something that
|
||||
looked like a toddler made it. So we got some user experience people involved and the results
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.docbook.org/xml/4.4/docbookx.dtd">
|
||||
<chapter id="tutorial_webapp">
|
||||
<title>Web views</title>
|
||||
<subtitle>"- Suitable quote"</subtitle>
|
||||
<subtitle>Showing off</subtitle>
|
||||
<para>
|
||||
After having put some data in the graph database, we also wanted to show it to the user. Adding
|
||||
the controller method to show a single movie with its attributes and cast in a JSP was
|
||||
|
||||
Reference in New Issue
Block a user