Comments (1)
That sounds sensible. The main use case for multiple repositories as far as I see is building a resource tree using a mix of different repositories - e.g. combining ODM, ORM and filesystem.
default
sounds like the way forward.
Be aware though that the configuration is currently;
cmf_resource:
<repository type>
<repository name>
so:
cmf_resource:
repositories:
doctrine_phpcr_odm:
default:
Would be ideal to have:
cmf_resource:
repository:
default:
type: doctrine_phpcr_odm
orm_products:
type: doctrine_orm
composite_tree;
# ...
or similar.
from resource-bundle.
Related Issues (11)
- Case where default registry has not been created is not handled.
- Move functional tests to this bundle. HOT 1
- ResourceName instead of ResourceAlias. HOT 1
- Use doctrine/phpcr-odm, doctrine/orm as type names? HOT 3
- Resource debug / describe command.
- Default repository when null specified. HOT 1
- move route should respect children restrictions
- Non-existent parameter cmf_resource.repositories.default_name HOT 1
- Change repository configuration structure
- basepath or base_path also basedir HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from resource-bundle.