Skip to content

Commit a8e31ae

Browse files
committed
Merge pull request #3 from phpcr/new-website
[WIP] New Website
2 parents e48bae6 + 4d112d1 commit a8e31ae

File tree

19 files changed

+1528
-75
lines changed

19 files changed

+1528
-75
lines changed

.nojekyll

Whitespace-only changes.

_data/implementations.yml

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
- name: Jackalope Doctrine DBAL
2+
github: https://github.com/jackalope/jackalope-doctrine-dbal
3+
website: http://jackalope.github.io
4+
description: |
5+
Uses a conventional RDBMS (e.g. MySQL) to store the content repository.
6+
stability: stable
7+
descriptors:
8+
node_type_management_autocreated_definitions_supported: true
9+
node_type_management_inheritance: single
10+
node_type_management_multiple_binary_properties_supported: true
11+
node_type_management_multivalued_properties_supported: true
12+
node_type_management_orderable_child_nodes_supported: true
13+
node_type_management_overrides_supported: false
14+
node_type_management_primary_item_name_supported: true
15+
node_type_management_property_types: true
16+
node_type_management_residual_definitions_supported: false
17+
node_type_management_same_name_siblings_supported: false
18+
node_type_management_update_in_use_supported: false
19+
node_type_management_value_constraints_supported: false
20+
option_access_control_supported: false
21+
option_activities_supported: false
22+
option_baselines_supported: false
23+
option_journaled_observation_supported: false
24+
option_lifecycle_supported: false
25+
option_locking_supported: false
26+
option_node_and_property_with_same_name_supported: true
27+
option_node_type_management_supported: true
28+
option_observation_supported: false
29+
option_retention_supported: false
30+
option_shareable_nodes_supported: false
31+
option_simple_versioning_supported: false
32+
option_transactions_supported: true
33+
option_unfiled_content_supported: true
34+
option_update_mixin_nodetypes_supported: true
35+
option_update_primary_nodetype_supported: true
36+
option_versioning_supported: false
37+
38+
- name: Jackalope Jackrabbit
39+
github: https://github.com/jackalope/jackalope-jackrabbit
40+
website: http://jackalope.github.io
41+
description: |
42+
Uses <a href="http://jackrabbit.apache.org">Apache Jackrabbit</a> as the storage engine.
43+
stability: stable
44+
descriptors:
45+
node.type.management.autocreated.definitions.supported: true
46+
node.type.management.inheritance: multiple
47+
node.type.management.multiple.binary.properties.supported: true
48+
node.type.management.multivalued.properties.supported: true
49+
node.type.management.orderable.child.nodes.supported: true
50+
node.type.management.overrides.supported: false
51+
node.type.management.primary.item.name.supported: true
52+
node.type.management.property.types: 2, 6, 5, 12, 4, 3, 7, 8, 9, 1, 11, 10, 0
53+
node.type.management.residual.definitions.supported: true
54+
node.type.management.same.name.siblings.supported: false
55+
node.type.management.update.in.use.suported: false
56+
node.type.management.value.constraints.supported: true
57+
option.access.control.supported: false
58+
option.activities.supported: true
59+
option.baselines.supported: true
60+
option.journaled.observation.supported: true
61+
option.lifecycle.supported: false
62+
option.locking.supported: true
63+
option.node.and.property.with.same.name.supported: true
64+
option.node.type.management.supported: true
65+
option.observation.supported: true
66+
option.query.sql.supported: true
67+
option.retention.supported: false
68+
option.shareable.nodes.supported: false
69+
option.simple.versioning.supported: true
70+
option.transactions.supported: false
71+
option.unfiled.content.supported: false
72+
option.update.mixin.node.types.supported: true
73+
option.update.primary.node.type.supported: true
74+
option.versioning.supported: true
75+
option.workspace.management.supported: true
76+
option.xml.export.supported: true
77+
option.xml.import.supported: true
78+
query.full.text.search.supported: true
79+
query.joins: query.joins.inner.outer
80+
query.languages: javax.jcr.query.JCR-JQOM, javax.jcr.query.JCR-SQL2
81+
query.stored.queries.supported: true
82+
query.xpath.doc.order: false
83+
query.xpath.pos.index: true
84+
write.supported: true
85+
query.cancel.supported: false
86+
87+
- name: Jackalope Prisimic
88+
github: https://github.com/jackalope/jackalope-prismic
89+
website: http://jackalope.github.io
90+
description: |
91+
Work-in-progress - Uses <a href="https://prismic.io">Prismic</a> cloud content system as the storage engine. Currently read-only.
92+
stability: unstable/WIP
93+
94+
- name: PHPCR Midguard2
95+
github: https://github.com/midguardproject/phpcr-midgard2
96+
website: https://github.com/midguardproject/phpcr-midgard2
97+
description: |
98+
Uses <a href="http://midgard-project.org/midgard2">Midgard2</a> open soruce content repository. Not maintained since 2013
99+
stability: unstable/unmaintained
100+
101+
- name: Jackalope MongoDB
102+
github: https://github.com/jackalope/jackalope-mongodb
103+
website: https://github.com/jackalope/jackalope-mongodb
104+
description: |
105+
Uses MongoDB to store data. Not maintained since 2012
106+
stability: unstable/unmaintained

_includes/menu.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<!-- Menu toggle -->
2+
<a href="#menu" id="menuLink" class="menu-link">
3+
<!-- Hamburger icon -->
4+
<span></span>
5+
</a>
6+
<div id="menu" class="main-menu pure-menu pure-menu-open">
7+
<div class="logo">
8+
<img src="/assets/images/logo.png" />
9+
</div>
10+
<ul class="main-menu-items">
11+
<li class="{% if page.url contains "about" %}pure-menu-selected{% endif %}"><a href="/about">About</a></li>
12+
<li class="{% if page.url == "/index.html" %}pure-menu-selected{% endif %}"><a href="/">News</a></li>
13+
<li class="{% if page.url contains "implementation" %}pure-menu-selected{% endif %}"><a href="/implementations">Implementations</a></li>
14+
<li class="{% if page.url contains "documentation" %}pure-menu-selected{% endif %}"><a href="/documentation">Documentation</a></li>
15+
<li class="{% if page.url contains "tool" %}pure-menu-selected{% endif %}"><a href="/tools">Tools</a></li>
16+
<li class="{% if page.url contains "community" %}pure-menu-selected{% endif %}"><a href="/community">Community</a></li>
17+
</ul>
18+
</div>

_layouts/default.html

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3+
4+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5+
<head>
6+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
7+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
8+
<link rel="stylesheet" href="/assets/pure-min.css">
9+
<link rel="stylesheet" href="/assets/main.css">
10+
<link rel="stylesheet" href="/assets/syntax.css">
11+
<title>PHPCR - PHP Content Repository</title>
12+
</head>
13+
14+
<body>
15+
<a href="http://github.com/phpcr/phpcr"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" /></a>
16+
17+
<div id="layout">
18+
19+
{% include menu.html %}
20+
21+
<div class="header">
22+
<h1>{{ page.title }}</h1>
23+
</div>
24+
25+
<div class="content">
26+
{{ content }}
27+
</div>
28+
</div>
29+
</div>
30+
<script type="text/javascript">
31+
(function (window, document) {
32+
33+
var layout = document.getElementById('layout'),
34+
menu = document.getElementById('menu'),
35+
menuLink = document.getElementById('menuLink');
36+
37+
function toggleClass(element, className) {
38+
var classes = element.className.split(/\s+/),
39+
length = classes.length,
40+
i = 0;
41+
42+
for(; i < length; i++) {
43+
if (classes[i] === className) {
44+
classes.splice(i, 1);
45+
break;
46+
}
47+
}
48+
// The className is not found
49+
if (length === classes.length) {
50+
classes.push(className);
51+
}
52+
53+
element.className = classes.join(' ');
54+
}
55+
56+
menuLink.onclick = function (e) {
57+
var active = 'active';
58+
59+
e.preventDefault();
60+
toggleClass(layout, active);
61+
toggleClass(menu, active);
62+
toggleClass(menuLink, active);
63+
};
64+
65+
}(this, this.document));
66+
</script>
67+
</body>
68+
</html>

_posts/2014-05-07-New-Website.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
layout: default
3+
title: New Website and new Logo!
4+
---
5+
6+
Welcome to the new website!

about/index.html

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
layout: default
3+
title: About PHPCR
4+
overview: true
5+
---
6+
<div class="content">
7+
<h3>What is it?</h3>
8+
<p class="description">
9+
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/>
10+
The API defines how to handle hierarchical semi-structured data in a consistent way.
11+
</p>
12+
<p>
13+
The typical use case is content management systems.
14+
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.
15+
</p>
16+
17+
<h3>When to use PHPCR</h3>
18+
<ul>
19+
<li>For hierarchical navigation structures</li>
20+
<li>For compound data that belongs together. i.e. a web page with attached files or translations</li>
21+
<li>You need to version content</li>
22+
<li>You want full text search</li>
23+
</ul>
24+
25+
<h3>When not to use PHPCR</h3>
26+
<p style="margin:0px">
27+
PHPCR is targeted at semi structured content. For strictly structured content and when using aggregation queries, we recommend using relational databases.<br/>
28+
For example: A web shop where products are stored in PHPCR, orders are stored in a relational database.
29+
</p>
30+
</div>

assets/images/logo.png

3.86 KB
Loading

0 commit comments

Comments
 (0)