Home of: [Atelier "FUJIGURUMA"] >> [PageMixer hosted by SourceForge.net]

SEE "For Readers of English Version",
or Japanese version of this page

Design notes

About "design note"

The purpose of "design note" is to explain details about software design in PageMixer.

Some of them may also useful to design other software, and I am glad if they put new ideas into your head.

Table of contents

titleoverview
Concrete base class

reason to design Token class as one bound to HTML tag characteristics.

Token consuming

reason to invoke Consumer#consume method per token.

Statefull filter

reason to design Filter as statefull.

Symbol comparison

reduction of String comparison cost.

Direct renderring

reduction of intermidiate String creation cost.

Fixed object

reduction of correction of Token or Attribute handling cost.