There is a tag named 'smart_embed' that I coded way back into Couch v1.1. However, I decided not to document it as, I thought, it appeared to solve a problem that probably did not matter much.
A couple of sites I recently built made me rethink my decision. The smart_embed tag proved to be an absolute life-saver for me.
The concept behind the tag is a well known one amongst coders - Convention over Configuration (AKA also known as Coding by convention) where we rely on naming (file-names in our case) in-lieu of coding complex decisions.
I have made on-line a detailed explanation here
http://couchcms.com/docs/miscellaneous/smart_embed.html.
Would love to get your thoughts on it.
A couple of sites I recently built made me rethink my decision. The smart_embed tag proved to be an absolute life-saver for me.
The concept behind the tag is a well known one amongst coders - Convention over Configuration (AKA also known as Coding by convention) where we rely on naming (file-names in our case) in-lieu of coding complex decisions.
I have made on-line a detailed explanation here
http://couchcms.com/docs/miscellaneous/smart_embed.html.
Would love to get your thoughts on it.