Open brianharcourt opened 2 years ago
Name | Link |
---|---|
Latest commit | ab72131e8e058c9ee1ec38f2cfb79641553f0818 |
Latest deploy log | https://app.netlify.com/sites/taffy-docs/deploys/624c4f20b6a1700008c29b05 |
I've not used it, but since you're referencing framework.aop
I assume this is actually AOP/1 instead of FW/1 or DI/1?
Ah - maybe I'm deploying FW/1 sub-optimally. I'm using it to get aop but I thought I was deploying the whole framework. FW/1 suggests that deploying the framework involves extends=framework.one
but I'm extending taffy.core.api
. The only way I could get aop was to instantiate as shown. If I tinker further I'll report here.
AOP is a feature/addon for dependency injection. Indeed, aop.cfc
extends DI/1:
https://github.com/framework-one/aop1/blob/bdc7b916a818bd2731c8d51122fe09f098258bba/aop.cfc#L1
Taffy supports using DI/1 as its bean factory but I've never tried it with AOP/1, which should work as a drop-in replacement for DI/1.
Name | Link |
---|---|
Latest commit | ecef9477d0664525c0be9f3df6f1808e77df0541 |
Latest deploy log | https://app.netlify.com/sites/taffy-docs/deploys/64bf32045d9ee10008afffe1 |
My implemention instantiates FW1 as:
To get it operating I needed to make these changes: