Open JanWielemaker opened 10 years ago
I agree.
Currently at EModelWorks we're using SWISH as a way of cutting down cost of doing low volume, back office queries like banning users. We could expand the number of site functions we could implement like this if we had such a library.
Great idea, but I'd like to see the pengines lib not be quite so tightly coupled to SWISH. Should this be moved to SWISH project?
Not sure what you mean. This is a bit old topic. SWISH for ClioPatria is basically the type of thing I'd like to see. SWISH is still pretty much in flux though and frequently requires new functionality from the Pengines libs. I see few options to avoid that.
P.s. SWISH new HTML cells should allow you to program a lot more of the interface interactively in SWISH.
by 'tightly coupled', I mean 'don't forget there are other use cases for Pengines than making a remote shell for humans'.
"should this be moved to SWISH project" - I meant this bug report.
It is definitely the plan to keep Pengines first and for all for machines. That is why most of the stuff dealing with humans is in pengines_io.pl. If could also be in SWISH, but I think there are other usage scenarios and the connection between the two libraries is too tight to be in different places.
It is very simple to add a pengine server to your application. It would be nice if it was about as easy to embed a SWISH shell into your application! We should keep that in mind if we rethink the modularization of this code.