GithubHelp home page GithubHelp logo

jackalope / jr_cr Goto Github PK

View Code? Open in Web Editor NEW
4.0 10.0 0.0 5.72 MB

A phpCR prototype implementation using the Zend Java Bridge and the jackrabbit davex client

Home Page: https://fosswiki.liip.ch/display/jackalope/jr_cr

Shell 0.03% PHP 99.97%

jr_cr's Introduction

********************************
phpCR Prototype with java bridge
********************************
http://liip.to/jackalope

ebi at liip.ch
david at liip.ch
chregu at liip.ch

*****
Usage
*****

This is a prototype implementation of phpCR mapping all calls to the jackrabbit
java client libraries. It requires the zend java bridge in order to use java
inside PHP.
http://github.com/k-fish/PHPCR

To see how to set up the prototype, have a look at
https://fosswiki.liip.ch/display/jackalope/Getting+the+jr_cr+prototype+running+with+Zend+Server

To run the tests, make sure you use the phpunit from zend and not your system's
phpunit binary.
$ /usr/local/zend/bin/php-cli /usr/local/zend/bin/phpunit tests/level1/ReadTest.php

*****
Setup
*****

Setting up submodules
*********************

After the first clone, don't forget to

git submodule init
git submodule update

Installing PHPUnit
******************
Make sure you use the pear from Zend.
See http://www.phpunit.de/manual/current/en/installation.html
$  /usr/local/zend/bin/pear install phpunit

Dependencies
************

java in PATH
PHPUnit in PATH
PHPUnit in include_path

Setting up Jackrabbit
*********************
- Create tests workspace which is different from your default workspace.
See http://jackrabbit.apache.org/jackrabbit-configuration.html#JackrabbitConfiguration-Workspaceconfiguration
Or:
- Go to the directory you started jackrabbit-standalone (eg. /opt/svn/jackrabbit/jackrabbit-standalone/target)
- cd jackrabbit
- cd workspaces
- cp -r default tests
- cd tests
- change <Workspace name="default"> to <Workspace name="tests">
- start jackrabbit again

jr_cr's People

Contributors

chregu avatar dbu avatar ebi avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

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.