Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the difference between Polymorph and Spec?

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?

like image 790
user1000565 Avatar asked Jun 28 '12 19:06

user1000565


People also ask

What is meant by polymorph?

polymorph (plural polymorphs) (biology) Any organism that shows polymorphism. (chemistry, geology) Any substance or mineral that forms different types of crystal. (transitive, fiction) The transformation of an item or creature into something different by magic.

What is polymorphism and crystallography?

polymorphism, in crystallography, the condition in which a solid chemical compound exists in more than one crystalline form; the forms differ somewhat in physical and, sometimes, chemical properties, although their solutions and vapours are identical.

What is an example of a polymorph?

Aragonite and calcite are polymorphs – both contain calcium carbonate (CaCO3) but have different internal structures. Another common polymorph is a carbon (C) – graphite (used in pencils) and diamonds are both made of pure carbon.

What is polymorph in pharma?

Polymorphism occurs when a chemical compound crystallizes with different internal structures. ICH Q6A defines polymorphism as “some new drug substances exist in different crystalline forms which differ in their physical properties.


1 Answers

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.

like image 106
Frank Shearar Avatar answered Oct 23 '22 03:10

Frank Shearar