[JDEV] Jabber Client feature question: scripting

Benjamin Kahn xkahn at cybersites.com
Thu Aug 5 14:23:42 CDT 1999


	Umm... Please make sure not to follow MS's example and allow
powerful commands in the language.   I think several TYPES of commands
should be avoided:

	file reads (maybe a certain set of files can be accessed, but
that's it.)
	file creation (same)
	networking (allow contact to only certain hosts)
	process spawning or program execution (don't allow ANY!)
	

	Any more?  You should just have:

	* Conditionals 
	* Get variable/Set variable
	* certain "normal" side effects like send IM, print IM, etc.
		It might be good for most of these to have "are you sure
		you want to..."  dialog boxes.
	* flow control
	* Access functions to internal jabber client features.  :^)

	Any more?

On Thu, 5 Aug 1999, Thomas D. Charron wrote:

> Date: Thu, 05 Aug 1999 12:01:33 -0700
> From: Thomas D. Charron <tcharron at my-deja.com>
> Reply-To: jdev at jabber.org
> To: jdev at jabber.org
> Subject: Re: [JDEV] Jabber Client feature question: scripting
> 
> 
> PPPUUURRRRLL..
> 
> ;-P
> 
>   But that's just becouse of my personal preference tawrds it.. ;-P
> ---
> Thomas Charron
> 
> On Thu, 5 Aug 1999 14:37:01    Patrick McCuller wrote:
> >
> >My question is: what scripting language would you want to use to customize a
> >Jabber client?
> >
> >
> >	I'm building a scripting engine into my Jabber client (based
> >on...JabberBeans). Scripts will be called on the firing of several event
> >types, such as: message about to be sent, message sent, message received,
> >and so on.  I've build a ScriptEngine interface and a subclassable
> >BasicScriptEngine. They have a fairly simple interface:
> >
> >getLocalVariable()
> >setLocalVariable()
> >setScript()
> >getScript()
> >evaluate()
> >
> >	The intention is for third parties to build their own script interpreter
> >adapter. I have adapters for Beanshell and JPython already.  My question is:
> >what scripting languages would you want to use to customize a Jabber client?
> >The easiest to support are ones with Java interpreters, because my client is
> >written in Java, but I'm pretty handy with JNI and can always build a
> >bridge.
> >
> >
> >Patrick
> >
> >
> >_______________________________________________
> >jdev mailing list
> >jdev at jabber.org
> >http://mailman.jabber.org/listinfo/jdev
> >
> 
> 
> --== Sent via Deja.com http://www.deja.com/ ==--
> Share what you know. Learn what you don't.
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
> 

						-Ben

------------------------------------ |\      _,,,--,,_  ,) ----------
Benjamin Kahn                        /,`.-'`'   -,  ;-;;'
(212) 924 - 2220 ext 201            |,4-  ) )-,_ ) /\
ben at cybersites.com --------------- '---''(_/--' (_/-' ---------------
     If at first you don't succeed, skydiving may not be for you.







More information about the JDev mailing list