What's the difference between Polymorph and Spec?

偶尔善良 提交于 2019-12-07 02:02:52

问题


Recently a Spec documentation was released on-line, how it is related with the Polymorph project? It would be nice to read about the future of these projects. Is Polymorph discontinued?


回答1:


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.



来源:https://stackoverflow.com/questions/11251663/whats-the-difference-between-polymorph-and-spec

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