Giter VIP home page Giter VIP logo

jackalope-fs's Introduction

Jackalope Test application Static analysis

A powerful implementation of the PHPCR API.

You can use Jackalope with different storage backends. For now, we support:

  • relational databases with the DoctrineDBAL backend. Works with any database supported by doctrine (mysql, postgres, ...) and has no dependency on java or jackrabbit. For the moment, it is less feature complete. See jackalope-doctrine-dbal
  • Jackrabbit server backend supports many features and requires you to simply install a .jar file for the data store component. See jackalope-jackrabbit

Discuss on [email protected] or visit #jackalope on irc.freenode.net

License

This code is dual licensed under the MIT license and the Apache License Version 2.0. Please see the file LICENSE in this folder.

Install instructions

Go to the repository of the storage backend you want and follow the instructions there.

Implementation notes

See doc/architecture.md for an introduction how Jackalope is built. Have a look at the source files and generate the phpdoc.

Contributors

jackalope-fs's People

Contributors

alexander-schranz avatar chirimoya avatar dantleech avatar dbu avatar kleinkind avatar lsmith77 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jackalope-fs's Issues

Feature parity with Doctrine-Dbal implementation

  • 04_Connecting
  • 05_Reading
  • 06_Query
  • 07_Export
  • 08_NodeTypeDiscovery
  • 09_PermissionsAndCapabilities
  • 10_Writing
  • 11_Import
  • 12_Observation
  • 13_WorkspaceManagement
  • 14_ShareableNodes
  • 15_Versioning
  • 16_AccessControlManagement
  • 17_Locking
  • 18_LifecycleManagement
  • 19_NodeTypeManagement
  • 20_RetentionAndHold
  • 21_Transactions
  • 22_SameNameSiblings
  • 23_OrderableChildNodes
  • PhpcrUtils

Search doesn't work on "newly" persisted nodes

Although the tests pass for querying nodes, additional nodes (f.e. by way of the phpcr shell) are not found.

PHPCRSH > node:property:set foobar "bar"
PHPCRSH > save
PHPCRSH > select * from [nt:unstructured] where foobar = "bar";
+------+-------+
| Path | Index |
+------+-------+
0 rows in set (0.03 sec)

Querying works for "original" nodes however (which seems to be why the tests pass)

PHP 7.4 Support

Currently php 7.4 is not supported fully because key() function is used on an \ArrayObject here:

$referrerPaths[] = sprintf('%s/%s', key($referrer), $propertyName);

Array functions do since 7.4 not longer work on ArrayObjects or iterators (see):

php7.3 -r 'var_dump(key(new \ArrayObject(["test" => "123"])));' // returns string(4) "test"
php7.4 -r 'var_dump(key(new \ArrayObject(["test" => "123"])));' // returns null

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.