Netscape and ActiveState To Cooperate on Development

Wednesday May 24th, 2000

Bill Stilwell writes, "Found this over at daily - Netscape and ActiveState have announced a deal where they will cooperate on their development projects. ActiveState gets Javascript, while ActiveState will donate its Python and Perl work to the Mozilla project.

"JavaScript will join Perl and Python as supported languages in ActiveState's powerful Komodo integrated development environment. This will allow Web developers to edit, run and debug their JavaScript programs in a professional-class development tool fully oriented to the Web, while maintaining a close integration with the browser. In turn, Perl and Python will join JavaScript as programming languages in Mozilla, thereby making it easier for Open Source programmers to use the Mozilla framework, and giving Mozilla developers access to additional scripting technologies."

#7 Fantastic

by eXv <>

Wednesday May 24th, 2000 2:55 PM

You are replying to this message

This sounds great so far. I've always liked how you can use just about any language with IE and all that automation stuff, however flawed an implementation and insecure some may feel that it is.

I'm wondering how they will go about allowing multiple scripting languages for event handlers. One nice way I've seen is in Prototype:


Click on the Scripting link in the frame.

You'll notice this code looks a lot like XUL, but instead of embedding code into an attribute, they use a tag that has attributes to signify the target language:

<?xml version="1.0" ?> <!DOCTYPE Window SYSTEM "proto.dtd"> <Window Id="App1" Title="Hello World" Width="200" Height="120"> <Panel id="p1"> <Text Id="Text1" Pos="10,10,170,20"></Text> <Button Id="But1" Pos="45,45,105,30" Caption="Press Here!"> <!-- the setText is a method available for the target object, in this case a JTextField from the JFC. This method can be any method of this class or from one of the superclass of this object. See Bean notes below --> <onMouse Event="Clicked" Target="Text1" Language="BEAN"> <script>setText("Hello World") </script> </onMouse> </Button> </Panel> </Window>

He gives examples of TCL, Python, and use of JavaBeans as well on that page.