[JDEV] Jabber - Scripting Language

Emswiler, Mike MEmswiler at protrader.com
Thu Jun 7 17:17:45 CDT 2001


An additional benefit of defining a Scripting Host Interface is that a
Jabber Server could implement the Host interface as well, allowing for
Server-Side scripting (something I've been dying for ever since I first
connected to Jabber ...)

I'm still awaiting my dream of giving out mikee at myjabber.com address and
having server-side rules setup that automatically determine to which jabber
resource that gets "forwarded" (my pager, cell phone, work phone, home
phone, offline Inbox, etc.)  All based on what day, time of day, phase of
moon, etc. it is.

:)

MikeE

-----Original Message-----
From: Stephen D. Williams [mailto:sdw at lig.net]
Sent: Thursday, June 07, 2001 4:01 PM
To: jdev at jabber.org
Subject: Re: [JDEV] Jabber - Scripting Language

"Emswiler, Mike" wrote:
>
> I would suggest that Jabber take one of two approaches:
>
> 1. (the easiest) "adopt" an official language.  This should be an
existing,
> open-source, and preferably widely used language such as Python (my vote)
or
> Perl (if we want to scare people away Jabber :)
> 2. define a client scripting host interface.  This is a bit more complex,
> but far more flexible.  A binary specification for the host interface
should
> be developed, allowing anyone to write a scripting engine "plug-in"
thereby
> allowing any scripting language to be used.  A particular client (such as
> WinJab) could be used as a reference implementation for the client
scripting
> host interface.

I was thinking of adding Python/JPython to a client I was building to
provide scripting.  While I'm not a Python enthusiast, my friends have
convinced me that I will be.  Since it has great support for Java, it
makes a nice dual environment choice.

The interface idea is definitely another useful possibility.

>
> Client-scripting can really be used by the client all over the place, but
I
> think the one feature most everyone wants is the ability to add custom
> message handlers for automated or gui processing to easily extend *any*
> client and to allow people to focus on the business logic of their needs
> (client extensions) without worrying about the client itself (Inboxes,
> History, notifications, blah blah) or which client the user wishes
(WinJab,
> Gabber, etc.)

Definitely, required at some point soon.

sdw

>
> PGMillard had some good ideas on this front ... Peter ... was there ever a
> JIG or something formed or proposed for this yet?
>
> Thanks,
> MikeE
>
> -----Original Message-----
> From: Todd Bradley [mailto:TBradley at jabber.com]
> Sent: Thursday, June 07, 2001 2:26 PM
> To: 'jdev at jabber.org'
> Subject: RE: [JDEV] Jabber - Scripting Language
>
> > Has there ever been any discussion of a client side scripting
> > language for
> > Jabber?  I'm thinking of something along the lines of mIRC's scripting
> > language for the IRC protocol.
>
> That was the source of my original interest in the
> Tcl client (zABBER).  My goal was to have a client
> that had a scripting language interpreter so you
> could write scripts to do special handling of events.
> But, alas, it's not that advanced.
>
> To answer your question, I don't think there's been
> serious discussion in the past year about a single
> "official" Jabber client scripting language.  It
> would probably be impossible to get everyone to
> agree what that language should be.
>
> Todd.
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev

--
sdw at lig.net  http://sdw.st
Stephen D. Williams
43392 Wayside Cir,Ashburn,VA 20147-4622 703-724-0118W 703-995-0407Fax
Dec2000
_______________________________________________
jdev mailing list
jdev at jabber.org
http://mailman.jabber.org/listinfo/jdev



More information about the JDev mailing list