Have on mind that this post comes from someone who still after very few projects in EE is still a newcomer. That being said I’m looking forward to start a new project with a “best practice” approach. So, after listening and learning so much from the “unofficial” podcast with @lealea and @emilylewis (hopefully @mediagirl becomes part of the show) I’m in this anti-embed situation:
For I what I heard and read, {embeds} are not the best approach since they use many resources. But still I find no alarm or recommendation from EllisLab on how NOT to use them. The community via #eecms has shared some insights @Boyink tells me “try embeds and measure performance yourself. They still work fine in most cases.” @jasonleelab recommends Low Variables and @pauloelias goes for a Stash approach.
I thought about using Template Morsels and tried Stash Embed with very bad results: pages wont refresh and it was a design nightmare. (I did tried https://github.com/croxton/Stash/blob/dev/docs/working_with_files.md approach and I’m sure I’m doing something wrong).
I’m trying to find the best DRY method that doesn’t affect the site’s performance. At this point I have some HTML code that I want to use on several templates, a couple of {exp:channel:categories channel="Publicaciones" style="nested"} , etc. But I’m heading to a user site with lots of sessions and downloads and really wish to start the best way.
Any ideas? Thanks!