Skip to content

Commit 0b36af0

Browse files
committed
adjust homepage
1 parent b4cc918 commit 0b36af0

File tree

2 files changed

+17
-13
lines changed

2 files changed

+17
-13
lines changed

index.html

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,33 +29,35 @@ <h1 id="header">PHPCR - Content Repository for PHP</h1>
2929
</p>
3030
</div>
3131

32+
<div class="description">
33+
<div>
3234
<h2>When to use PHPCR</h2>
33-
3435
<ul>
35-
<li>You have hierarchical navigation structures</li>
36-
<li>You have compound data that belongs together. i.e. a web page with attached files or translations</li>
36+
<li>For hierarchical navigation structures</li>
37+
<li>For compound data that belongs together. i.e. a web page with attached files or translations</li>
3738
<li>You need to version content</li>
3839
<li>You want full text search</li>
3940
</ul>
40-
41+
</div>
42+
<div>
4143
<h2>When not to use PHPCR</h2>
42-
<p>
43-
PHPCR is targeted at semi structured content. When you have strict content and need to aggregate the data, PHPCR is not the tool of choice. We recommend using relational databases for this.<br/>
44-
For example, when building a web shop, the products could be stored in PHPCR while the orders can be stored in a relational database.
44+
<p style="margin:0px">
45+
PHPCR is targeted at semi structured content. For strictly structured content and when using aggregation queries, we recommend using relational databases.<br/>
46+
For example: A web shop where products are stored in PHPCR, orders are stored in a relational database.
4547
</p>
46-
47-
<h2>Resources</h2>
48+
</div>
49+
</div>
50+
<h2 style="clear:both">Resources</h2>
4851
<ul class="links">
4952
<li><a href="http://github.com/phpcr/phpcr">Source</a></li>
5053
<li><a href="doc/html/index.html">API</a></li>
51-
<li><a href="doc/html-all/index.html">PHPCR-utils</a></li>
5254
<li><a href="http://phpcr.github.com/slides.html">Slides</a></li>
5355
<li><a href="http://phpcr.github.com/slides-odm.html">ODM Slides</a></li>
5456
<li><a href="https://github.com/phpcr/phpcr-docs/blob/master/tutorial/Tutorial.md">Tutorial</a></li>
5557
<li><a href="https://github.com/phpcr/phpcr.github.com/wiki">Collaboration</a></li>
5658
</ul>
5759

58-
<h2>Implementations</h2>
60+
<h2 style="margin-top: 12px;">Implementations</h2>
5961

6062
<p>PHPCR defines the interfaces for content repositories. There are several implementations available that you can use:</p>
6163

media/style.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ h1 a {
4444
h2 {
4545
font-size: 1.5em;
4646
color: #000000;
47+
margin-top: 0px;
48+
margin-bottom: 12px;
4749
}
4850
h3 {
4951
text-align: left;
@@ -63,14 +65,14 @@ a {
6365
.description {
6466
font-size: 1.2em;
6567
}
66-
.description p {
68+
.description p, .description div {
6769
max-width: 23em;
6870
float: left;
6971
margin-right: 1em;
7072
padding-bottom: 1em;
7173
}
7274

73-
.description p:nth-child(2) {
75+
.description p:nth-child(2), .description div:nth-child(2) {
7476
max-width: 27em;
7577
margin-right: 0;
7678
}

0 commit comments

Comments
 (0)