Friday, March 28, 2008

scripting thoughts

Browse currently processes its commands and converts them into RoleML. To implement scripts we can either convert them into RoleML in Browse or interpret them in the server. And to keep Browse light weight, I am in favor of doing the work in the server.

So should we then support both? Why not further simplify Browse by always passing the command to the server? This will also prevent the duplication of a lot of code.

Now some commands are likely best pre-processed by browse and are not candidates for inclusion in a script. Login comes to mind in particular. And there is no immediate need to script all the queries--scripting support can be minimal at first, so long as branches can be configured via a script. So converting over to having commands interpreted by the server can be done incrementally once the basic framework is in place.

0 Comments:

Post a Comment

<< Home