Skip to content
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
Empty file removed .nojekyll
Empty file.
106 changes: 106 additions & 0 deletions _data/implementations.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
- name: Jackalope Doctrine DBAL
github: https://github.com/jackalope/jackalope-doctrine-dbal
website: http://jackalope.github.io
description: |
Uses a conventional RDBMS (e.g. MySQL) to store the content repository.
stability: stable
descriptors:
node_type_management_autocreated_definitions_supported: true
node_type_management_inheritance: single
node_type_management_multiple_binary_properties_supported: true
node_type_management_multivalued_properties_supported: true
node_type_management_orderable_child_nodes_supported: true
node_type_management_overrides_supported: false
node_type_management_primary_item_name_supported: true
node_type_management_property_types: true
node_type_management_residual_definitions_supported: false
node_type_management_same_name_siblings_supported: false
node_type_management_update_in_use_supported: false
node_type_management_value_constraints_supported: false
option_access_control_supported: false
option_activities_supported: false
option_baselines_supported: false
option_journaled_observation_supported: false
option_lifecycle_supported: false
option_locking_supported: false
option_node_and_property_with_same_name_supported: true
option_node_type_management_supported: true
option_observation_supported: false
option_retention_supported: false
option_shareable_nodes_supported: false
option_simple_versioning_supported: false
option_transactions_supported: true
option_unfiled_content_supported: true
option_update_mixin_nodetypes_supported: true
option_update_primary_nodetype_supported: true
option_versioning_supported: false

- name: Jackalope Jackrabbit
github: https://github.com/jackalope/jackalope-jackrabbit
website: http://jackalope.github.io
description: |
Uses <a href="http://jackrabbit.apache.org">Apache Jackrabbit</a> as the storage engine.
stability: stable
descriptors:
node.type.management.autocreated.definitions.supported: true
node.type.management.inheritance: multiple
node.type.management.multiple.binary.properties.supported: true
node.type.management.multivalued.properties.supported: true
node.type.management.orderable.child.nodes.supported: true
node.type.management.overrides.supported: false
node.type.management.primary.item.name.supported: true
node.type.management.property.types: 2, 6, 5, 12, 4, 3, 7, 8, 9, 1, 11, 10, 0
node.type.management.residual.definitions.supported: true
node.type.management.same.name.siblings.supported: false
node.type.management.update.in.use.suported: false
node.type.management.value.constraints.supported: true
option.access.control.supported: false
option.activities.supported: true
option.baselines.supported: true
option.journaled.observation.supported: true
option.lifecycle.supported: false
option.locking.supported: true
option.node.and.property.with.same.name.supported: true
option.node.type.management.supported: true
option.observation.supported: true
option.query.sql.supported: true
option.retention.supported: false
option.shareable.nodes.supported: false
option.simple.versioning.supported: true
option.transactions.supported: false
option.unfiled.content.supported: false
option.update.mixin.node.types.supported: true
option.update.primary.node.type.supported: true
option.versioning.supported: true
option.workspace.management.supported: true
option.xml.export.supported: true
option.xml.import.supported: true
query.full.text.search.supported: true
query.joins: query.joins.inner.outer
query.languages: javax.jcr.query.JCR-JQOM, javax.jcr.query.JCR-SQL2
query.stored.queries.supported: true
query.xpath.doc.order: false
query.xpath.pos.index: true
write.supported: true
query.cancel.supported: false

- name: Jackalope Prisimic
github: https://github.com/jackalope/jackalope-prismic
website: http://jackalope.github.io
description: |
Work-in-progress - Uses <a href="https://prismic.io">Prismic</a> cloud content system as the storage engine. Currently read-only.
stability: unstable/WIP

- name: PHPCR Midguard2
github: https://github.com/midguardproject/phpcr-midgard2
website: https://github.com/midguardproject/phpcr-midgard2
description: |
Uses <a href="http://midgard-project.org/midgard2">Midgard2</a> open soruce content repository. Not maintained since 2013
stability: unstable/unmaintained

- name: Jackalope MongoDB
github: https://github.com/jackalope/jackalope-mongodb
website: https://github.com/jackalope/jackalope-mongodb
description: |
Uses MongoDB to store data. Not maintained since 2012
stability: unstable/unmaintained
18 changes: 18 additions & 0 deletions _includes/menu.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!-- Menu toggle -->
<a href="#menu" id="menuLink" class="menu-link">
<!-- Hamburger icon -->
<span></span>
</a>
<div id="menu" class="main-menu pure-menu pure-menu-open">
<div class="logo">
<img src="/assets/images/logo.png" />
</div>
<ul class="main-menu-items">
<li class="{% if page.url contains "about" %}pure-menu-selected{% endif %}"><a href="/about">About</a></li>
<li class="{% if page.url == "/index.html" %}pure-menu-selected{% endif %}"><a href="/">News</a></li>
<li class="{% if page.url contains "implementation" %}pure-menu-selected{% endif %}"><a href="/implementations">Implementations</a></li>
<li class="{% if page.url contains "documentation" %}pure-menu-selected{% endif %}"><a href="/documentation">Documentation</a></li>
<li class="{% if page.url contains "tool" %}pure-menu-selected{% endif %}"><a href="/tools">Tools</a></li>
<li class="{% if page.url contains "community" %}pure-menu-selected{% endif %}"><a href="/community">Community</a></li>
</ul>
</div>
68 changes: 68 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/assets/pure-min.css">
<link rel="stylesheet" href="/assets/main.css">
<link rel="stylesheet" href="/assets/syntax.css">
<title>PHPCR - PHP Content Repository</title>
</head>

<body>
<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>

<div id="layout">

{% include menu.html %}

<div class="header">
<h1>{{ page.title }}</h1>
</div>

<div class="content">
{{ content }}
</div>
</div>
</div>
<script type="text/javascript">
(function (window, document) {

var layout = document.getElementById('layout'),
menu = document.getElementById('menu'),
menuLink = document.getElementById('menuLink');

function toggleClass(element, className) {
var classes = element.className.split(/\s+/),
length = classes.length,
i = 0;

for(; i < length; i++) {
if (classes[i] === className) {
classes.splice(i, 1);
break;
}
}
// The className is not found
if (length === classes.length) {
classes.push(className);
}

element.className = classes.join(' ');
}

menuLink.onclick = function (e) {
var active = 'active';

e.preventDefault();
toggleClass(layout, active);
toggleClass(menu, active);
toggleClass(menuLink, active);
};

}(this, this.document));
</script>
</body>
</html>
6 changes: 6 additions & 0 deletions _posts/2014-05-07-New-Website.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
layout: default
title: New Website and new Logo!
---

Welcome to the new website!
30 changes: 30 additions & 0 deletions about/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
layout: default
title: About PHPCR
overview: true
---
<div class="content">
<h3>What is it?</h3>
<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.
</p>
<p>
The typical use case is content management systems.
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>
<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>
<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.
</p>
</div>
Binary file added assets/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading