-
Notifications
You must be signed in to change notification settings - Fork 94
Find solution for TaxonomyBundle #161
Comments
the taxonomy library is supposed to be framework agnostic. Hence the taxonomy bundle is required to integrate it with symfony2. No other vespolina ecommerce component should be required at all. The implementation of a PHPCR Gateway would be needed (and is planned) to make the integration with CMF complete. Forms, potential widgets (eg. tag completion) could be shared amongst both projects. |
ok, so I guess we can take it as given that we can collaborate on the Taxonomy library (I will be happy to do a PR for PHPCR-ODM integration). But where the Bundle is concerned, its not clear to me if we can share the same instance. I notice already in the So, I guess the questions are:
|
I guess an example of CMF stuff might be having SonataAdmin integration and CMF Blocks included. |
probably just using the vespolina taxonomy component will be easier and make more sense. if the bundle has cool non DI stuff that we want to use, we should help them push it up into the component. unless the vespolina bundle is really meant totally independent and they want us to help ensure it really is independent. |
@dbu looked into https://github.com/Sylius/SyliusTaxonomiesBundle |
see also Sylius/Sylius#316 |
so aparently sonata just created a ClassificationBundle http://sonata-project.org/blog/2013/10/7/newsbundle-classificationbundle |
The Main difference between
Making use of FormTypes has my preference. I am planning on integrating symfony-cmf, and a taxonomybundle for my application. That is why probably I will implement the bundle that is the result from the discussion in this issue. |
hi, no for 1.0 we won't have any of this, as we will tag like tomorrow. |
I have put some time in to designing and brainstorming a ("CMF") TaxonomyBundle. I had been reluctant to move on this as there are already a few candidate projects. I decided to go ahead and persue a new one just because I wanted to and the candidate projects didn't correspond with my vision. Will see how it turns out and if it will be a suitable candidate for a CMF bundle. |
@dantleech does your concept bundle has I would use it, if it is possible to implement it for my current Sf2.3 application. |
The concept has Taxonomies and Taxons. Basically you can attach taxons to anything and taxons belong to taxonomies. Taxonomies can either dynamic or fixed, flat or hierachical, and sourced by taxonomy drivers - you would be able to load taxonomies from a database source or directly from configuration. A category is just a many-to-one relationship with a Taxon. I'm just playing with ideas at the moment, any prototype version would probably have some CMF deps, if it works out really well I will make the reusable stuff into a component. |
stumbled over yet another one: https://github.com/Kunstmaan/KunstmaanTaggingBundle (kunstmaan seems to be a clone (feature wise) of sonata: having an admin, pages, blocks (pageparts), seo, media and so on...) |
Any update on the bundle that will be used in symfony-cmf? |
Not yet. @dbu wants to work on integrating the Sylius TaxonomyBundle but I think he is having difficulty finding time, as mentioned before I am interested in (attempting) to create a new bundle, but also am lacking in time. |
The KunstmaanTaggingBundle has dependencies on, for example, their own AdminList bundle. Another option I've found is: https://github.com/FabienPennequin/FPNTagBundle |
okay, there is my PR on sylius to add phpcr-odm mappings: Sylius/Sylius#647 they have subtree splits for their TaxonomyBundle and the ResourceBundle which seems to be the sylius equivalent of our CoreBundle. i would be very glad if somebody could try this stuff out and report if it works as expected. |
hi, let me bump the issue... |
@xjailbreaker the most productive thing would probably be trying out the branch above - Sylius/Sylius#647 - or you could use an ORM taxonomy and find a way to bridge ORM and PHPCR-ODM. |
Sylius taxonomy isn't usable as a standalone bundle (this one has a lot of hardcoded deps, etc). Requiring this extension will download all the sylius and so on... |
I just started a bundle specific to PHPCR ODM: https://github.com/dantleech/PhpcrTaxonomyBundle Basically the focus is just on having something that will work now and which isn't worried about supporting all the storage engines. Its nearly "finished" I just need to get PHPCR-ODM to behave. |
@xjailbreaker strange that you got all of sylius installed, when reading https://github.com/Sylius/Sylius/blob/master/src/Sylius/Bundle/TaxonomiesBundle/composer.json#L26 it depends on sylius/resource-bundle only, which in turn does not require any other sylius bundles https://github.com/Sylius/Sylius/blob/master/src/Sylius/Bundle/ResourceBundle/composer.json#L22 are you sure you only required sylius/taxonomies-bundle and not sylius/sylius? or is the doc mentioning an outdated version maybe that depends on too many things? composer now says that the current master branch is 1.0-dev so maybe you should use 1.0.*@dev instead of 0.2? |
May I get the status on this issue ? How are things going ? |
as far as i know, nobody is working on this at the moment. @dantleech would you happen to know anything more? |
Nothing new. You can checkout the Sylius TaxonomyBundle which offers, I
Which offers "tag" taxonomies for PHPCR, but although its being used on On Mon, Sep 19, 2016 at 02:00:37AM -0700, David Buchmann wrote:
|
The CMF certainly needs a Taxonomy feature. The question is how we go about it.
I think we should use the
vespolina/VespolinaTaxonomy
library, and potentially thevespolina\VespolinaTaxonomyBundle
.I am guessing that in any case we will need at least an integration bundle in the CMF -
SymfonyCmfTaxonomyBundle
.\cc @inspiran - what do you think? In your opinion should we use the TaxonomyBundle or would that bundle be coupled with Vespolina? And if so, it would be a shame not to share things like form types and other SF2 stuff.
The text was updated successfully, but these errors were encountered: