[TYPO3-mvc] DAM in ExtBase
Felix Oertel
mehl at foertel.com
Mon May 17 22:13:53 CEST 2010
Hey,
Am 17.05.10 18:05, schrieb Nils Blattner:
> It's very basic at the moment, but I thought instead of everyone making
> their own DAM ports to extbase I'd start with a common ground.
ya, propably that's a good idea. i did quite some dam-extbase-stuff as well.
first i mapped dam images incl. meta data into an DamImage model (ok, i
admit, that's quiet boring ;-) )
i built an viewHelper <f:dam image="{damImageObject}" /> forming the
image tag inkl. rendering, caching, alt- and meta-tags, etc pp ...
i mapped dam categories into an damCategory model, tuned dam's TCA a
little so extbase is able to resolve the mm-relation and to map the
contained images into the images-property of the category model. now
you're not limited to fixed sets of images anymore but able to use
categories (and selections) directly to display the contained images
dynamicly.
of course parent-categories work as well, so you can even build up a
tree, some sort of album-hierachy.
i'd love to share some code as soon as the project is ready for
take-off. ;-)
regards, foertel
More information about the TYPO3-project-typo3v4mvc
mailing list