Fastest way to mock up web UI?

Ramon Leon ramon.leon at allresnet.com
Thu Mar 29 16:25:34 UTC 2007


> 
> Magritte is, for the most part, about abstracting the view of 
> an object.
> 
> 
> No.  Magritte is an abstraction of making a view of an 
> object.  It does happen to have generators defined for 
> Seaside.  It also has them defined for Morphic.  It would be 
> possible to define them for anything you wanted.

Actually, Magritte is metadata for an object, it really has nothing to do
with views at all.  The metamodel describes selectors and their
relationships to other objects, predicates for validating potential values,
constraints on fields like length, or type, datasources for potential valid
data like a state list, etc.  

Magritte is similar to pragmas except done with ordinary Smalltalk code
which allows more than just literal metadata.  Magritte metadata is
executable and can include expressions.

The metadata happens to be quite useful in generating views, but that's not
all its useful for.  It can generate db schemas, db queries, object graph
traversals, visual representations of the model, charts, graphs, anything
really.  It's just metadata, its purpose is in the eye of the developer.
Like pragmas, that metadata could be useful in a number of circumstances
unrelated to the UI.

Ramon Leon
http://onsmalltalk.com  




More information about the Squeak-dev mailing list