jackalope/jackalope-fs 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jackalope/jackalope-fs

最新稳定版本:0.0.4

Composer 安装命令:

composer require jackalope/jackalope-fs

包简介

Jackalope Transport library using the filesystem

README 文档

README

Test application

This is a WIP implementation to support a filesystem implementation of PHPCR.

Connecting

Connect as follows:

$factory = new RepositoryFactoryFilesystem();
$repository = $factory->getRepository(array(
    'path' => '/home/mystuff/somefolder',
));
$credentials = new SimpleCredentials('admin', 'admin');
$session = $repository->login($credentials);

Options:

  • path: (required) Path to store data, indexes, etc.
  • search_enabled: If search should be enabled or not (default true)

Limitations

Node copy

  • References not updated within copied subtree (this test is missing from PHPCR-API tests)

Querying

ZendSearch Lucene (native PHP)

Not supported:

  • Node type inheritance: Currently node type inheritance is not taken into account - this should be fixed ASAP
  • Joins: Will need to be implemented in a post processor
  • LOWERCASE, UPPERCASE, LENGTH operands: Same as above
  • SQL and XPath query langauges: Will probably never be implemented
  • Full text search: Easy to implement if we add an additional search index

File handling

  • Files (binary data in the repository) are not current handled in a memory efficient manner. This will be addressed.

Testing

The default ZendSearch implementation doesn't behave very well when the full test suite is being run - it will tend to become corrupt after a certain number of operations. It is therefore necessary to batch the tests.

统计信息

  • 总下载量: 2.02k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 8
  • 点击次数: 0
  • 依赖项目数: 5
  • 推荐数: 0

GitHub 信息

  • Stars: 8
  • Watchers: 15
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-09-17