i am currently planning the architecture of a highly dynamic portal (meaning Neos-driven website with several login areas with lots of plugins). I am a bit worried to grow a lot of duplicated frontend code because plugins are controller/fluid based and the static markup is generated by fusion/afx.
Did anybody of you have ideas how to approach this? I am thinking about a viewHelper which renders fusion prototypes by providing the context (not specific fusion paths like the fusion:render viewHelper that is already there). That way i would be able to reuse the molecules in my plugins also. Do you think this would be a good aproach?