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 :)

C347affc11bc313dc3da2398936d305a?s=128

Willem-Jan Zijderveld

September 14, 2013
Tweet

Transcript

  1. PHPCR A (BETTER) WAY TO STRUCTURE YOUR CONTENT PFCongres 2013

    Uncon - 14 september 2013
  2. WILLEM-JAN ZIJDERVELD PHP DEVELOPER AT BEELDSPRAAK Twitter: @willemjanz Blog: blog.willem-jan.net

    Github: github.com/wjzijderveld Email: wjzijderveld@gmail.com This is my very first talk, please be gentle
  3. 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
  4. 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
  5. WHAT IS PHPCR Ported from for TYPO3/Flow3 Removed JAVA overhead

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

    type A node has a path Nodes can have named properties with values
  7. WHAT IS PHPCR WORKSPACES Can be compared with branches in

    a VCS or with a filesystem
  8. WHO IS USING IT Jackalope (Jackrabbit/Doctrine-DBAL) Symfony CMF ServerGrove KnowledgeBase

    TYPO3 Vespolina and Sylius Midgard2
  9. WHEN TO USE IT Hierarchical data With compound data; like

    attachments or translations When you need versioning When in need of FullText search
  10. WHEN NOT TO USE IT Strict structured data Aggregation

  11. QUESTIONS?