| Summary: | In-memory reusable UI resource | ||
|---|---|---|---|
| Product: | [Technology] XWT | Reporter: | Yves YANG <yves.yang> |
| Component: | Core | Assignee: | Project Inbox <e4.xwt-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Yves YANG
Next step, it is possible to serialize this object (let's say binary resource) in a file, which can be loaded directly by light weight runtime without XML bundle dependency. A new type IUIPattern is added to hold the in memory data after the XML parsing. Some methods are introudcued in XWT to create such object via UI resource: XWT.loadAsPattern(URL, ...); Once IUIPattern is created, we can use it to create UI same as URL. The implementation is committed -> 20100831. "Pattern" may not be a appropriate name. It is not template either. I propose Mold. I know it is not a common software term. It is the term of Art and Sculpture. |