Namespaces for conflicting commands?
Hi there i think this might be a good topic for discussion and maybe further developement, although I've got little spare time to contribute on any coding atm, maybe this can get you started on a feature for future releases. While watching the video at http://labs.mozilla.com/2008/08/intro..., diring the command authoring segment, a big Q arose, how are you going to handle conflicting command names? Such as, maybe translate using bablefish or google-translate. My contribution idea here would be user defined namespaces that identify the author, with the following sintax, defined_namespace:command.
Here's examples on the translating command, asumming both bablefish and google have open API's and none of them are included in Ubiquity's native command (just assume xD). Here are some solutions for a user subscribing to two commands one using babelfish and one using google-translate, having the option of NOT using the namespace in one and only one of the conflicting commands:
Case 1: g:translate, b:translate
Case 2: google:translate, babel:translate
...
case N-1: translate, babel:translate
case N: google:translate, bf:translate.
Well there's that's it, go ahead and comment ^^
.:Wolf:.
Here's examples on the translating command, asumming both bablefish and google have open API's and none of them are included in Ubiquity's native command (just assume xD). Here are some solutions for a user subscribing to two commands one using babelfish and one using google-translate, having the option of NOT using the namespace in one and only one of the conflicting commands:
Case 1: g:translate, b:translate
Case 2: google:translate, babel:translate
...
case N-1: translate, babel:translate
case N: google:translate, bf:translate.
Well there's that's it, go ahead and comment ^^
.:Wolf:.
Follow this discussion to get notifications on your dashboard.
Loading Profile...



