Super Spiffy Components Framework --------------------------------- HTML Components and Stuff. Spiffy. Documentation is lacking, yes. Authors ------- Wilfredo Sanchez Vega ...with Thoughful Encouragement from... Bob Ippolito Bill "ReST" Bumgarner Fix Me, Please -------------- 1.0 Showstoppers: - Nested components aren't quite working; breaks down within conditions (see 0009-condition test) and repetitions (no test yet). Gotta debug child/parent relationships. - Documentation Other issues: - Add not arg (not value) to ConditionComponent. See \*\*variables in RepetitionComponent's start() for idea. - IncludeComponent should raise if it contains anything, possibly other components as well. - Bob says that MappedAttributeMixIn may be a bad idea and that I should investigate using descriptors. - Bill wants to be able to do other-than-HTML as well here. That seems like a side project at the moment, but one possibility is to have alternate Component base classes which are similar to HTMLParser in that they have feed() and handle_* methods, but perhaps a small set of handle_* methods. Should start by having an HTMLParser ivar instead of inheriting from HTMLParser. - TemplateComponent and subclasses are the only components with subcomponents, but Component has a notion of parent and child. Perhaps Component shouldn't know about nesting, which has already polluted PassThroughComponent with noise like self._nested_count. See if we can't push that logic all up into TemplateComponent.