Upgrade to Pro — share decks privately, control downloads, hide ads and more …

PHPCR: A (better) way to structure content

PHPCR: A (better) way to structure content

As presented at PFcongres Uncon 2013.

It was my very first talk, at way to shirt to explain the concept. So thats already 1 thing I learned :)

Willem-Jan Zijderveld

September 14, 2013
Tweet

More Decks by Willem-Jan Zijderveld

Other Decks in Programming

Transcript

  1. WILLEM-JAN ZIJDERVELD PHP DEVELOPER AT BEELDSPRAAK Twitter: @willemjanz Blog: blog.willem-jan.net

    Github: github.com/wjzijderveld Email: [email protected] This is my very first talk, please be gentle
  2. WHAT'S THIS TALK ABOUT PHP CONTENT REPOSITORY Why would I

    need PHPCR What is PHPCR Who is using it When to use it When not to use it
  3. WHY WOULD I NEED PHPCR CMS data isn't always structured

    NoSQL isn't always a fit, but has similarities Makes it easy to switch storage engines A lot of build-in features
  4. WHAT IS PHPCR Ported from for TYPO3/Flow3 Removed JAVA overhead

    Added PHP specifics Some naming changed PHPCR Utils Tree of nodes JCR-283
  5. WHAT IS PHPCR NODES Nodes have a name and a

    type A node has a path Nodes can have named properties with values
  6. WHEN TO USE IT Hierarchical data With compound data; like

    attachments or translations When you need versioning When in need of FullText search