Hi keith
can you explain a bit what are the scripter?
I was thinking that with the command we could have people building
user interface for Wiki admin
but I guess that this is something different
I have uploaded a first release of a scriptingAPI for
pier.
The aim at this stage is to provide a platform for importing data and
hence some scalability testing with pier-magma.
There are three classes which implement the same API.
a) PRModelScripter - direct operations on the model
b) PRCommandScripter - operations via the command interface (logging
optional)
c) PRCommandAppScripter - as b) but run in the context of the
registered
application including logging (optional) and persistency.
For Data importing PRPierifyToPage provides an abstract class for
loading data from a target object into a pier page.
Example of use:
(PRPierifySmalltalkClass target: Object into: (PRCommandAppScripter
onKernelNamed:'pier')
So to create a persisted Pier kernel with 5000+ pages, one every 10
seconds.
Create a persisted kernel named 'Squeak' using the Magma Control
Panel
GUI. Then run.
PRPierifySmalltalkClass pace: 10.
PRPierifySmalltalkClass exampleProtoObject.
[ PRPierifySmalltalkClass exampleAllClasses ] forkAt: 15.
feedback welcome
Keith
___________________________________________________________
All new Yahoo! Mail "The new Interface is stunning in its
simplicity and ease of use." - PC Magazine
http://uk.docs.yahoo.com/nowyoucan.html
_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki