Ned Freed <Ned(_dot_)Freed(_at_)innosoft(_dot_)com> writes:
It seems to me that it should be possible for the FA to perform a simple
static analysis of the script when it's submitted. No 'require' needed.
If the script uses any extensions which the FA doesn't support, it gets
rejected.
I agree -- this seems to be to be the right way to do it.
The trick, of course, is to insure that script submission results in this
sort of analysis being done.
I might point out that the mind-set that "a user will only ever use
a single server" and "the client should know what extensions the server
supports" is likely to result in implementations which don't perform
this check.
Stan