Re: WABrush vs. WATagBrush
Johan Brichau <[email protected]>
| Newsgroups | gmane.comp.lang.smalltalk.squeak.seaside |
|---|---|
| Message-ID | <[email protected]> |
Hi Sean, I’m also not the author but I don’t understand why you say there is a ‘parallel hierarchy’. WABrush is the superclass of a WACompound and a WATagBrush. A WATagBrush always produces a single tag, while a WACompound is a composition of multiple tags. In that sense, the structure can be seen as a composite design pattern. In our app, we have several subclasses of WABrush and WACompound to implement recurring html structures. This makes it possible to simplify our rendering methods for html patterns that occur frequently throughout our app. Is this an answer to your question? cheers Johan > On 28 Aug 2018, at 14:54, Sean P. DeNigris <[email protected]> wrote: > > What is the difference? They seem to be parallel hierarchies describing > similar things, but with subtle differences e.g. WABrushes DNU #ensureID. > Thanks! > > > > ----- > Cheers, > Sean > -- > Sent from: http://forum.world.st/Seaside-General-f86180.html > _______________________________________________ > seaside mailing list > [email protected] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ seaside mailing list [email protected] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside