Skip to content

mazedigital/association_output

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Association Output for Symphony: Inline XML

When working with associated entries in Symphony, you usually need two Data Sources to fetch all your content:

  • one that returns your parent entry, adding the ids of your associations to the parameter pool and
  • another one that returns your associations based on these values in the pool.

While this concept is powerful, it results in related content that is spread across different nodes you have to manually match in your XSL templates. Association Output simplifies this process by providing an interface to select associated content directly in your main Data Source. Associated entries will be returned inline in your Data Source – no need to set output paramters and secondary Data Sources.

Performance and Caching

Under the hood, Association Output creates output parameters dynamically and uses core Data Sources to fetch the associated entries. So there shouldn't be any noticeable performance differences between the usual approach to attach associated entries and this one. Please keep in mind though that returning a few thousand associations in your XML will result in declined performance, as usual.

Caching should work as with any other Data Source.

Field Compatibility

Association Output is compatible with all fields using Symphony's core association system:

Acknowledgement

This project has kindly been funded by Bernardo Dias da Cruz, Ben Babcock, Juraj Kapsz, Daniel Golbig, Vojtech Grec, Andrea Buran, Brendan Abbot, Roman Klein, Korelogic, Ngai Kam Wing, David Oliver, Patrick Probst, Mario Butera, John Puddephatt, Goldwiege, Andrew Minton, munki-boy, Martijn Kremers, Ian Young, Leo Nikkilä, Jonathan Mifsud and others. Read more.

If you like this extension, please consider a donation to support the further development.

PayPal Donation