Skip to content

Commit 73cb9ac

Browse files
committed
updating slides
1 parent 52b6f3c commit 73cb9ac

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

slides.html

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html><head><!-- To render these slides you need Slippy https://github.com/Seldaek/slippy --><title>PHPCR Introduction</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="author" content="PHPCR"><meta name="email" content="phpcr-users@googlegroups.com"><meta name="date" content="2011-09-29"><meta name="venue" content="The Internets"><!-- Slippy core file and dependencies --><script type="text/javascript">/*!
2+
<html><head><!-- To render these slides you need Slippy https://github.com/Seldaek/slippy --><title>PHPCR Introduction</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="author" content="PHPCR"><meta name="email" content="phpcr-users@googlegroups.com"><meta name="date" content="2012-03-22"><meta name="venue" content="The Internets"><!-- Slippy core file and dependencies --><script type="text/javascript">/*!
33
* jQuery JavaScript Library v1.5.1
44
* http://jquery.com/
55
*
@@ -1905,11 +1905,11 @@ <h2>PHPCR Features</h2>
19051905
<li>Search nodes</li>
19061906
<li>Versioning</li>
19071907
<li>Capability discovery</li>
1908-
<li>XML import (*) and export</li>
1908+
<li>XML import and export</li>
19091909
<li>Locking &amp; Transactions</li>
19101910
<li>Permissions &amp; Access Control (*)</li>
1911-
<li>Observation (*)</li>
1912-
</ul><br><p>(*) Currently under work</p>
1911+
<li>Observation</li>
1912+
</ul><br><p>(*) Not yet implemented in Jackalope</p>
19131913
</div>
19141914

19151915
<div class="slide">
@@ -1948,10 +1948,10 @@ <h2>Properties</h2>
19481948
<div class="slide">
19491949
<h2>Primary Node Types</h2>
19501950
<ul><li>Defines allowed names and types for properties and child nodes</li>
1951-
<li>Every node must have a type</li>
1951+
<li>Every node must have a primary node type</li>
19521952
<li>Use <tt>nt:unstructured</tt> to allow anything</li>
19531953
<li>Some other built-in types: <tt>nt:address, nt:folder, nt:file</tt> ...</li>
1954-
<li>Define custom types or just use <tt>nt:unstructured</tt></li>
1954+
<li>Define custom types to control your "schema"</li>
19551955
</ul></div>
19561956

19571957
<div class="slide">
@@ -1992,11 +1992,14 @@ <h1>PHPCR code examples</h1>
19921992
<h2>Connecting via PHPCR</h2>
19931993
<pre class="brush: php">
19941994
// start of implementation specific configuration //
1995+
use Jackalope\RepositoryFactoryJackrabbit as Factory;
1996+
19951997
$parameters = array(
19961998
'jackalope.jackrabbit_uri'
19971999
=&gt; 'http://localhost:8080/server'
19982000
);
1999-
$repository = \Jackalope\RepositoryFactoryJackrabbit::getRepository($parameters);
2001+
2002+
$repository = Factory::getRepository($parameters);
20002003
// end of implementation specific configuration //
20012004

20022005
$creds = new \PHPCR\SimpleCredentials('user','pw');
@@ -2027,7 +2030,7 @@ <h2>CRUD operations</h2>
20272030
</div>
20282031

20292032
<div class="slide">
2030-
<h2>Tree API</h2>
2033+
<h2>Tree Traversal API</h2>
20312034
<pre class="brush: php">
20322035
$node = $session-&gt;getNode('/site/content');
20332036

0 commit comments

Comments
 (0)