You can override the WiringEditor to do different things, as Eric
showed me with code for
http://feedscape.appspot.com, starting with
the part that says:
"YAHOO.lang.extend(XProcEditor, WireIt.WiringEditor, { ..."
I had been thinking of writing my own getValue() function, but I
suppose you could always just write some JS to mangle the existing
structure returned by getValue().
About the SMD / YUI-RPC business... I had been looking into attempting
to write some stuff to use that with a Java Servlet backend, but I
think I was little confused by how "magic" it seemed. Think I might
try some plain-old "REST"-y plan of just having GET /pipes return a
listing of pipe workflows to load in the wiring editor, GET /pipes/
{$pipename} to load the one named $pipename specifically, POST /pipes/
{$pipename} to save it, DELETE /pipes/{$pipename} to delete it,
etc... That isn't as general -- for instance I'm not sure how my
POSTing the workflow to /run to "Run" the thing fits into that
workflow, but... it works. Earlier I had been thinking about sticking
the functionality of that "Run" button into the SMD (right now it just
posts a simple form submit)... The internet is hard.
All the switching back and forth between JSON and XML in this thing
lead me to look at
http://jsonml.org/ , and from there they had a link
to JSON-RPC (not sure if there's a relation to YUI-RPC).
-Leif