Skip to content

Various fixes #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 1, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _includes/menu.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</a>
<div id="menu" class="main-menu pure-menu pure-menu-open">
<div class="logo">
<img src="/assets/images/logo.png" />
<a href="/"><img src="/assets/images/logo.png" /></a>
</div>
<ul class="main-menu-items">
<li class="{% if page.url contains "about" %}pure-menu-selected{% endif %}"><a href="/about">About</a></li>
Expand Down
6 changes: 3 additions & 3 deletions about/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
overview: true
---
<div class="content">
<h3>What is it?</h3>
<h2>What is it?</h2>
<p class="description">
The PHP Content Repository is an adaption of the Java Content Repository (<a href="http://en.wikipedia.org/wiki/Content_repository_API_for_Java" class="external-link" rel="nofollow">JCR</a>) standard, an open API specification defined in <a href="http://jcp.org/en/jsr/detail?id=283" title="JSR: Java Specification Request" class="external-link" rel="nofollow">JSR-283</a>. <br/>
The API defines how to handle hierarchical semi-structured data in a consistent way.
Expand All @@ -14,15 +14,15 @@ <h3>What is it?</h3>
PHPCR combines the best out of <a href="http://en.wikipedia.org/wiki/Document-oriented_database">document-oriented databases</a> (weak structured data) and of <a href="http://en.wikipedia.org/wiki/XML_database">XML databases</a> (hierarchical trees). On top of that, it adds useful features like searching, versioning, access control and locking on top of it.
</p>

<h3>When to use PHPCR</h3>
<h2>When to use PHPCR</h2>
<ul>
<li>For hierarchical navigation structures</li>
<li>For compound data that belongs together. i.e. a web page with attached files or translations</li>
<li>You need to version content</li>
<li>You want full text search</li>
</ul>

<h3>When not to use PHPCR</h3>
<h2>When not to use PHPCR</h2>
<p style="margin:0px">
PHPCR is targeted at semi structured content. For strictly structured content and when using aggregation queries, we recommend using relational databases.<br/>
For example: A web shop where products are stored in PHPCR, orders are stored in a relational database.
Expand Down
14 changes: 11 additions & 3 deletions assets/main.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
body {
color: #777;
color: #333;
}

#forkme {
Expand Down Expand Up @@ -90,9 +90,10 @@ The `#menu` `<div>` is the parent `<div>` that contains the `.pure-menu` that
appears on the left side of the page.
*/

#menu .logo {

#menu .logo img {
text-align: center;
margin: 20px 0px;
margin: 20px 15px;
}

#menu {
Expand Down Expand Up @@ -258,3 +259,10 @@ Hides the menu at `48em`, but modify this based on your app's needs.
left: 200px;
}
}

.content h2 {
background-color: #1F8DD6;
color: white;
padding: 12px;
border-radius: 5px;
}
2 changes: 2 additions & 0 deletions tools/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ title: Tools
---
This page aims to list all the available PHPCR tools.

## Browsers / Editors

### PHPCR Shell

The PHPCR Shell aims to provide a complete shell interface to any PHPCR repository.
Expand Down