Skip to content

Commit 0788b7a

Browse files
committed
fix markdown
1 parent d301749 commit 0788b7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tutorial/Tutorial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -707,15 +707,15 @@ Write operations in Jackalope will generate journal entries as expected.
707707

708708
### Node Types
709709

710-
PHPCR supports node types. Node types define what properties and children a node can or must have. The JCR specification explains exhaustivly what node types exist and what they are required to have or not: [http://www.day.com/specs/jcr/2.0/3_Repository_Model.html#3.7.11%20Standard%20Application%20Node%20Types](JCR 2.0: 3.7.11 Standard Application Node Types)
710+
PHPCR supports node types. Node types define what properties and children a node can or must have. The JCR specification explains exhaustivly what node types exist and what they are required to have or not: [JCR 2.0: 3.7.11 Standard Application Node Types](http://www.day.com/specs/jcr/2.0/3_Repository_Model.html#3.7.11%20Standard%20Application%20Node%20Types)
711711

712712
In a nutshell:
713713
* nt:unstructured does not define any required properties but allows any property or child.
714714
* nt:file and nt:folder are built-in node types useful to map a file structure in the repository. (With jackalope-jackrabbit, files and folders are exposed over webdav)
715715
* for your own things, use nt:unstructured and PHPCR will behave like a NoSQL database
716716
* if you need to store additional properties or children on existing node types like files, note that while a node can have only one primary type, every node can have any mixin types. Define a mixin type declaring your additional properties, register it with PHPCR and addMixin it to the nodes that need it.
717717

718-
You can define your own node types if you want the equivalent of a strictly defined database structure. See [http://www.day.com/specs/jcr/2.0/3_Repository_Model.html#3.7%20Node%20Types](JCR 2.0: 3.7 Node Types) and [JCR 2.0: 19 Node Type Management](http://www.day.com/specs/jcr/2.0/19_Node_Type_Management.html) / [PHPCR Node Type Namespace](http://phpcr.github.com/doc/html/phpcr/nodetype/package-summary.html).
718+
You can define your own node types if you want the equivalent of a strictly defined database structure. See [JCR 2.0: 3.7 Node Types](http://www.day.com/specs/jcr/2.0/3_Repository_Model.html#3.7%20Node%20Types) and [JCR 2.0: 19 Node Type Management](http://www.day.com/specs/jcr/2.0/19_Node_Type_Management.html) / [PHPCR Node Type Namespace](http://phpcr.github.com/doc/html/phpcr/nodetype/package-summary.html).
719719

720720

721721
## Performance considerations

0 commit comments

Comments
 (0)