[Flow] Tags as a model

Dominique Feyer dfeyer at ttree.ch
Fri Apr 18 17:46:25 CEST 2014


Yes currently no « out of the box » solution.  But you can do it in a custom Flow package ;)

Bests,

--   
ttree sàrl  
Dominique Feyer  
Rue du Valentin 34 et demi
CH - 1004 Lausanne
+41 21  312 36 35  
dfeyer at ttree.ch
ttree.ch - @ttreeagency - plan d’accès

Le 17 avril 2014 à 21:40:03, Rik Willems (rik at metmeer.nl) a écrit:

Hi Dominique,

Thanks for this hint, I'll look into it.
Understanding your words I understand no implementation is available  
that has a similar type of relation? For me it's not about tags or  
taxonomy per se, more about the principle in general. Implementing it as  
tags later on would be a nice benefit.

Cheers!

Dominique Feyer schreef op 17-04-14 17:40:
> Taxomony is not an easy topic at all ;)
>
> For a basic idea of Taxonomy and Taxon, read:
> http://sylius.readthedocs.org/en/latest/bundles/SyliusTaxonomiesBundle/taxonomy_and_taxon.html
>
> To support finding multiple entities type during the same query, you can use a « relation object » , with property like:
>
> object (UUID of the tagged object)
> className (classname of the tagged object)
> taxon (UUID of the taxon object)
> createdAt (when the taxon as been applied)
>
> With a dedicated Repository you can retrieve entity my className (or type), or by taxon (or tag).
>
> The relation in the DB are weak so you don’t have a real relation between your « relation object » and the entity. So you need some logic to cleanup the index if some entry are removed, … Maybe simply adding an annotation « Taggeable » in the entity can be a solution.
>
> For your rating system, you can found some inspiration in the taxonomy topic, but in the case your Relation Object must store some other data, like the rating, the user who do the rating, ...
>
> Hope that help,
>
> Bests,
>
> --
> ttree sàrl
> Dominique Feyer
> Rue du Valentin 34 et demi
> CH - 1004 Lausanne
> +41 21 312 36 35
> dfeyer at ttree.ch
> ttree.ch - @ttreeagency - plan d’accès
>
_______________________________________________
Flow mailing list
Flow at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/flow


More information about the Flow mailing list