RE: [fusebox5] Getting a list of circuits
Yes that would be good.
I was thinking of extending the tool to get a list of the fuses too but once the circuit is there I can use the normal CFC metadata.
So something as simple as exposing something like myFusebox.isExecutable("circuit.fuseaction") or isValidCircuit("mycircuit") could potentially give you the functionality you need?
On Tue, Feb 24, 2009 at 3:54 PM, Kevin Roche <kevin@...> wrote:
The use case is a modular application which we want to sell. In particular we don’t want to deliver code for parts that have not been bought. People have to pay for each module. Installing the module only consists of copying the modules files to the right directory. In FB3 it was easy to use the existence or not of a particular circuit to drive the functionality of the system. Each module can find out what other modules exist.
In FB3 there were some if statements in the FBX_Circuits.cfm to make sure it found what was there but was all possible. In FB5 I can’t see how to do that since there is no equivalent.
As a follow up to that statement if you can get a use case together to explain what you are doing and what you need form fusebox to make it easier/plausible we can move from there to get an enhancement into the core. If you don't want to share it publicly for IP reasons I understand feel free to email me off the list.
On Tue, Feb 24, 2009 at 8:57 AM, Adam Haskell <a.haskell@...> wrote:
Well hold on. If you don't register your circuits with Fusebox it does JIT compilation. In otherwords if you are using implicit circuits Fusebox deduces this real time so you can not get an accurate list of all your circuits. Fusebox does not scan directories at start up to build that list up, or at least I don't recall it doing that ;).
On Tue, Feb 24, 2009 at 6:39 AM, Sandra Clark <slLists@...> wrote:
Use the array
I am just beginning the conversion of a Fusebox 3 application to Fusebox 5.5 and one thing the application did was based on getting a list of its own circuits. I can’t see how to get that in FB5.5.
Anyone know how?