Hi, I’m having a play with dry-web-roda and dry-view and I’m clearly missing how things work.
I’m trying to use the forme and assets plugins for Roda…but Roda plugins don’t automatically show up in the dry-view “context”. I have no idea what I’m supposed to do to connect things up.
I’m sure there is some simple “a-ha!” moment waiting for me. I’ve dug through the code and I’ve even managed to find a (not very appealing) way of getting the roda instance into my views (by passing it in as a local variable) so that I can call
roda.form. But even that isn’t enough to allow me call
roda.assets from the application layout.
I’ve searched for example applications that might help. But most seem incomplete, out-of-date, or simply too simplistic to show things like I’m trying to do.
I’m struggling with dry-container, I think. I don’t really get what problem it solves - it isn’t one that I seem to have encountered. I suspect I somehow need to connect roda, the container and the view context - but I have no clue how.
If anyone could spare the time to explain what I’m missing here, it would be greatly appreciated.
Thanks in advance.