On 7/15/05, Joe Germuska <[EMAIL PROTECTED]> wrote:
> Probably the biggest other thing is the "extends" mechanism which
> allows most config elements to extend others, eliminating some
> redundancies in config files.  To be honest, I haven't used this much
> yet, but I can see where it would be pretty handy.

I use these feature *extensively* in other environments, like Spring
and iBATIS, not to mention our old buddy Tiles.

The cool thing about extends is that it lets you set defaults and then
"program by difference". If most of your ActionMappings using similar
settings, you can set a base element with your defaults, and extend
from that base. Then, your elements are not relentlessly saying the
same things over and over, and the intelligence of your mappings (what
makes them different) can shine through. You can see the forest again.

Extends makes using XML elements much more like object-orientated
programming. You can setup a base element, and then only specify the
behavior that changes.

:) Kudos to Hubert Rabago for taking the lead on implementing extends.  :)

> That's all I can think of off hand.  There ought to be a Wiki page
> somewhere that lists all these things, but I'm not sure if anyone has
> done that yet.

I'd suggest that changes between releases should be immortalized on a
Release Notes page, like the very cool one we have for 1.2.7:

* http://struts.apache.org/userGuide/release-notes.html

-Ted.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to