Part of this mastery is how Stacks isolates and ring fences each stack’s code into their own sections which stops one stck from stepping all over others on the same page. The downside is that it creates a lot, A LOT, of code for the page.
There is some truth in this, but as with all things, its improved over time. In order for Stacks to encapsulate each stack added to the page, there are 2 div wrappers added. Each stack is also assigned and ID so that the CSS and JS can be properly scoped. This ensures that stacks function independently on the page and there is no style overlap. As you said most users should not care about this at all.
The community of RapidWeaver add-on developers is larger than it has ever been. As with anything, if you are wise with whom you purchase from, you should have smaller & cleaner code output. I personally work very hard to produce the smallest and cleanest amount of code out there.
When Stacks 3 was released last year, it has some new APIs that allowed developers to ditch the 2 div wrappers. However, not even I am removing the wrappers from all of my products because they do indeed serve an important purpose. They are not just fluff. However, where ever its possible, I definitely try to not use them. In fact with my next major release of Foundation, you will be hard pressed to differentiate sites built with it from a site coded by hand!
As of right now, my current Foundation product still produces some of the cleanest RapidWeaver site out there. The reason for this is that it loads the entire Foundation open source framework once on the page. Then you can add as many of the Foundation stacks as you want on the page and it adds virtually zero overhead to the page CSS or JS.
This is why its been really taken the RapidWeaver community by storm. I have many users that used to hand code using the Foundation framework. However, they moved over because move sites using my add-on was so much easier and more fun to use. It also produce much leaner websites. As I said earlier, the next version will be even better.
freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options