This group sounds like a good place for this post. I feel so lonely in this world, without any feedback, any hope...
Originally i wanted to write a module that would change the "Rewrite the output of this field" section in Views UI (actually i did write it, but a bit differently at the end). I realized that this section is situated in an object (a views handler), and from that object, many other objects are inheriting this section. So to have this section appear differently as i wanted it in all the fields (all the handlers), it seems like there are two ways to go.
Trying to make the handler which is at the beginning of this chain of inheriting classes work with composition, or generate many classes (with the same content) inheriting from all the classes in the chain and tell views to use them. I chose the second way. The advantage is that the mechanism behind it can sit fully out from views code, if views itself does have an interface for registering those generated handlers for use, which it has. So now all this consists from these parts:
- Decorator - containing the mechanism of bulk generation of classes for general use
- Views Decorator - module which implements the above on views and defines an interface (a hook) for other modules to use
- Views Field Rewrite - module containing the actual handler "code template"
Here is the initial issue:
http://drupal.org/node/872780
It's probably not very clearly formulated. But anyway...
Does this make any sense?
