Search the web
Sign In
New User? Sign Up
openLingo · openLingo Code Library
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
javascript in MX 2004   Message List  
Reply | Forward Message #620 of 643 |
RE: [openLingo] javascript in MX 2004

That might not always work. If you are providing a library of "classes"
which people can extend, then you should provide them as javascript and
lingo, as you can only extend a lingo Parent script in lingo, and you can
only use a javascript "class" as a prototype for another javascript "class".


It is also the case that lingo cannot contruct javascript objects and vice
versa, although given a reference either language can use objects written in
the other language. Therefore, you should provide factory methods (e.g.
createMyObject()) rather than expecting people to call new MyObject or
script("MyObject").new().

Ben

-----Original Message-----
From: Robert Tweed [mailto:robert-lists@...]
Sent: 10 March 2004 12:14
To: openLingo@yahoogroups.com
Subject: Re: [openLingo] javascript in MX 2004

----- Original Message -----
From: "David Turk" <mediasense@...>
>
> I would wait to DMX 2005 prior to considering JavaScript in a serious way.

JFTR, I think that openLingo should progress as previously forseen, but we
should make sure the flexbility is there that any module can be either Lingo
or ECMAScript, depending on which is most appropriate for the task. For
anyone who is pre-judging one as better than the other, we should bear in
mind that tests people have done on other lists have shown that ECMAScript
is actually quite a bit faster than Lingo in some circumstances. You also
have nice things like regular expressions. However, there are still a couple
of things that don't seem to be quite there yet, so basically it's like
this: given two implementations, one in ECMAScript and one in Lingo, we
simply test to see which is best and use that one.

- Robert




Yahoo! Groups Links











Wed Mar 10, 2004 1:10 pm

benstjohnston
Offline Offline
Send Email Send Email

Forward
Message #620 of 643 |
Expand Messages Author Sort by Date

Hi everyone, I have been trying out the new javascript functionality and although I expect I am not the only one, there is precious little ...
benstjohnston
Offline Send Email
Mar 9, 2004
7:35 pm

If you look at the big picture, you will find (feel) that the JavaScript in MX 2004 has a version 1 feel. I would wait to DMX 2005 prior to considering...
David Turk
mediasense_oz
Offline Send Email
Mar 9, 2004
10:17 pm

You are probably right - its just a shame that parent/child lingo is only at version 0.9 alpha! At least lingo works with the debugger though - trying to step...
Ben St Johnston
benstjohnston
Offline Send Email
Mar 10, 2004
8:15 am

... From: "David Turk" <mediasense@...> ... JFTR, I think that openLingo should progress as previously forseen, but we should make sure the...
Robert Tweed
robert_tweed
Offline Send Email
Mar 10, 2004
12:14 pm

That might not always work. If you are providing a library of "classes" which people can extend, then you should provide them as javascript and lingo, as you...
Ben St Johnston
benstjohnston
Offline Send Email
Mar 10, 2004
1:10 pm

... From: "Ben St Johnston" <ben@...> ... But that's not what we are doing. We are providing an object-oriented toolset, which people can...
Robert Tweed
robert_tweed
Offline Send Email
Mar 10, 2004
1:49 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help