What's the difference between Polymorph and Spec?

喜欢而已 提交于 2019-12-05 08:13:41

Polymorph is a UI framework. Spec is a UI description framework based on literal arrays.

In other words the widgets you see on the screen come from Polymorph. A UI builder takes a Spec specification and builds those widgets: "here's a button of this size, and this is its name".

In Squeak, the same relationship exists between Morphic or MVC, and ToolBuilder.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!