Mach-II/Mach-II-Framework — Issue #20: Implement a pattern loader that allows listener, filters, and plugins to be loaded by convention
Author: mpwoodward
Created: 2012-03-01 00:54:43+00:00
State: open
Labels: enhancement

(Moved from http://trac.mach-ii.com/machii/ticket/220)

Similar to view-loader, implement listener-loader that allows listeners to be loaded by convention.

Changed 3 years ago by peterfarrell

Cc jorgeloyo@gmail.com, kurtwiersma, mattwoodward, brianfitzgerald added
Thanks for logging this feature enhancement Jorge. Trying to figure out how to map CFC dot path pattern like myApp.listeners.** to file system paths we can traverse over. There isn't always a one to one comparison that. I guess would could expand path on text in before the first . (dot) in the pattern.

Maybe syntax like so:

``
` `
` `
` `
` `
` `
` `
` `
` `
``

Any thoughts on this?

comment:2 Changed 2 years ago by kurtwiersma

Summary changed from Implement listener-loader that allows listeners to be loaded by convention to Implement a pattern loader that allows listener, filters, and plugins to be loaded by convention
Could allow you to define a base path as an attribute to the listeners or filters tags or we could follow the view-loader configuration. You should be able to provide parameters to the listeners/filters/plugins/ by just specifying the name of the object rather then its full path.

comment:3 Changed 2 years ago by kurtwiersma

Owner changed from peterfarrell to kurtwiersma
Status changed from new to assigned
comment:4 Changed 2 years ago by peterfarrell

Milestone changed from Mach-II 1.9.0 Un-Targeted to Mach-II 1.9.0 Milestone 4
Re-targeted for the Integrity Milestone 4

comment:5 Changed 15 months ago by peterjfarrell

Milestone changed from Mach-II 1.9.0 Milestone 4 to Mach-II 1.9.0 Milestone 3
Re-targed to 1.9 M3

comment:6 Changed 13 months ago by peterjfarrell

Milestone changed from Mach-II 1.9.0 Milestone 3 to Mach-II 1.9.5 Milestone 1
Re-targeting low priority items to 1.9.5 so we can get 1.9.0 M3 out.