Ticket #218 (closed enhancement: wontfix)

Opened 2 years ago

Last modified 2 years ago

Allow grouped circuits to be added with one line in fusebox.xml.cfm

Reported by: serious Owned by: sean@…
Type: enhancement Priority: normal
Milestone: Fusebox 5.5 Component: Miscellaneous
Version: 5.5 Severity: normal
Keywords: Cc:

Description

There is a lot of mention of automatic discovery of dropped in circuits, but it should also be possible to continue defining them in fusebox.xml, so this enhancement would allow the definition of a path based group of circuits.

For example by defining in fusebox.xml a yet-to-be-named variable ('package' for example purposes) with <package alias="fb.forum" path="org.fuseboxframework.Forums"/>

Then all circuit files within the sub folders of /fuses/org/fuseboxframework/forums should be added with the defined alias. (assuming a circuit root folder was defined as '/fuses')

So /fuses/org/fuseboxframework/forums/users (fa:list)
Could be accessed by the application as:
do fb.forum.Users.list

There would need to be addition of both the alias circuit and original circuit path so that the controller for the package can always find other package circuits it may rely on.

This is reliant on ticket #213 and #217 and could be enhanced by #214

This will allow for the drop in of groups of circuits for specific functions like forums or trac_fu or function libraries whilst allowing for the core application to be able to access the functionality of the dropped in circuits, something being able to define multiple applications does not appear to do from what I understand.

Please refer to the following URL and #213 to read discussions on elements relating to this ticket:
http://www.fusebox.org/forums/messageview.cfm?catid=8&threadid=5826

Attachments

Change History

Changed 2 years ago by scorfield

  • status changed from new to closed
  • resolution set to wontfix

This adds a lot of complexity for very little benefit. One of the key goals of Fusebox 6.0 is to *simplify* things - people already feel there is too much XML and too much complexity in it.

Note: See TracTickets for help on using tickets.